diff --git a/README.md b/README.md index 78afd9ca..a48810cc 100644 --- a/README.md +++ b/README.md @@ -35,15 +35,20 @@ Using the Koyeb Python SDK requires an API token. Complete the following steps t 1. Click the **API** tab. 1. Click **Create API token** and provide a name and description. You can use the following: Name: + ```copy sandbox-quickstart ``` + Description: + ```copy For accessing the Koyeb Python SDK to generate sandboxes ``` + 1. Click **Create** to complete token creation. Note that the token value will not be accessible later, so take note of it as needed. 1. In the terminal, set the API token to be accessible to your Python environment, replacing the placeholder with your API token: + ```bash copy export KOYEB_API_TOKEN="YOUR_API_TOKEN" ``` @@ -83,6 +88,7 @@ sandbox.delete() ``` This code does the following: + - Creates a new sandbox environment using an image of Ubuntu. - Creates a new Python file in the sandbox at `tmp/script.py` and adds a "Hello from Python" message to the file. - Sets the file as executable using `chmod +x`. @@ -111,3 +117,46 @@ The Koyeb Sandbox Python module contains functionality to take any actions neede [View the reference for the Sandbox module](./docs/sandbox.md) [View Sandboxes documentation on the Koyeb website](https://www.koyeb.com/docs/sandboxes) + +## Claim a sandbox from a service pool + +Service pools keep a set of pre-provisioned services warm so a claim is +fulfilled immediately. When no warm sandbox is available, the claim takes the +cold path and the service is provisioned on demand, `PoolClaim.claim` waits +for it to become ready either way. + +```python +import os +from koyeb import PoolClaim + +claim = PoolClaim.claim( + pool_id=os.environ["KOYEB_POOL_ID"], +) + +print(claim.service_id) # always set +print(claim.prewarmed) # True when a warm sandbox was handed out +print(claim.request_id) # idempotency key: replay the same claim with it +``` + +- The claim API is idempotent per `(pool_id, request_id)`: replaying the + same pair returns the same claim instead of consuming another service. +- `request_id` is generated once when omitted and preserved across the + SDK's internal retries. `AsyncPoolClaim` mirrors the workflow for asyncio. + +Use `Sandbox.get_from_id(id=claim.service_id)` to attach a `Sandbox` to the +claimed service and run code in it. On the cold path, `claim(wait_ready=True)` +polls the service until it is ready (`HEALTHY` or `DEGRADED`) and raises if it +reaches a terminal state (`UNHEALTHY`, `DELETING`, `DELETED`, `PAUSING`, or +`PAUSED`, or any status the SDK cannot classify — fail-closed). Claim +failures raise `SandboxClaimError`, which carries the claim's `request_id` +so the same `(pool_id, request_id)` pair can be replayed instead of +claiming a second sandbox. + +`wait_ready` accepts a `cancel` event (`threading.Event` for the sync class, +`asyncio.Event` for the async one) that stops waiting early — an already-set +event returns `False` without polling. `PoolClaim.get_claim(claim_id)` +and its async twin fetch a claim's current state by id +(`PENDING`, `FULFILLED`, `FAILED`, `RELEASED`). + +See [examples/29_pool_claim.py](./examples/29_pool_claim.py) for a complete +example. diff --git a/docs/api.md b/docs/api.md index 68d9187a..f9ef6841 100644 --- a/docs/api.md +++ b/docs/api.md @@ -71,7 +71,9 @@ This class contains various settings of the API client. :param tls_server_name: SSL/TLS Server Name Indication (SNI). Set this to the SNI value expected by the server. :param connection_pool_maxsize: Connection pool max size. None in the constructor is coerced to 100 for async and cpu_count * 5 for sync. :param proxy: Proxy URL. + :param no_proxy: Comma-separated hosts that bypass the proxy. :param proxy_headers: Proxy headers. + :param proxy_ssl_context: SSL context used only for the TLS handshake with the proxy itself, independent of the destination TLS settings. :param safe_chars_for_path_param: Safe characters for path parameter encoding. :param client_side_validation: Enable client-side validation. Default True. :param socket_options: Options to pass down to the underlying urllib3 socket. @@ -127,8 +129,10 @@ def __init__(host: Optional[str] = None, tls_server_name: Optional[str] = None, connection_pool_maxsize: Optional[int] = None, proxy: Optional[str] = None, + no_proxy: Optional[str] = None, proxy_headers: Optional[Any] = None, - safe_chars_for_path_param: str = '', + proxy_ssl_context: Optional[ssl.SSLContext] = None, + safe_chars_for_path_param: str = "", client_side_validation: bool = True, socket_options: Optional[Any] = None, datetime_format: str = "%Y-%m-%dT%H:%M:%S.%f%z", @@ -413,6 +417,63 @@ def host(value: str) -> None Fix base path. + + +#### proxy + +```python +@property +def proxy() -> Optional[str] +``` + +Proxy URL + + + +# koyeb/api.test.test\_service\_pool + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## TestServicePool Objects + +```python +class TestServicePool(unittest.TestCase) +``` + +ServicePool unit test stubs + + + +#### make\_instance + +```python +def make_instance(include_optional) -> ServicePool +``` + +Test ServicePool +include_optional is a boolean, when False only required +params are included, when True both required and +optional params are included + + + +#### testServicePool + +```python +def testServicePool() +``` + +Test ServicePool + # koyeb/api.test.test\_get\_metrics\_reply\_metric @@ -538,6 +599,52 @@ def testKgitproxyIndexingStatus() Test KgitproxyIndexingStatus + + +# koyeb/api.test.test\_persistent\_volume\_region\_usage + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## TestPersistentVolumeRegionUsage Objects + +```python +class TestPersistentVolumeRegionUsage(unittest.TestCase) +``` + +PersistentVolumeRegionUsage unit test stubs + + + +#### make\_instance + +```python +def make_instance(include_optional) -> PersistentVolumeRegionUsage +``` + +Test PersistentVolumeRegionUsage +include_optional is a boolean, when False only required +params are included, when True both required and +optional params are included + + + +#### testPersistentVolumeRegionUsage + +```python +def testPersistentVolumeRegionUsage() +``` + +Test PersistentVolumeRegionUsage + # koyeb/api.test.test\_declare\_stage\_progress\_request @@ -2512,6 +2619,52 @@ def testEgressPolicy() Test EgressPolicy + + +# koyeb/api.test.test\_create\_service\_pool + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## TestCreateServicePool Objects + +```python +class TestCreateServicePool(unittest.TestCase) +``` + +CreateServicePool unit test stubs + + + +#### make\_instance + +```python +def make_instance(include_optional) -> CreateServicePool +``` + +Test CreateServicePool +include_optional is a boolean, when False only required +params are included, when True both required and +optional params are included + + + +#### testCreateServicePool + +```python +def testCreateServicePool() +``` + +Test CreateServicePool + # koyeb/api.test.test\_desired\_deployment @@ -3313,6 +3466,52 @@ def testNotificationList() Test NotificationList + + +# koyeb/api.test.test\_update\_service\_pool\_reply + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## TestUpdateServicePoolReply Objects + +```python +class TestUpdateServicePoolReply(unittest.TestCase) +``` + +UpdateServicePoolReply unit test stubs + + + +#### make\_instance + +```python +def make_instance(include_optional) -> UpdateServicePoolReply +``` + +Test UpdateServicePoolReply +include_optional is a boolean, when False only required +params are included, when True both required and +optional params are included + + + +#### testUpdateServicePoolReply + +```python +def testUpdateServicePoolReply() +``` + +Test UpdateServicePoolReply + # koyeb/api.test.test\_user @@ -5633,6 +5832,52 @@ def testRegionalDeploymentEvent() Test RegionalDeploymentEvent + + +# koyeb/api.test.test\_mesh + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## TestMesh Objects + +```python +class TestMesh(unittest.TestCase) +``` + +Mesh unit test stubs + + + +#### make\_instance + +```python +def make_instance(include_optional) -> Mesh +``` + +Test Mesh +include_optional is a boolean, when False only required +params are included, when True both required and +optional params are included + + + +#### testMesh + +```python +def testMesh() +``` + +Test Mesh + # koyeb/api.test.test\_reset\_password\_request @@ -7580,6 +7825,52 @@ Test case for remove_organization_member Remove an organization member + + +# koyeb/api.test.test\_update\_service\_pool + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## TestUpdateServicePool Objects + +```python +class TestUpdateServicePool(unittest.TestCase) +``` + +UpdateServicePool unit test stubs + + + +#### make\_instance + +```python +def make_instance(include_optional) -> UpdateServicePool +``` + +Test UpdateServicePool +include_optional is a boolean, when False only required +params are included, when True both required and +optional params are included + + + +#### testUpdateServicePool + +```python +def testUpdateServicePool() +``` + +Test UpdateServicePool + # koyeb/api.test.test\_update\_organization\_reply @@ -7902,6 +8193,52 @@ def testCreateInstanceSnapshotRequest() Test CreateInstanceSnapshotRequest + + +# koyeb/api.test.test\_pool\_claim\_request + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## TestPoolClaimRequest Objects + +```python +class TestPoolClaimRequest(unittest.TestCase) +``` + +PoolClaimRequest unit test stubs + + + +#### make\_instance + +```python +def make_instance(include_optional) -> PoolClaimRequest +``` + +Test PoolClaimRequest +include_optional is a boolean, when False only required +params are included, when True both required and +optional params are included + + + +#### testPoolClaimRequest + +```python +def testPoolClaimRequest() +``` + +Test PoolClaimRequest + # koyeb/api.test @@ -9280,6 +9617,39 @@ def testGitSource() Test GitSource + + +# koyeb/api.test.test\_mesh\_scope + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## TestMeshScope Objects + +```python +class TestMeshScope(unittest.TestCase) +``` + +MeshScope unit test stubs + + + +#### testMeshScope + +```python +def testMeshScope() +``` + +Test MeshScope + # koyeb/api.test.test\_instance\_event @@ -9372,6 +9742,52 @@ def testDockerBuilder() Test DockerBuilder + + +# koyeb/api.test.test\_create\_service\_pool\_reply + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## TestCreateServicePoolReply Objects + +```python +class TestCreateServicePoolReply(unittest.TestCase) +``` + +CreateServicePoolReply unit test stubs + + + +#### make\_instance + +```python +def make_instance(include_optional) -> CreateServicePoolReply +``` + +Test CreateServicePoolReply +include_optional is a boolean, when False only required +params are included, when True both required and +optional params are included + + + +#### testCreateServicePoolReply + +```python +def testCreateServicePoolReply() +``` + +Test CreateServicePoolReply + # koyeb/api.test.test\_get\_region\_reply @@ -10594,6 +11010,98 @@ Test case for update_secret2 Update Secret + + +# koyeb/api.test.test\_instance\_type\_usage + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## TestInstanceTypeUsage Objects + +```python +class TestInstanceTypeUsage(unittest.TestCase) +``` + +InstanceTypeUsage unit test stubs + + + +#### make\_instance + +```python +def make_instance(include_optional) -> InstanceTypeUsage +``` + +Test InstanceTypeUsage +include_optional is a boolean, when False only required +params are included, when True both required and +optional params are included + + + +#### testInstanceTypeUsage + +```python +def testInstanceTypeUsage() +``` + +Test InstanceTypeUsage + + + +# koyeb/api.test.test\_list\_service\_pools\_reply + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## TestListServicePoolsReply Objects + +```python +class TestListServicePoolsReply(unittest.TestCase) +``` + +ListServicePoolsReply unit test stubs + + + +#### make\_instance + +```python +def make_instance(include_optional) -> ListServicePoolsReply +``` + +Test ListServicePoolsReply +include_optional is a boolean, when False only required +params are included, when True both required and +optional params are included + + + +#### testListServicePoolsReply + +```python +def testListServicePoolsReply() +``` + +Test ListServicePoolsReply + # koyeb/api.test.test\_update\_user\_settings\_request @@ -11929,6 +12437,52 @@ def testSecurityPolicies() Test SecurityPolicies + + +# koyeb/api.test.test\_instance\_snapshot\_type\_usage + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## TestInstanceSnapshotTypeUsage Objects + +```python +class TestInstanceSnapshotTypeUsage(unittest.TestCase) +``` + +InstanceSnapshotTypeUsage unit test stubs + + + +#### make\_instance + +```python +def make_instance(include_optional) -> InstanceSnapshotTypeUsage +``` + +Test InstanceSnapshotTypeUsage +include_optional is a boolean, when False only required +params are included, when True both required and +optional params are included + + + +#### testInstanceSnapshotTypeUsage + +```python +def testInstanceSnapshotTypeUsage() +``` + +Test InstanceSnapshotTypeUsage + # koyeb/api.test.test\_credentials\_api @@ -12024,6 +12578,52 @@ Test case for update_credential2 Update credential + + +# koyeb/api.test.test\_get\_service\_pool\_reply + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## TestGetServicePoolReply Objects + +```python +class TestGetServicePoolReply(unittest.TestCase) +``` + +GetServicePoolReply unit test stubs + + + +#### make\_instance + +```python +def make_instance(include_optional) -> GetServicePoolReply +``` + +Test GetServicePoolReply +include_optional is a boolean, when False only required +params are included, when True both required and +optional params are included + + + +#### testGetServicePoolReply + +```python +def testGetServicePoolReply() +``` + +Test GetServicePoolReply + # koyeb/api.test.test\_user\_role\_role @@ -13444,6 +14044,52 @@ def testRegionAvailability() Test RegionAvailability + + +# koyeb/api.test.test\_list\_pool\_claim\_reply + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## TestListPoolClaimReply Objects + +```python +class TestListPoolClaimReply(unittest.TestCase) +``` + +ListPoolClaimReply unit test stubs + + + +#### make\_instance + +```python +def make_instance(include_optional) -> ListPoolClaimReply +``` + +Test ListPoolClaimReply +include_optional is a boolean, when False only required +params are included, when True both required and +optional params are included + + + +#### testListPoolClaimReply + +```python +def testListPoolClaimReply() +``` + +Test ListPoolClaimReply + # koyeb/api.test.test\_login\_method\_reply @@ -15011,6 +15657,39 @@ def testInstanceAvailability() Test InstanceAvailability + + +# koyeb/api.test.test\_service\_pool\_status + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## TestServicePoolStatus Objects + +```python +class TestServicePoolStatus(unittest.TestCase) +``` + +ServicePoolStatus unit test stubs + + + +#### testServicePoolStatus + +```python +def testServicePoolStatus() +``` + +Test ServicePoolStatus + # koyeb/api.test.test\_snapshot @@ -16442,6 +17121,52 @@ def testMetricName() Test MetricName + + +# koyeb/api.test.test\_pool\_claim + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## TestPoolClaim Objects + +```python +class TestPoolClaim(unittest.TestCase) +``` + +PoolClaim unit test stubs + + + +#### make\_instance + +```python +def make_instance(include_optional) -> PoolClaim +``` + +Test PoolClaim +include_optional is a boolean, when False only required +params are included, when True both required and +optional params are included + + + +#### testPoolClaim + +```python +def testPoolClaim() +``` + +Test PoolClaim + # koyeb/api.test.test\_deployment\_scaling\_target\_requests\_per\_second @@ -16489,6 +17214,98 @@ def testDeploymentScalingTargetRequestsPerSecond() Test DeploymentScalingTargetRequestsPerSecond + + +# koyeb/api.test.test\_get\_pool\_claim\_reply + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## TestGetPoolClaimReply Objects + +```python +class TestGetPoolClaimReply(unittest.TestCase) +``` + +GetPoolClaimReply unit test stubs + + + +#### make\_instance + +```python +def make_instance(include_optional) -> GetPoolClaimReply +``` + +Test GetPoolClaimReply +include_optional is a boolean, when False only required +params are included, when True both required and +optional params are included + + + +#### testGetPoolClaimReply + +```python +def testGetPoolClaimReply() +``` + +Test GetPoolClaimReply + + + +# koyeb/api.test.test\_quota\_usage + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## TestQuotaUsage Objects + +```python +class TestQuotaUsage(unittest.TestCase) +``` + +QuotaUsage unit test stubs + + + +#### make\_instance + +```python +def make_instance(include_optional) -> QuotaUsage +``` + +Test QuotaUsage +include_optional is a boolean, when False only required +params are included, when True both required and +optional params are included + + + +#### testQuotaUsage + +```python +def testQuotaUsage() +``` + +Test QuotaUsage + # koyeb/api.test.test\_get\_organization\_reply @@ -17580,6 +18397,52 @@ def testDatabaseUsage() Test DatabaseUsage + + +# koyeb/api.test.test\_get\_organization\_quotas\_usage\_reply + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## TestGetOrganizationQuotasUsageReply Objects + +```python +class TestGetOrganizationQuotasUsageReply(unittest.TestCase) +``` + +GetOrganizationQuotasUsageReply unit test stubs + + + +#### make\_instance + +```python +def make_instance(include_optional) -> GetOrganizationQuotasUsageReply +``` + +Test GetOrganizationQuotasUsageReply +include_optional is a boolean, when False only required +params are included, when True both required and +optional params are included + + + +#### testGetOrganizationQuotasUsageReply + +```python +def testGetOrganizationQuotasUsageReply() +``` + +Test GetOrganizationQuotasUsageReply + # koyeb/api.test.test\_kgitproxy\_git\_hub\_repository @@ -18631,6 +19494,52 @@ def testKsearchService() Test KsearchService + + +# koyeb/api.test.test\_pool\_claim\_reply + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## TestPoolClaimReply Objects + +```python +class TestPoolClaimReply(unittest.TestCase) +``` + +PoolClaimReply unit test stubs + + + +#### make\_instance + +```python +def make_instance(include_optional) -> PoolClaimReply +``` + +Test PoolClaimReply +include_optional is a boolean, when False only required +params are included, when True both required and +optional params are included + + + +#### testPoolClaimReply + +```python +def testPoolClaimReply() +``` + +Test PoolClaimReply + # koyeb/api.test.test\_decline\_organization\_invitation\_reply @@ -19447,6 +20356,39 @@ def testDeactivateOrganizationReply() Test DeactivateOrganizationReply + + +# koyeb/api.test.test\_pool\_claim\_status + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## TestPoolClaimStatus Objects + +```python +class TestPoolClaimStatus(unittest.TestCase) +``` + +PoolClaimStatus unit test stubs + + + +#### testPoolClaimStatus + +```python +def testPoolClaimStatus() +``` + +Test PoolClaimStatus + # koyeb/api.test.test\_domain\_load\_balancer\_quotas @@ -20019,6 +20961,65 @@ def testCreateDomainReply() Test CreateDomainReply + + +# koyeb/api.test.test\_pool\_claims\_api + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## TestPoolClaimsApi Objects + +```python +class TestPoolClaimsApi(unittest.TestCase) +``` + +PoolClaimsApi unit test stubs + + + +#### test\_claim + +```python +def test_claim() -> None +``` + +Test case for claim + +Claim a sandbox from a service pool + + + +#### test\_get\_claim + +```python +def test_get_claim() -> None +``` + +Test case for get_claim + +Get a claim + + + +#### test\_list\_claim + +```python +def test_list_claim() -> None +``` + +Test case for list_claim + +List claims of a service pool + # koyeb/api.test.test\_accept\_organization\_invitation\_reply @@ -20635,6 +21636,75 @@ def testAppStatus() Test AppStatus + + +# koyeb/api.test.test\_service\_pools\_api + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## TestServicePoolsApi Objects + +```python +class TestServicePoolsApi(unittest.TestCase) +``` + +ServicePoolsApi unit test stubs + + + +#### test\_create\_service\_pool + +```python +def test_create_service_pool() -> None +``` + +Test case for create_service_pool + +Create a ServicePool + + + +#### test\_get\_service\_pool + +```python +def test_get_service_pool() -> None +``` + +Test case for get_service_pool + +Get a ServicePool + + + +#### test\_list\_service\_pools + +```python +def test_list_service_pools() -> None +``` + +Test case for list_service_pools + +List ServicePools + + + +#### test\_update\_service\_pool + +```python +def test_update_service_pool() -> None +``` + +Test case for update_service_pool + # koyeb/api.test.test\_persistent\_volume @@ -21223,6 +22293,37 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. + + +#### contenttype\_matches + +```python +def contenttype_matches(contenttype, maintype, subtype) +``` + +Matches the given contenttype against the given type and subtype + +**Arguments**: + +- `contenttype`: the content type to match +- `maintype`: the expected maintype +- `subtype`: the expected subtype + +**Returns**: + +`bool`: `true` when the given content type matches the given type and subtype, +regardless of the presence of mime type parameters, otherwise returns `false`. + + + +#### should\_bypass\_proxies + +```python +def should_bypass_proxies(url: str, no_proxy: str) -> bool +``` + +Return whether ``url`` matches the comma-separated ``no_proxy`` rules. + ## RESTResponse Objects @@ -23963,6 +25064,88 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] Create an instance of ListSnapshotsReply from a dict + + +# koyeb/api.models.pool\_claim + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## PoolClaim Objects + +```python +class PoolClaim(BaseModel) +``` + +PoolClaim + + + +#### to\_str + +```python +def to_str() -> str +``` + +Returns the string representation of the model using alias + + + +#### to\_json + +```python +def to_json() -> str +``` + +Returns the JSON representation of the model using alias + + + +#### from\_json + +```python +@classmethod +def from_json(cls, json_str: str) -> Optional[Self] +``` + +Create an instance of PoolClaim from a JSON string + + + +#### to\_dict + +```python +def to_dict() -> Dict[str, Any] +``` + +Return the dictionary representation of the model using alias. + +This has the following differences from calling pydantic's +`self.model_dump(by_alias=True)`: + +* `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + + + +#### from\_dict + +```python +@classmethod +def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] +``` + +Create an instance of PoolClaim from a dict + # koyeb/api.models.canny\_auth\_reply @@ -26033,6 +27216,88 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] Create an instance of Token from a dict + + +# koyeb/api.models.get\_service\_pool\_reply + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## GetServicePoolReply Objects + +```python +class GetServicePoolReply(BaseModel) +``` + +GetServicePoolReply + + + +#### to\_str + +```python +def to_str() -> str +``` + +Returns the string representation of the model using alias + + + +#### to\_json + +```python +def to_json() -> str +``` + +Returns the JSON representation of the model using alias + + + +#### from\_json + +```python +@classmethod +def from_json(cls, json_str: str) -> Optional[Self] +``` + +Create an instance of GetServicePoolReply from a JSON string + + + +#### to\_dict + +```python +def to_dict() -> Dict[str, Any] +``` + +Return the dictionary representation of the model using alias. + +This has the following differences from calling pydantic's +`self.model_dump(by_alias=True)`: + +* `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + + + +#### from\_dict + +```python +@classmethod +def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] +``` + +Create an instance of GetServicePoolReply from a dict + # koyeb/api.models.deployment\_proxy\_port @@ -26675,6 +27940,88 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] Create an instance of CreateCompose from a dict + + +# koyeb/api.models.pool\_claim\_reply + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## PoolClaimReply Objects + +```python +class PoolClaimReply(BaseModel) +``` + +PoolClaimReply + + + +#### to\_str + +```python +def to_str() -> str +``` + +Returns the string representation of the model using alias + + + +#### to\_json + +```python +def to_json() -> str +``` + +Returns the JSON representation of the model using alias + + + +#### from\_json + +```python +@classmethod +def from_json(cls, json_str: str) -> Optional[Self] +``` + +Create an instance of PoolClaimReply from a JSON string + + + +#### to\_dict + +```python +def to_dict() -> Dict[str, Any] +``` + +Return the dictionary representation of the model using alias. + +This has the following differences from calling pydantic's +`self.model_dump(by_alias=True)`: + +* `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + + + +#### from\_dict + +```python +@classmethod +def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] +``` + +Create an instance of PoolClaimReply from a dict + # koyeb/api.models.payment\_method @@ -28151,6 +29498,88 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] Create an instance of NeonPostgresDatabase from a dict + + +# koyeb/api.models.update\_service\_pool + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## UpdateServicePool Objects + +```python +class UpdateServicePool(BaseModel) +``` + +UpdateServicePool + + + +#### to\_str + +```python +def to_str() -> str +``` + +Returns the string representation of the model using alias + + + +#### to\_json + +```python +def to_json() -> str +``` + +Returns the JSON representation of the model using alias + + + +#### from\_json + +```python +@classmethod +def from_json(cls, json_str: str) -> Optional[Self] +``` + +Create an instance of UpdateServicePool from a JSON string + + + +#### to\_dict + +```python +def to_dict() -> Dict[str, Any] +``` + +Return the dictionary representation of the model using alias. + +This has the following differences from calling pydantic's +`self.model_dump(by_alias=True)`: + +* `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + + + +#### from\_dict + +```python +@classmethod +def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] +``` + +Create an instance of UpdateServicePool from a dict + # koyeb/api.models.decline\_organization\_invitation\_reply @@ -29859,6 +31288,88 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] Create an instance of UpdateUserSettingsRequest from a dict + + +# koyeb/api.models.create\_service\_pool + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## CreateServicePool Objects + +```python +class CreateServicePool(BaseModel) +``` + +CreateServicePool + + + +#### to\_str + +```python +def to_str() -> str +``` + +Returns the string representation of the model using alias + + + +#### to\_json + +```python +def to_json() -> str +``` + +Returns the JSON representation of the model using alias + + + +#### from\_json + +```python +@classmethod +def from_json(cls, json_str: str) -> Optional[Self] +``` + +Create an instance of CreateServicePool from a JSON string + + + +#### to\_dict + +```python +def to_dict() -> Dict[str, Any] +``` + +Return the dictionary representation of the model using alias. + +This has the following differences from calling pydantic's +`self.model_dump(by_alias=True)`: + +* `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + + + +#### from\_dict + +```python +@classmethod +def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] +``` + +Create an instance of CreateServicePool from a dict + # koyeb/api.models.user\_role\_role @@ -31191,6 +32702,88 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] Create an instance of DigitalOceanRegistryConfiguration from a dict + + +# koyeb/api.models.instance\_snapshot\_type\_usage + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## InstanceSnapshotTypeUsage Objects + +```python +class InstanceSnapshotTypeUsage(BaseModel) +``` + +InstanceSnapshotTypeUsage + + + +#### to\_str + +```python +def to_str() -> str +``` + +Returns the string representation of the model using alias + + + +#### to\_json + +```python +def to_json() -> str +``` + +Returns the JSON representation of the model using alias + + + +#### from\_json + +```python +@classmethod +def from_json(cls, json_str: str) -> Optional[Self] +``` + +Create an instance of InstanceSnapshotTypeUsage from a JSON string + + + +#### to\_dict + +```python +def to_dict() -> Dict[str, Any] +``` + +Return the dictionary representation of the model using alias. + +This has the following differences from calling pydantic's +`self.model_dump(by_alias=True)`: + +* `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + + + +#### from\_dict + +```python +@classmethod +def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] +``` + +Create an instance of InstanceSnapshotTypeUsage from a dict + # koyeb/api.models.list\_user\_organization\_invitations\_reply @@ -33097,6 +34690,40 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] Create an instance of LoginRequest from a dict + + +# koyeb/api.models.pool\_claim\_status + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## PoolClaimStatus Objects + +```python +class PoolClaimStatus(str, Enum) +``` + +PoolClaimStatus + + + +#### from\_json + +```python +@classmethod +def from_json(cls, json_str: str) -> Self +``` + +Create an instance of PoolClaimStatus from a JSON string + # koyeb/api.models.update\_snapshot\_request @@ -34456,6 +36083,88 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] Create an instance of GithubInstallationRequest from a dict + + +# koyeb/api.models.get\_pool\_claim\_reply + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## GetPoolClaimReply Objects + +```python +class GetPoolClaimReply(BaseModel) +``` + +GetPoolClaimReply + + + +#### to\_str + +```python +def to_str() -> str +``` + +Returns the string representation of the model using alias + + + +#### to\_json + +```python +def to_json() -> str +``` + +Returns the JSON representation of the model using alias + + + +#### from\_json + +```python +@classmethod +def from_json(cls, json_str: str) -> Optional[Self] +``` + +Create an instance of GetPoolClaimReply from a JSON string + + + +#### to\_dict + +```python +def to_dict() -> Dict[str, Any] +``` + +Return the dictionary representation of the model using alias. + +This has the following differences from calling pydantic's +`self.model_dump(by_alias=True)`: + +* `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + + + +#### from\_dict + +```python +@classmethod +def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] +``` + +Create an instance of GetPoolClaimReply from a dict + # koyeb/api.models.deployment\_scaling\_target\_average\_mem @@ -35426,6 +37135,88 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] Create an instance of PersistentVolume from a dict + + +# koyeb/api.models.list\_service\_pools\_reply + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## ListServicePoolsReply Objects + +```python +class ListServicePoolsReply(BaseModel) +``` + +ListServicePoolsReply + + + +#### to\_str + +```python +def to_str() -> str +``` + +Returns the string representation of the model using alias + + + +#### to\_json + +```python +def to_json() -> str +``` + +Returns the JSON representation of the model using alias + + + +#### from\_json + +```python +@classmethod +def from_json(cls, json_str: str) -> Optional[Self] +``` + +Create an instance of ListServicePoolsReply from a JSON string + + + +#### to\_dict + +```python +def to_dict() -> Dict[str, Any] +``` + +Return the dictionary representation of the model using alias. + +This has the following differences from calling pydantic's +`self.model_dump(by_alias=True)`: + +* `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + + + +#### from\_dict + +```python +@classmethod +def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] +``` + +Create an instance of ListServicePoolsReply from a dict + # koyeb/api.models.service\_state @@ -35672,6 +37463,88 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] Create an instance of LogEntry from a dict + + +# koyeb/api.models.mesh + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## Mesh Objects + +```python +class Mesh(BaseModel) +``` + +Mesh groups the mesh scope selector and the (optional) custom mesh name. Kept inside NetworkPolicy so scope/name and other network-policy dimensions (egress, future inbound) live together. + + + +#### to\_str + +```python +def to_str() -> str +``` + +Returns the string representation of the model using alias + + + +#### to\_json + +```python +def to_json() -> str +``` + +Returns the JSON representation of the model using alias + + + +#### from\_json + +```python +@classmethod +def from_json(cls, json_str: str) -> Optional[Self] +``` + +Create an instance of Mesh from a JSON string + + + +#### to\_dict + +```python +def to_dict() -> Dict[str, Any] +``` + +Return the dictionary representation of the model using alias. + +This has the following differences from calling pydantic's +`self.model_dump(by_alias=True)`: + +* `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + + + +#### from\_dict + +```python +@classmethod +def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] +``` + +Create an instance of Mesh from a dict + # koyeb/api.models.database\_deployment\_metadata @@ -35836,6 +37709,88 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] Create an instance of GitLabRegistryConfiguration from a dict + + +# koyeb/api.models.list\_pool\_claim\_reply + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## ListPoolClaimReply Objects + +```python +class ListPoolClaimReply(BaseModel) +``` + +ListPoolClaimReply + + + +#### to\_str + +```python +def to_str() -> str +``` + +Returns the string representation of the model using alias + + + +#### to\_json + +```python +def to_json() -> str +``` + +Returns the JSON representation of the model using alias + + + +#### from\_json + +```python +@classmethod +def from_json(cls, json_str: str) -> Optional[Self] +``` + +Create an instance of ListPoolClaimReply from a JSON string + + + +#### to\_dict + +```python +def to_dict() -> Dict[str, Any] +``` + +Return the dictionary representation of the model using alias. + +This has the following differences from calling pydantic's +`self.model_dump(by_alias=True)`: + +* `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + + + +#### from\_dict + +```python +@classmethod +def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] +``` + +Create an instance of ListPoolClaimReply from a dict + # koyeb/api.models.delete\_organization\_reply @@ -38206,6 +40161,88 @@ def from_json(cls, json_str: str) -> Self Create an instance of MetricName from a JSON string + + +# koyeb/api.models.quota\_usage + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## QuotaUsage Objects + +```python +class QuotaUsage(BaseModel) +``` + +QuotaUsage carries an organization's current resource consumption alongside the corresponding plan limits (from the caller's InternalToken.Quotas). Paused services are included in services_used but excluded from memory / instances_by_type / proxy_ports totals, matching enforcement semantics. + + + +#### to\_str + +```python +def to_str() -> str +``` + +Returns the string representation of the model using alias + + + +#### to\_json + +```python +def to_json() -> str +``` + +Returns the JSON representation of the model using alias + + + +#### from\_json + +```python +@classmethod +def from_json(cls, json_str: str) -> Optional[Self] +``` + +Create an instance of QuotaUsage from a JSON string + + + +#### to\_dict + +```python +def to_dict() -> Dict[str, Any] +``` + +Return the dictionary representation of the model using alias. + +This has the following differences from calling pydantic's +`self.model_dump(by_alias=True)`: + +* `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + + + +#### from\_dict + +```python +@classmethod +def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] +``` + +Create an instance of QuotaUsage from a dict + # koyeb/api.models.regional\_deployment @@ -38650,6 +40687,88 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] Create an instance of CreatePaymentAuthorizationReply from a dict + + +# koyeb/api.models.update\_service\_pool\_reply + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## UpdateServicePoolReply Objects + +```python +class UpdateServicePoolReply(BaseModel) +``` + +UpdateServicePoolReply + + + +#### to\_str + +```python +def to_str() -> str +``` + +Returns the string representation of the model using alias + + + +#### to\_json + +```python +def to_json() -> str +``` + +Returns the JSON representation of the model using alias + + + +#### from\_json + +```python +@classmethod +def from_json(cls, json_str: str) -> Optional[Self] +``` + +Create an instance of UpdateServicePoolReply from a JSON string + + + +#### to\_dict + +```python +def to_dict() -> Dict[str, Any] +``` + +Return the dictionary representation of the model using alias. + +This has the following differences from calling pydantic's +`self.model_dump(by_alias=True)`: + +* `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + + + +#### from\_dict + +```python +@classmethod +def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] +``` + +Create an instance of UpdateServicePoolReply from a dict + # koyeb/api.models.get\_idenfy\_token\_reply @@ -42496,6 +44615,40 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] Create an instance of DeploymentPort from a dict + + +# koyeb/api.models.mesh\_scope + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## MeshScope Objects + +```python +class MeshScope(str, Enum) +``` + +MeshScope selects which set of services can communicate over the mesh. Only meaningful when the mesh is on (i.e. DeploymentMesh is ENABLED, or AUTO and the service is eligible). UNSPECIFIED defers to the organization-level default (workspace-scoped since KOYEB-6062, legacy organizations opted back to organization scope via use_organization_level_mesh). - MESH_SCOPE_ORGANIZATION: Private communication between services in the same organization (mesh label k-). - MESH_SCOPE_WORKSPACE: Private communication between services in the same workspace/project (mesh label pr_). - MESH_SCOPE_APP: Private communication between services in the same app (mesh label app_). - MESH_SCOPE_CUSTOM: Private communication between services in the same workspace that share the same NetworkPolicy.mesh.name. Server-computed label is scoped by workspace, so the same custom name in different workspaces never collides. + + + +#### from\_json + +```python +@classmethod +def from_json(cls, json_str: str) -> Self +``` + +Create an instance of MeshScope from a JSON string + # koyeb/api.models.stream\_result\_of\_log\_entry @@ -42961,7 +45114,7 @@ Do not edit the class manually. class GoogleProtobufAny(BaseModel) ``` -GoogleProtobufAny +`Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": , "lastName": } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } @@ -43945,6 +46098,88 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] Create an instance of TriggerGitDeploymentMetadata from a dict + + +# koyeb/api.models.pool\_claim\_request + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## PoolClaimRequest Objects + +```python +class PoolClaimRequest(BaseModel) +``` + +PoolClaimRequest + + + +#### to\_str + +```python +def to_str() -> str +``` + +Returns the string representation of the model using alias + + + +#### to\_json + +```python +def to_json() -> str +``` + +Returns the JSON representation of the model using alias + + + +#### from\_json + +```python +@classmethod +def from_json(cls, json_str: str) -> Optional[Self] +``` + +Create an instance of PoolClaimRequest from a JSON string + + + +#### to\_dict + +```python +def to_dict() -> Dict[str, Any] +``` + +Return the dictionary representation of the model using alias. + +This has the following differences from calling pydantic's +`self.model_dump(by_alias=True)`: + +* `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + + + +#### from\_dict + +```python +@classmethod +def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] +``` + +Create an instance of PoolClaimRequest from a dict + # koyeb/api.models.update\_project\_reply @@ -44191,6 +46426,88 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] Create an instance of GetRegionReply from a dict + + +# koyeb/api.models.create\_service\_pool\_reply + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## CreateServicePoolReply Objects + +```python +class CreateServicePoolReply(BaseModel) +``` + +CreateServicePoolReply + + + +#### to\_str + +```python +def to_str() -> str +``` + +Returns the string representation of the model using alias + + + +#### to\_json + +```python +def to_json() -> str +``` + +Returns the JSON representation of the model using alias + + + +#### from\_json + +```python +@classmethod +def from_json(cls, json_str: str) -> Optional[Self] +``` + +Create an instance of CreateServicePoolReply from a JSON string + + + +#### to\_dict + +```python +def to_dict() -> Dict[str, Any] +``` + +Return the dictionary representation of the model using alias. + +This has the following differences from calling pydantic's +`self.model_dump(by_alias=True)`: + +* `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + + + +#### from\_dict + +```python +@classmethod +def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] +``` + +Create an instance of CreateServicePoolReply from a dict + # koyeb/api.models.autocomplete\_request @@ -46241,6 +48558,88 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] Create an instance of UpdateAppReply from a dict + + +# koyeb/api.models.persistent\_volume\_region\_usage + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## PersistentVolumeRegionUsage Objects + +```python +class PersistentVolumeRegionUsage(BaseModel) +``` + +PersistentVolumeRegionUsage + + + +#### to\_str + +```python +def to_str() -> str +``` + +Returns the string representation of the model using alias + + + +#### to\_json + +```python +def to_json() -> str +``` + +Returns the JSON representation of the model using alias + + + +#### from\_json + +```python +@classmethod +def from_json(cls, json_str: str) -> Optional[Self] +``` + +Create an instance of PersistentVolumeRegionUsage from a JSON string + + + +#### to\_dict + +```python +def to_dict() -> Dict[str, Any] +``` + +Return the dictionary representation of the model using alias. + +This has the following differences from calling pydantic's +`self.model_dump(by_alias=True)`: + +* `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + + + +#### from\_dict + +```python +@classmethod +def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] +``` + +Create an instance of PersistentVolumeRegionUsage from a dict + # koyeb/api.models.update\_organization\_reply @@ -47197,6 +49596,88 @@ def from_json(cls, json_str: str) -> Self Create an instance of DomainStatus from a JSON string + + +# koyeb/api.models.service\_pool + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## ServicePool Objects + +```python +class ServicePool(BaseModel) +``` + +ServicePool + + + +#### to\_str + +```python +def to_str() -> str +``` + +Returns the string representation of the model using alias + + + +#### to\_json + +```python +def to_json() -> str +``` + +Returns the JSON representation of the model using alias + + + +#### from\_json + +```python +@classmethod +def from_json(cls, json_str: str) -> Optional[Self] +``` + +Create an instance of ServicePool from a JSON string + + + +#### to\_dict + +```python +def to_dict() -> Dict[str, Any] +``` + +Return the dictionary representation of the model using alias. + +This has the following differences from calling pydantic's +`self.model_dump(by_alias=True)`: + +* `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + + + +#### from\_dict + +```python +@classmethod +def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] +``` + +Create an instance of ServicePool from a dict + # koyeb/api.models.next\_invoice\_reply\_line\_period @@ -47361,6 +49842,88 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] Create an instance of VerifyDockerImageReply from a dict + + +# koyeb/api.models.instance\_type\_usage + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## InstanceTypeUsage Objects + +```python +class InstanceTypeUsage(BaseModel) +``` + +InstanceTypeUsage + + + +#### to\_str + +```python +def to_str() -> str +``` + +Returns the string representation of the model using alias + + + +#### to\_json + +```python +def to_json() -> str +``` + +Returns the JSON representation of the model using alias + + + +#### from\_json + +```python +@classmethod +def from_json(cls, json_str: str) -> Optional[Self] +``` + +Create an instance of InstanceTypeUsage from a JSON string + + + +#### to\_dict + +```python +def to_dict() -> Dict[str, Any] +``` + +Return the dictionary representation of the model using alias. + +This has the following differences from calling pydantic's +`self.model_dump(by_alias=True)`: + +* `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + + + +#### from\_dict + +```python +@classmethod +def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] +``` + +Create an instance of InstanceTypeUsage from a dict + # koyeb/api.models.create\_instance\_snapshot\_reply @@ -47525,6 +50088,40 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] Create an instance of RevealSecretReply from a dict + + +# koyeb/api.models.service\_pool\_status + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## ServicePoolStatus Objects + +```python +class ServicePoolStatus(str, Enum) +``` + +ServicePoolStatus + + + +#### from\_json + +```python +@classmethod +def from_json(cls, json_str: str) -> Self +``` + +Create an instance of ServicePoolStatus from a JSON string + # koyeb/api.models.compose\_reply @@ -48653,7 +51250,7 @@ ExecCommandIO #### data\_validate\_regular\_expression ```python -@field_validator('data') +@field_validator("data", mode="before") def data_validate_regular_expression(cls, value) ``` @@ -50508,6 +53105,88 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] Create an instance of KsearchGlobalDeployment from a dict + + +# koyeb/api.models.get\_organization\_quotas\_usage\_reply + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## GetOrganizationQuotasUsageReply Objects + +```python +class GetOrganizationQuotasUsageReply(BaseModel) +``` + +GetOrganizationQuotasUsageReply + + + +#### to\_str + +```python +def to_str() -> str +``` + +Returns the string representation of the model using alias + + + +#### to\_json + +```python +def to_json() -> str +``` + +Returns the JSON representation of the model using alias + + + +#### from\_json + +```python +@classmethod +def from_json(cls, json_str: str) -> Optional[Self] +``` + +Create an instance of GetOrganizationQuotasUsageReply from a JSON string + + + +#### to\_dict + +```python +def to_dict() -> Dict[str, Any] +``` + +Return the dictionary representation of the model using alias. + +This has the following differences from calling pydantic's +`self.model_dump(by_alias=True)`: + +* `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + + + +#### from\_dict + +```python +@classmethod +def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] +``` + +Create an instance of GetOrganizationQuotasUsageReply from a dict + # koyeb/api.models.organization\_member\_status @@ -51774,12 +54453,12 @@ Do not edit the class manually. @validate_call def canny_auth( body: Dict[str, Any], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -51819,12 +54498,12 @@ Returns the result object. @validate_call def canny_auth_with_http_info( body: Dict[str, Any], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -51864,12 +54543,12 @@ Returns the result object. @validate_call def canny_auth_without_preload_content( body: Dict[str, Any], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -51909,12 +54588,12 @@ Returns the result object. @validate_call def discourse_auth( body: DiscourseAuthRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -51954,12 +54633,12 @@ Returns the result object. @validate_call def discourse_auth_with_http_info( body: DiscourseAuthRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -51999,12 +54678,12 @@ Returns the result object. @validate_call def discourse_auth_without_preload_content( body: DiscourseAuthRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -52069,12 +54748,12 @@ Do not edit the class manually. ```python @validate_call def list_datacenters( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -52112,12 +54791,12 @@ Returns the result object. ```python @validate_call def list_datacenters_with_http_info( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -52155,12 +54834,12 @@ Returns the result object. ```python @validate_call def list_datacenters_without_preload_content( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -52226,12 +54905,12 @@ Do not edit the class manually. def get_subscription( id: Annotated[StrictStr, Field(description="The id of the instance")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -52272,12 +54951,12 @@ Returns the result object. def get_subscription_with_http_info( id: Annotated[StrictStr, Field(description="The id of the instance")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -52318,12 +54997,12 @@ Returns the result object. def get_subscription_without_preload_content( id: Annotated[StrictStr, Field(description="The id of the instance")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -52390,12 +55069,12 @@ Do not edit the class manually. def get_region( id: Annotated[StrictStr, Field(description="The name of the region")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -52436,12 +55115,12 @@ Returns the result object. def get_region_with_http_info( id: Annotated[StrictStr, Field(description="The name of the region")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -52482,12 +55161,12 @@ Returns the result object. def get_region_without_preload_content( id: Annotated[StrictStr, Field(description="The name of the region")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -52528,19 +55207,21 @@ Returns the result object. def list_regions( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, id: Annotated[Optional[StrictStr], Field(description="(Optional) A filter for regions")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -52583,19 +55264,21 @@ Returns the result object. def list_regions_with_http_info( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, id: Annotated[Optional[StrictStr], Field(description="(Optional) A filter for regions")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -52638,19 +55321,21 @@ Returns the result object. def list_regions_without_preload_content( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, id: Annotated[Optional[StrictStr], Field(description="(Optional) A filter for regions")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -52719,12 +55404,12 @@ Do not edit the class manually. def get_regional_deployment( id: Annotated[StrictStr, Field(description="The id of the regional deployment")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -52767,12 +55452,12 @@ Returns the result object. def get_regional_deployment_with_http_info( id: Annotated[StrictStr, Field(description="The id of the regional deployment")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -52815,12 +55500,12 @@ Returns the result object. def get_regional_deployment_without_preload_content( id: Annotated[StrictStr, Field(description="The id of the regional deployment")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -52863,32 +55548,36 @@ Returns the result object. def list_regional_deployment_events( regional_deployment_id: Annotated[ Optional[StrictStr], - Field( - description="(Optional) Filter on regional deployment id")] = None, + Field(description="(Optional) Filter on regional deployment id"), + ] = None, types: Annotated[ Optional[List[StrictStr]], Field( description="(Optional) Filter on regional deployment event types" - )] = None, + ), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, order: Annotated[ Optional[StrictStr], Field( description= "(Optional) Sorts the list in the ascending or the descending order" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -52933,32 +55622,36 @@ Returns the result object. def list_regional_deployment_events_with_http_info( regional_deployment_id: Annotated[ Optional[StrictStr], - Field( - description="(Optional) Filter on regional deployment id")] = None, + Field(description="(Optional) Filter on regional deployment id"), + ] = None, types: Annotated[ Optional[List[StrictStr]], Field( description="(Optional) Filter on regional deployment event types" - )] = None, + ), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, order: Annotated[ Optional[StrictStr], Field( description= "(Optional) Sorts the list in the ascending or the descending order" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -53003,32 +55696,36 @@ Returns the result object. def list_regional_deployment_events_without_preload_content( regional_deployment_id: Annotated[ Optional[StrictStr], - Field( - description="(Optional) Filter on regional deployment id")] = None, + Field(description="(Optional) Filter on regional deployment id"), + ] = None, types: Annotated[ Optional[List[StrictStr]], Field( description="(Optional) Filter on regional deployment event types" - )] = None, + ), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, order: Annotated[ Optional[StrictStr], Field( description= "(Optional) Sorts the list in the ascending or the descending order" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -53076,17 +55773,23 @@ def list_regional_deployments( Field(description="(Optional) Filter on deployment id")] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, + ids: Annotated[ + Optional[List[StrictStr]], + Field(description="(Optional) Filter on regional deployment ids"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -53103,6 +55806,7 @@ Experimental: use at your own risk - `deployment_id` (`str`): (Optional) Filter on deployment id - `limit` (`str`): (Optional) The number of items to return - `offset` (`str`): (Optional) The offset in the list of item to return +- `ids` (`List[str]`): (Optional) Filter on regional deployment ids - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -53134,17 +55838,23 @@ def list_regional_deployments_with_http_info( Field(description="(Optional) Filter on deployment id")] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, + ids: Annotated[ + Optional[List[StrictStr]], + Field(description="(Optional) Filter on regional deployment ids"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -53161,6 +55871,7 @@ Experimental: use at your own risk - `deployment_id` (`str`): (Optional) Filter on deployment id - `limit` (`str`): (Optional) The number of items to return - `offset` (`str`): (Optional) The offset in the list of item to return +- `ids` (`List[str]`): (Optional) Filter on regional deployment ids - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -53192,17 +55903,23 @@ def list_regional_deployments_without_preload_content( Field(description="(Optional) Filter on deployment id")] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, + ids: Annotated[ + Optional[List[StrictStr]], + Field(description="(Optional) Filter on regional deployment ids"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -53219,6 +55936,7 @@ Experimental: use at your own risk - `deployment_id` (`str`): (Optional) Filter on deployment id - `limit` (`str`): (Optional) The number of items to return - `offset` (`str`): (Optional) The offset in the list of item to return +- `ids` (`List[str]`): (Optional) Filter on regional deployment ids - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -53279,13 +55997,14 @@ def verify_docker_image( Field( description= "(Optional) the id of the secret to use to authenticate to the registry" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -53335,13 +56054,14 @@ def verify_docker_image_with_http_info( Field( description= "(Optional) the id of the secret to use to authenticate to the registry" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -53391,13 +56111,14 @@ def verify_docker_image_without_preload_content( Field( description= "(Optional) the id of the secret to use to authenticate to the registry" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -53467,12 +56188,12 @@ Do not edit the class manually. def get_account_activities( limit: Optional[StrictStr] = None, offset: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -53514,12 +56235,12 @@ Returns the result object. def get_account_activities_with_http_info( limit: Optional[StrictStr] = None, offset: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -53561,12 +56282,12 @@ Returns the result object. def get_account_activities_without_preload_content( limit: Optional[StrictStr] = None, offset: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -53610,13 +56331,14 @@ def list_activities( offset: Optional[StrictStr] = None, types: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on object type")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + Field(description="(Optional) Filter on object type"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -53661,13 +56383,14 @@ def list_activities_with_http_info( offset: Optional[StrictStr] = None, types: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on object type")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + Field(description="(Optional) Filter on object type"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -53712,13 +56435,14 @@ def list_activities_without_preload_content( offset: Optional[StrictStr] = None, types: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on object type")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + Field(description="(Optional) Filter on object type"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -53765,12 +56489,12 @@ def list_notifications( mark_seen: Optional[StrictStr] = None, unread: Optional[StrictStr] = None, unseen: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -53820,12 +56544,12 @@ def list_notifications_with_http_info( mark_seen: Optional[StrictStr] = None, unread: Optional[StrictStr] = None, unseen: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -53875,12 +56599,12 @@ def list_notifications_without_preload_content( mark_seen: Optional[StrictStr] = None, unread: Optional[StrictStr] = None, unseen: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -53951,12 +56675,12 @@ Do not edit the class manually. @validate_call def check_coupon( code: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -53998,12 +56722,12 @@ Returns the result object. @validate_call def check_coupon_with_http_info( code: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -54045,12 +56769,12 @@ Returns the result object. @validate_call def check_coupon_without_preload_content( code: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -54092,12 +56816,12 @@ Returns the result object. @validate_call def redeem_coupon( body: RedeemCouponRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -54138,12 +56862,12 @@ Returns the result object. @validate_call def redeem_coupon_with_http_info( body: RedeemCouponRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -54185,12 +56909,12 @@ Returns the result object. @validate_call def redeem_coupon_without_preload_content( body: RedeemCouponRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -54258,12 +56982,12 @@ Do not edit the class manually. @validate_call def create_credential( credential: CreateCredential, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -54303,12 +57027,12 @@ Returns the result object. @validate_call def create_credential_with_http_info( credential: CreateCredential, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -54348,12 +57072,12 @@ Returns the result object. @validate_call def create_credential_without_preload_content( credential: CreateCredential, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -54393,12 +57117,12 @@ Returns the result object. @validate_call def delete_credential( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -54437,12 +57161,12 @@ Returns the result object. @validate_call def delete_credential_with_http_info( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -54482,12 +57206,12 @@ Returns the result object. @validate_call def delete_credential_without_preload_content( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -54527,12 +57251,12 @@ Returns the result object. @validate_call def get_credential( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -54572,12 +57296,12 @@ Returns the result object. @validate_call def get_credential_with_http_info( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -54617,12 +57341,12 @@ Returns the result object. @validate_call def get_credential_without_preload_content( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -54667,23 +57391,26 @@ def list_credentials( Field(description="(Optional) A filter for name")] = None, organization_id: Annotated[ Optional[StrictStr], - Field(description="(Optional) Filter for an organization")] = None, + Field(description="(Optional) Filter for an organization"), + ] = None, user_id: Annotated[ Optional[StrictStr], Field(description="(Optional) Filter for an user")] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -54733,23 +57460,26 @@ def list_credentials_with_http_info( Field(description="(Optional) A filter for name")] = None, organization_id: Annotated[ Optional[StrictStr], - Field(description="(Optional) Filter for an organization")] = None, + Field(description="(Optional) Filter for an organization"), + ] = None, user_id: Annotated[ Optional[StrictStr], Field(description="(Optional) Filter for an user")] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -54799,23 +57529,26 @@ def list_credentials_without_preload_content( Field(description="(Optional) A filter for name")] = None, organization_id: Annotated[ Optional[StrictStr], - Field(description="(Optional) Filter for an organization")] = None, + Field(description="(Optional) Filter for an organization"), + ] = None, user_id: Annotated[ Optional[StrictStr], Field(description="(Optional) Filter for an user")] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -54862,12 +57595,12 @@ def update_credential( id: StrictStr, credential: Credential, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -54911,12 +57644,12 @@ def update_credential_with_http_info( id: StrictStr, credential: Credential, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -54960,12 +57693,12 @@ def update_credential_without_preload_content( id: StrictStr, credential: Credential, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -55009,12 +57742,12 @@ def update_credential2( id: StrictStr, credential: Credential, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -55058,12 +57791,12 @@ def update_credential2_with_http_info( id: StrictStr, credential: Credential, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -55107,12 +57840,12 @@ def update_credential2_without_preload_content( id: StrictStr, credential: Credential, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -55180,12 +57913,12 @@ Do not edit the class manually. @validate_call def confirm_organization_action( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -55224,12 +57957,12 @@ Returns the result object. @validate_call def confirm_organization_action_with_http_info( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -55269,12 +58002,12 @@ Returns the result object. @validate_call def confirm_organization_action_without_preload_content( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -55340,12 +58073,12 @@ Do not edit the class manually. @validate_call def create_domain( domain: CreateDomain, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -55385,12 +58118,12 @@ Returns the result object. @validate_call def create_domain_with_http_info( domain: CreateDomain, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -55430,12 +58163,12 @@ Returns the result object. @validate_call def create_domain_without_preload_content( domain: CreateDomain, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -55475,12 +58208,12 @@ Returns the result object. @validate_call def delete_domain( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -55519,12 +58252,12 @@ Returns the result object. @validate_call def delete_domain_with_http_info( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -55564,12 +58297,12 @@ Returns the result object. @validate_call def delete_domain_without_preload_content( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -55609,12 +58342,12 @@ Returns the result object. @validate_call def get_domain( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -55654,12 +58387,12 @@ Returns the result object. @validate_call def get_domain_with_http_info( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -55699,12 +58432,12 @@ Returns the result object. @validate_call def get_domain_without_preload_content( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -55745,34 +58478,39 @@ Returns the result object. def list_domains( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, types: Annotated[ Optional[List[StrictStr]], Field( description= "(Optional) A filter for types - AUTOASSIGNED: Domain like -.koyeb.app" - )] = None, + ), + ] = None, statuses: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) A filter for statuses")] = None, + Field(description="(Optional) A filter for statuses"), + ] = None, app_ids: Annotated[Optional[List[StrictStr]], Field( description="(Optional) A filter for apps")] = None, name: Annotated[Optional[StrictStr], Field(description="(Optional) A filter for name")] = None, - project_id: Annotated[ - Optional[StrictStr], - Field(description="(Optional) A filter for the project ID")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ids: Annotated[ + Optional[List[StrictStr]], + Field(description="(Optional) Filter on domain ids"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -55790,7 +58528,7 @@ List Domains - `statuses` (`List[str]`): (Optional) A filter for statuses - `app_ids` (`List[str]`): (Optional) A filter for apps - `name` (`str`): (Optional) A filter for name -- `project_id` (`str`): (Optional) A filter for the project ID +- `ids` (`List[str]`): (Optional) Filter on domain ids - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -55819,34 +58557,39 @@ Returns the result object. def list_domains_with_http_info( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, types: Annotated[ Optional[List[StrictStr]], Field( description= "(Optional) A filter for types - AUTOASSIGNED: Domain like -.koyeb.app" - )] = None, + ), + ] = None, statuses: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) A filter for statuses")] = None, + Field(description="(Optional) A filter for statuses"), + ] = None, app_ids: Annotated[Optional[List[StrictStr]], Field( description="(Optional) A filter for apps")] = None, name: Annotated[Optional[StrictStr], Field(description="(Optional) A filter for name")] = None, - project_id: Annotated[ - Optional[StrictStr], - Field(description="(Optional) A filter for the project ID")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ids: Annotated[ + Optional[List[StrictStr]], + Field(description="(Optional) Filter on domain ids"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -55864,7 +58607,7 @@ List Domains - `statuses` (`List[str]`): (Optional) A filter for statuses - `app_ids` (`List[str]`): (Optional) A filter for apps - `name` (`str`): (Optional) A filter for name -- `project_id` (`str`): (Optional) A filter for the project ID +- `ids` (`List[str]`): (Optional) Filter on domain ids - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -55893,34 +58636,39 @@ Returns the result object. def list_domains_without_preload_content( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, types: Annotated[ Optional[List[StrictStr]], Field( description= "(Optional) A filter for types - AUTOASSIGNED: Domain like -.koyeb.app" - )] = None, + ), + ] = None, statuses: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) A filter for statuses")] = None, + Field(description="(Optional) A filter for statuses"), + ] = None, app_ids: Annotated[Optional[List[StrictStr]], Field( description="(Optional) A filter for apps")] = None, name: Annotated[Optional[StrictStr], Field(description="(Optional) A filter for name")] = None, - project_id: Annotated[ - Optional[StrictStr], - Field(description="(Optional) A filter for the project ID")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ids: Annotated[ + Optional[List[StrictStr]], + Field(description="(Optional) Filter on domain ids"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -55938,7 +58686,7 @@ List Domains - `statuses` (`List[str]`): (Optional) A filter for statuses - `app_ids` (`List[str]`): (Optional) A filter for apps - `name` (`str`): (Optional) A filter for name -- `project_id` (`str`): (Optional) A filter for the project ID +- `ids` (`List[str]`): (Optional) Filter on domain ids - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -55966,12 +58714,12 @@ Returns the result object. @validate_call def refresh_domain_status( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -56010,12 +58758,12 @@ Returns the result object. @validate_call def refresh_domain_status_with_http_info( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -56055,12 +58803,12 @@ Returns the result object. @validate_call def refresh_domain_status_without_preload_content( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -56104,15 +58852,16 @@ def update_domain( update_mask: Optional[StrictStr] = None, dry_run: Annotated[ Optional[StrictBool], - Field(description= - "If set, run validation and check that the domain is available." - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + Field( + description= + "If set, run validation and check that the domain is available."), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -56159,15 +58908,16 @@ def update_domain_with_http_info( update_mask: Optional[StrictStr] = None, dry_run: Annotated[ Optional[StrictBool], - Field(description= - "If set, run validation and check that the domain is available." - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + Field( + description= + "If set, run validation and check that the domain is available."), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -56214,15 +58964,16 @@ def update_domain_without_preload_content( update_mask: Optional[StrictStr] = None, dry_run: Annotated[ Optional[StrictBool], - Field(description= - "If set, run validation and check that the domain is available." - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + Field( + description= + "If set, run validation and check that the domain is available."), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -56294,94 +59045,106 @@ def query_logs( Optional[StrictStr], Field( description= - "Type of logs to retrieve, either \"build\" or \"runtime\". Defaults to \"runtime\"." - )] = None, + 'Type of logs to retrieve, either "build" or "runtime". Defaults to "runtime".' + ), + ] = None, app_id: Annotated[ Optional[StrictStr], Field( description= "(Optional) Filter on the provided app_id. At least one of app_id, service_id, deployment_id, regional_deployment_id or instance_ids must be set." - )] = None, + ), + ] = None, service_id: Annotated[ Optional[StrictStr], Field( description= "(Optional) Filter on the provided service_id. At least one of app_id, service_id, deployment_id, regional_deployment_id or instance_ids must be set." - )] = None, + ), + ] = None, deployment_id: Annotated[ Optional[StrictStr], Field( description= "(Optional) Filter on the provided deployment_id. At least one of app_id, service_id, deployment_id, regional_deployment_id or instance_ids must be set." - )] = None, + ), + ] = None, regional_deployment_id: Annotated[ Optional[StrictStr], Field( description= "(Optional) Filter on the provided regional_deployment_id. At least one of app_id, service_id, deployment_id, regional_deployment_id or instance_ids must be set." - )] = None, + ), + ] = None, instance_id: Annotated[ Optional[StrictStr], - Field(description="Deprecated, prefer using instance_ids instead." - )] = None, + Field(description="Deprecated, prefer using instance_ids instead."), + ] = None, instance_ids: Annotated[ Optional[List[StrictStr]], Field( description= "(Optional) Filter on the provided instance_ids. At least one of app_id, service_id, deployment_id, regional_deployment_id or instance_ids must be set." - )] = None, + ), + ] = None, stream: Annotated[ Optional[StrictStr], - Field(description="Deprecated, prefer using streams instead.")] = None, + Field(description="Deprecated, prefer using streams instead."), + ] = None, streams: Annotated[ Optional[List[StrictStr]], Field( description= - "(Optional) Filter on stream: either \"stdout\", \"stderr\" or \"koyeb\" (for system logs)." - )] = None, + '(Optional) Filter on stream: either "stdout", "stderr" or "koyeb" (for system logs).' + ), + ] = None, start: Annotated[ Optional[datetime], Field( description= "(Optional) Must always be before `end`. Defaults to 15 minutes ago." - )] = None, + ), + ] = None, end: Annotated[ Optional[datetime], Field(description= - "(Optional) Must always be after `start`. Defaults to now." - )] = None, + "(Optional) Must always be after `start`. Defaults to now."), + ] = None, order: Annotated[ Optional[StrictStr], - Field(description="(Optional) `asc` or `desc`. Defaults to `desc`." - )] = None, + Field(description="(Optional) `asc` or `desc`. Defaults to `desc`."), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) Defaults to 100. Maximum of 1000." - )] = None, + Field(description="(Optional) Defaults to 100. Maximum of 1000."), + ] = None, regex: Annotated[ Optional[StrictStr], Field( description= "(Optional) Apply a regex to filter logs. Can't be used with `text`." - )] = None, + ), + ] = None, text: Annotated[ Optional[StrictStr], Field( description= "(Optional) Looks for this string in logs. Can't be used with `regex`." - )] = None, + ), + ] = None, regions: Annotated[ Optional[List[StrictStr]], Field( description= - "(Optional) Filter on the provided regions (e.g. [\"fra\", \"was\"])." - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + '(Optional) Filter on the provided regions (e.g. ["fra", "was"]).' + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -56439,94 +59202,106 @@ def query_logs_with_http_info( Optional[StrictStr], Field( description= - "Type of logs to retrieve, either \"build\" or \"runtime\". Defaults to \"runtime\"." - )] = None, + 'Type of logs to retrieve, either "build" or "runtime". Defaults to "runtime".' + ), + ] = None, app_id: Annotated[ Optional[StrictStr], Field( description= "(Optional) Filter on the provided app_id. At least one of app_id, service_id, deployment_id, regional_deployment_id or instance_ids must be set." - )] = None, + ), + ] = None, service_id: Annotated[ Optional[StrictStr], Field( description= "(Optional) Filter on the provided service_id. At least one of app_id, service_id, deployment_id, regional_deployment_id or instance_ids must be set." - )] = None, + ), + ] = None, deployment_id: Annotated[ Optional[StrictStr], Field( description= "(Optional) Filter on the provided deployment_id. At least one of app_id, service_id, deployment_id, regional_deployment_id or instance_ids must be set." - )] = None, + ), + ] = None, regional_deployment_id: Annotated[ Optional[StrictStr], Field( description= "(Optional) Filter on the provided regional_deployment_id. At least one of app_id, service_id, deployment_id, regional_deployment_id or instance_ids must be set." - )] = None, + ), + ] = None, instance_id: Annotated[ Optional[StrictStr], - Field(description="Deprecated, prefer using instance_ids instead." - )] = None, + Field(description="Deprecated, prefer using instance_ids instead."), + ] = None, instance_ids: Annotated[ Optional[List[StrictStr]], Field( description= "(Optional) Filter on the provided instance_ids. At least one of app_id, service_id, deployment_id, regional_deployment_id or instance_ids must be set." - )] = None, + ), + ] = None, stream: Annotated[ Optional[StrictStr], - Field(description="Deprecated, prefer using streams instead.")] = None, + Field(description="Deprecated, prefer using streams instead."), + ] = None, streams: Annotated[ Optional[List[StrictStr]], Field( description= - "(Optional) Filter on stream: either \"stdout\", \"stderr\" or \"koyeb\" (for system logs)." - )] = None, + '(Optional) Filter on stream: either "stdout", "stderr" or "koyeb" (for system logs).' + ), + ] = None, start: Annotated[ Optional[datetime], Field( description= "(Optional) Must always be before `end`. Defaults to 15 minutes ago." - )] = None, + ), + ] = None, end: Annotated[ Optional[datetime], Field(description= - "(Optional) Must always be after `start`. Defaults to now." - )] = None, + "(Optional) Must always be after `start`. Defaults to now."), + ] = None, order: Annotated[ Optional[StrictStr], - Field(description="(Optional) `asc` or `desc`. Defaults to `desc`." - )] = None, + Field(description="(Optional) `asc` or `desc`. Defaults to `desc`."), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) Defaults to 100. Maximum of 1000." - )] = None, + Field(description="(Optional) Defaults to 100. Maximum of 1000."), + ] = None, regex: Annotated[ Optional[StrictStr], Field( description= "(Optional) Apply a regex to filter logs. Can't be used with `text`." - )] = None, + ), + ] = None, text: Annotated[ Optional[StrictStr], Field( description= "(Optional) Looks for this string in logs. Can't be used with `regex`." - )] = None, + ), + ] = None, regions: Annotated[ Optional[List[StrictStr]], Field( description= - "(Optional) Filter on the provided regions (e.g. [\"fra\", \"was\"])." - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + '(Optional) Filter on the provided regions (e.g. ["fra", "was"]).' + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -56584,94 +59359,106 @@ def query_logs_without_preload_content( Optional[StrictStr], Field( description= - "Type of logs to retrieve, either \"build\" or \"runtime\". Defaults to \"runtime\"." - )] = None, + 'Type of logs to retrieve, either "build" or "runtime". Defaults to "runtime".' + ), + ] = None, app_id: Annotated[ Optional[StrictStr], Field( description= "(Optional) Filter on the provided app_id. At least one of app_id, service_id, deployment_id, regional_deployment_id or instance_ids must be set." - )] = None, + ), + ] = None, service_id: Annotated[ Optional[StrictStr], Field( description= "(Optional) Filter on the provided service_id. At least one of app_id, service_id, deployment_id, regional_deployment_id or instance_ids must be set." - )] = None, + ), + ] = None, deployment_id: Annotated[ Optional[StrictStr], Field( description= "(Optional) Filter on the provided deployment_id. At least one of app_id, service_id, deployment_id, regional_deployment_id or instance_ids must be set." - )] = None, + ), + ] = None, regional_deployment_id: Annotated[ Optional[StrictStr], Field( description= "(Optional) Filter on the provided regional_deployment_id. At least one of app_id, service_id, deployment_id, regional_deployment_id or instance_ids must be set." - )] = None, + ), + ] = None, instance_id: Annotated[ Optional[StrictStr], - Field(description="Deprecated, prefer using instance_ids instead." - )] = None, + Field(description="Deprecated, prefer using instance_ids instead."), + ] = None, instance_ids: Annotated[ Optional[List[StrictStr]], Field( description= "(Optional) Filter on the provided instance_ids. At least one of app_id, service_id, deployment_id, regional_deployment_id or instance_ids must be set." - )] = None, + ), + ] = None, stream: Annotated[ Optional[StrictStr], - Field(description="Deprecated, prefer using streams instead.")] = None, + Field(description="Deprecated, prefer using streams instead."), + ] = None, streams: Annotated[ Optional[List[StrictStr]], Field( description= - "(Optional) Filter on stream: either \"stdout\", \"stderr\" or \"koyeb\" (for system logs)." - )] = None, + '(Optional) Filter on stream: either "stdout", "stderr" or "koyeb" (for system logs).' + ), + ] = None, start: Annotated[ Optional[datetime], Field( description= "(Optional) Must always be before `end`. Defaults to 15 minutes ago." - )] = None, + ), + ] = None, end: Annotated[ Optional[datetime], Field(description= - "(Optional) Must always be after `start`. Defaults to now." - )] = None, + "(Optional) Must always be after `start`. Defaults to now."), + ] = None, order: Annotated[ Optional[StrictStr], - Field(description="(Optional) `asc` or `desc`. Defaults to `desc`." - )] = None, + Field(description="(Optional) `asc` or `desc`. Defaults to `desc`."), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) Defaults to 100. Maximum of 1000." - )] = None, + Field(description="(Optional) Defaults to 100. Maximum of 1000."), + ] = None, regex: Annotated[ Optional[StrictStr], Field( description= "(Optional) Apply a regex to filter logs. Can't be used with `text`." - )] = None, + ), + ] = None, text: Annotated[ Optional[StrictStr], Field( description= "(Optional) Looks for this string in logs. Can't be used with `regex`." - )] = None, + ), + ] = None, regions: Annotated[ Optional[List[StrictStr]], Field( description= - "(Optional) Filter on the provided regions (e.g. [\"fra\", \"was\"])." - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + '(Optional) Filter on the provided regions (e.g. ["fra", "was"]).' + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -56729,82 +59516,94 @@ def tail_logs( Optional[StrictStr], Field( description= - "Type of logs to retrieve, either \"build\" or \"runtime\". Defaults to \"runtime\"." - )] = None, + 'Type of logs to retrieve, either "build" or "runtime". Defaults to "runtime".' + ), + ] = None, app_id: Annotated[ Optional[StrictStr], Field( description= "(Optional) Filter on the provided app_id. At least one of app_id, service_id, deployment_id, regional_deployment_id or instance_ids must be set." - )] = None, + ), + ] = None, service_id: Annotated[ Optional[StrictStr], Field( description= "(Optional) Filter on the provided service_id. At least one of app_id, service_id, deployment_id, regional_deployment_id or instance_ids must be set." - )] = None, + ), + ] = None, deployment_id: Annotated[ Optional[StrictStr], Field( description= "(Optional) Filter on the provided deployment_id. At least one of app_id, service_id, deployment_id, regional_deployment_id or instance_ids must be set." - )] = None, + ), + ] = None, regional_deployment_id: Annotated[ Optional[StrictStr], Field( description= "(Optional) Filter on the provided regional_deployment_id. At least one of app_id, service_id, deployment_id, regional_deployment_id or instance_ids must be set." - )] = None, + ), + ] = None, instance_id: Annotated[ Optional[StrictStr], - Field(description="Deprecated, prefer using instance_ids instead." - )] = None, + Field(description="Deprecated, prefer using instance_ids instead."), + ] = None, instance_ids: Annotated[ Optional[List[StrictStr]], Field( description= "(Optional) Filter on the provided instance_ids. At least one of app_id, service_id, deployment_id, regional_deployment_id or instance_ids must be set." - )] = None, + ), + ] = None, stream: Annotated[ Optional[StrictStr], - Field(description="Deprecated, prefer using streams instead.")] = None, + Field(description="Deprecated, prefer using streams instead."), + ] = None, streams: Annotated[ Optional[List[StrictStr]], Field( description= - "(Optional) Filter on stream: either \"stdout\", \"stderr\" or \"koyeb\" (for system logs)." - )] = None, + '(Optional) Filter on stream: either "stdout", "stderr" or "koyeb" (for system logs).' + ), + ] = None, start: Annotated[ Optional[datetime], - Field(description="(Optional) Defaults to 24 hours ago.")] = None, + Field(description="(Optional) Defaults to 24 hours ago."), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) Defaults to 1000. Maximum of 1000." - )] = None, + Field(description="(Optional) Defaults to 1000. Maximum of 1000."), + ] = None, regex: Annotated[ Optional[StrictStr], Field( description= "(Optional) Apply a regex to filter logs. Can't be used with `text`." - )] = None, + ), + ] = None, text: Annotated[ Optional[StrictStr], Field( description= "(Optional) Looks for this string in logs. Can't be used with `regex`." - )] = None, + ), + ] = None, regions: Annotated[ Optional[List[StrictStr]], Field( description= - "(Optional) Filter on the provided regions (e.g. [\"fra\", \"was\"])." - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + '(Optional) Filter on the provided regions (e.g. ["fra", "was"]).' + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -56860,82 +59659,94 @@ def tail_logs_with_http_info( Optional[StrictStr], Field( description= - "Type of logs to retrieve, either \"build\" or \"runtime\". Defaults to \"runtime\"." - )] = None, + 'Type of logs to retrieve, either "build" or "runtime". Defaults to "runtime".' + ), + ] = None, app_id: Annotated[ Optional[StrictStr], Field( description= "(Optional) Filter on the provided app_id. At least one of app_id, service_id, deployment_id, regional_deployment_id or instance_ids must be set." - )] = None, + ), + ] = None, service_id: Annotated[ Optional[StrictStr], Field( description= "(Optional) Filter on the provided service_id. At least one of app_id, service_id, deployment_id, regional_deployment_id or instance_ids must be set." - )] = None, + ), + ] = None, deployment_id: Annotated[ Optional[StrictStr], Field( description= "(Optional) Filter on the provided deployment_id. At least one of app_id, service_id, deployment_id, regional_deployment_id or instance_ids must be set." - )] = None, + ), + ] = None, regional_deployment_id: Annotated[ Optional[StrictStr], Field( description= "(Optional) Filter on the provided regional_deployment_id. At least one of app_id, service_id, deployment_id, regional_deployment_id or instance_ids must be set." - )] = None, + ), + ] = None, instance_id: Annotated[ Optional[StrictStr], - Field(description="Deprecated, prefer using instance_ids instead." - )] = None, + Field(description="Deprecated, prefer using instance_ids instead."), + ] = None, instance_ids: Annotated[ Optional[List[StrictStr]], Field( description= "(Optional) Filter on the provided instance_ids. At least one of app_id, service_id, deployment_id, regional_deployment_id or instance_ids must be set." - )] = None, + ), + ] = None, stream: Annotated[ Optional[StrictStr], - Field(description="Deprecated, prefer using streams instead.")] = None, + Field(description="Deprecated, prefer using streams instead."), + ] = None, streams: Annotated[ Optional[List[StrictStr]], Field( description= - "(Optional) Filter on stream: either \"stdout\", \"stderr\" or \"koyeb\" (for system logs)." - )] = None, + '(Optional) Filter on stream: either "stdout", "stderr" or "koyeb" (for system logs).' + ), + ] = None, start: Annotated[ Optional[datetime], - Field(description="(Optional) Defaults to 24 hours ago.")] = None, + Field(description="(Optional) Defaults to 24 hours ago."), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) Defaults to 1000. Maximum of 1000." - )] = None, + Field(description="(Optional) Defaults to 1000. Maximum of 1000."), + ] = None, regex: Annotated[ Optional[StrictStr], Field( description= "(Optional) Apply a regex to filter logs. Can't be used with `text`." - )] = None, + ), + ] = None, text: Annotated[ Optional[StrictStr], Field( description= "(Optional) Looks for this string in logs. Can't be used with `regex`." - )] = None, + ), + ] = None, regions: Annotated[ Optional[List[StrictStr]], Field( description= - "(Optional) Filter on the provided regions (e.g. [\"fra\", \"was\"])." - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + '(Optional) Filter on the provided regions (e.g. ["fra", "was"]).' + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -56991,82 +59802,94 @@ def tail_logs_without_preload_content( Optional[StrictStr], Field( description= - "Type of logs to retrieve, either \"build\" or \"runtime\". Defaults to \"runtime\"." - )] = None, + 'Type of logs to retrieve, either "build" or "runtime". Defaults to "runtime".' + ), + ] = None, app_id: Annotated[ Optional[StrictStr], Field( description= "(Optional) Filter on the provided app_id. At least one of app_id, service_id, deployment_id, regional_deployment_id or instance_ids must be set." - )] = None, + ), + ] = None, service_id: Annotated[ Optional[StrictStr], Field( description= "(Optional) Filter on the provided service_id. At least one of app_id, service_id, deployment_id, regional_deployment_id or instance_ids must be set." - )] = None, + ), + ] = None, deployment_id: Annotated[ Optional[StrictStr], Field( description= "(Optional) Filter on the provided deployment_id. At least one of app_id, service_id, deployment_id, regional_deployment_id or instance_ids must be set." - )] = None, + ), + ] = None, regional_deployment_id: Annotated[ Optional[StrictStr], Field( description= "(Optional) Filter on the provided regional_deployment_id. At least one of app_id, service_id, deployment_id, regional_deployment_id or instance_ids must be set." - )] = None, + ), + ] = None, instance_id: Annotated[ Optional[StrictStr], - Field(description="Deprecated, prefer using instance_ids instead." - )] = None, + Field(description="Deprecated, prefer using instance_ids instead."), + ] = None, instance_ids: Annotated[ Optional[List[StrictStr]], Field( description= "(Optional) Filter on the provided instance_ids. At least one of app_id, service_id, deployment_id, regional_deployment_id or instance_ids must be set." - )] = None, + ), + ] = None, stream: Annotated[ Optional[StrictStr], - Field(description="Deprecated, prefer using streams instead.")] = None, + Field(description="Deprecated, prefer using streams instead."), + ] = None, streams: Annotated[ Optional[List[StrictStr]], Field( description= - "(Optional) Filter on stream: either \"stdout\", \"stderr\" or \"koyeb\" (for system logs)." - )] = None, + '(Optional) Filter on stream: either "stdout", "stderr" or "koyeb" (for system logs).' + ), + ] = None, start: Annotated[ Optional[datetime], - Field(description="(Optional) Defaults to 24 hours ago.")] = None, + Field(description="(Optional) Defaults to 24 hours ago."), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) Defaults to 1000. Maximum of 1000." - )] = None, + Field(description="(Optional) Defaults to 1000. Maximum of 1000."), + ] = None, regex: Annotated[ Optional[StrictStr], Field( description= "(Optional) Apply a regex to filter logs. Can't be used with `text`." - )] = None, + ), + ] = None, text: Annotated[ Optional[StrictStr], Field( description= "(Optional) Looks for this string in logs. Can't be used with `regex`." - )] = None, + ), + ] = None, regions: Annotated[ Optional[List[StrictStr]], Field( description= - "(Optional) Filter on the provided regions (e.g. [\"fra\", \"was\"])." - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + '(Optional) Filter on the provided regions (e.g. ["fra", "was"]).' + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -57145,12 +59968,12 @@ Do not edit the class manually. @validate_call def autocomplete( body: AutocompleteRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -57192,12 +60015,12 @@ Returns the result object. @validate_call def autocomplete_with_http_info( body: AutocompleteRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -57239,12 +60062,12 @@ Returns the result object. @validate_call def autocomplete_without_preload_content( body: AutocompleteRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -57288,12 +60111,12 @@ def create_service( service: CreateService, dry_run: Annotated[Optional[StrictBool], Field(description="If set only run validation")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -57336,12 +60159,12 @@ def create_service_with_http_info( service: CreateService, dry_run: Annotated[Optional[StrictBool], Field(description="If set only run validation")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -57384,12 +60207,12 @@ def create_service_without_preload_content( service: CreateService, dry_run: Annotated[Optional[StrictBool], Field(description="If set only run validation")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -57431,12 +60254,12 @@ Returns the result object. def delete_service( id: Annotated[StrictStr, Field(description="The id of the entity to delete")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -57478,12 +60301,12 @@ Returns the result object. def delete_service_with_http_info( id: Annotated[StrictStr, Field(description="The id of the entity to delete")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -57526,12 +60349,12 @@ Returns the result object. def delete_service_without_preload_content( id: Annotated[StrictStr, Field(description="The id of the entity to delete")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -57574,12 +60397,12 @@ Returns the result object. def delete_service_scaling( id: Annotated[StrictStr, Field(description="The id of the service")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -57621,12 +60444,12 @@ Returns the result object. def delete_service_scaling_with_http_info( id: Annotated[StrictStr, Field(description="The id of the service")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -57669,12 +60492,12 @@ Returns the result object. def delete_service_scaling_without_preload_content( id: Annotated[StrictStr, Field(description="The id of the service")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -57717,12 +60540,12 @@ Returns the result object. def get_service( id: Annotated[StrictStr, Field(description="The id of the Service")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -57763,12 +60586,12 @@ Returns the result object. def get_service_with_http_info( id: Annotated[StrictStr, Field(description="The id of the Service")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -57809,12 +60632,12 @@ Returns the result object. def get_service_without_preload_content( id: Annotated[StrictStr, Field(description="The id of the Service")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -57855,12 +60678,12 @@ Returns the result object. def get_service_scaling( id: Annotated[StrictStr, Field(description="The id of the service")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -57903,12 +60726,12 @@ Returns the result object. def get_service_scaling_with_http_info( id: Annotated[StrictStr, Field(description="The id of the service")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -57951,12 +60774,12 @@ Returns the result object. def get_service_scaling_without_preload_content( id: Annotated[StrictStr, Field(description="The id of the service")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -58002,26 +60825,30 @@ def list_service_events( Field(description="(Optional) Filter on service id")] = None, types: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on service event types")] = None, + Field(description="(Optional) Filter on service event types"), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, order: Annotated[ Optional[StrictStr], Field( description= "(Optional) Sorts the list in the ascending or the descending order" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -58069,26 +60896,30 @@ def list_service_events_with_http_info( Field(description="(Optional) Filter on service id")] = None, types: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on service event types")] = None, + Field(description="(Optional) Filter on service event types"), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, order: Annotated[ Optional[StrictStr], Field( description= "(Optional) Sorts the list in the ascending or the descending order" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -58136,26 +60967,30 @@ def list_service_events_without_preload_content( Field(description="(Optional) Filter on service id")] = None, types: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on service event types")] = None, + Field(description="(Optional) Filter on service event types"), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, order: Annotated[ Optional[StrictStr], Field( description= "(Optional) Sorts the list in the ascending or the descending order" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -58203,31 +61038,36 @@ def list_services( description="(Optional) The id of the app")] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, name: Annotated[Optional[StrictStr], Field(description="(Optional) A filter for name")] = None, types: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on service types")] = None, + Field(description="(Optional) Filter on service types"), + ] = None, statuses: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on service statuses")] = None, + Field(description="(Optional) Filter on service statuses"), + ] = None, regions: Annotated[Optional[List[StrictStr]], Field( description="(Optional) Filter on regions")] = None, - project_id: Annotated[ - Optional[StrictStr], - Field(description="(Optional) A filter for the project ID")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ids: Annotated[ + Optional[List[StrictStr]], + Field(description="(Optional) Filter on service ids"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -58246,7 +61086,7 @@ List Services - `types` (`List[str]`): (Optional) Filter on service types - `statuses` (`List[str]`): (Optional) Filter on service statuses - `regions` (`List[str]`): (Optional) Filter on regions -- `project_id` (`str`): (Optional) A filter for the project ID +- `ids` (`List[str]`): (Optional) Filter on service ids - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -58278,31 +61118,36 @@ def list_services_with_http_info( description="(Optional) The id of the app")] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, name: Annotated[Optional[StrictStr], Field(description="(Optional) A filter for name")] = None, types: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on service types")] = None, + Field(description="(Optional) Filter on service types"), + ] = None, statuses: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on service statuses")] = None, + Field(description="(Optional) Filter on service statuses"), + ] = None, regions: Annotated[Optional[List[StrictStr]], Field( description="(Optional) Filter on regions")] = None, - project_id: Annotated[ - Optional[StrictStr], - Field(description="(Optional) A filter for the project ID")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ids: Annotated[ + Optional[List[StrictStr]], + Field(description="(Optional) Filter on service ids"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -58321,7 +61166,7 @@ List Services - `types` (`List[str]`): (Optional) Filter on service types - `statuses` (`List[str]`): (Optional) Filter on service statuses - `regions` (`List[str]`): (Optional) Filter on regions -- `project_id` (`str`): (Optional) A filter for the project ID +- `ids` (`List[str]`): (Optional) Filter on service ids - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -58353,31 +61198,36 @@ def list_services_without_preload_content( description="(Optional) The id of the app")] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, name: Annotated[Optional[StrictStr], Field(description="(Optional) A filter for name")] = None, types: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on service types")] = None, + Field(description="(Optional) Filter on service types"), + ] = None, statuses: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on service statuses")] = None, + Field(description="(Optional) Filter on service statuses"), + ] = None, regions: Annotated[Optional[List[StrictStr]], Field( description="(Optional) Filter on regions")] = None, - project_id: Annotated[ - Optional[StrictStr], - Field(description="(Optional) A filter for the project ID")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ids: Annotated[ + Optional[List[StrictStr]], + Field(description="(Optional) Filter on service ids"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -58396,7 +61246,7 @@ List Services - `types` (`List[str]`): (Optional) Filter on service types - `statuses` (`List[str]`): (Optional) Filter on service statuses - `regions` (`List[str]`): (Optional) Filter on regions -- `project_id` (`str`): (Optional) A filter for the project ID +- `ids` (`List[str]`): (Optional) Filter on service ids - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -58425,12 +61275,12 @@ Returns the result object. def pause_service( id: Annotated[StrictStr, Field(description="The id of the service to pause.")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -58472,12 +61322,12 @@ Returns the result object. def pause_service_with_http_info( id: Annotated[StrictStr, Field(description="The id of the service to pause.")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -58520,12 +61370,12 @@ Returns the result object. def pause_service_without_preload_content( id: Annotated[StrictStr, Field(description="The id of the service to pause.")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -58568,12 +61418,12 @@ Returns the result object. def re_deploy( id: StrictStr, info: RedeployRequestInfo, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -58615,12 +61465,12 @@ Returns the result object. def re_deploy_with_http_info( id: StrictStr, info: RedeployRequestInfo, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -58662,12 +61512,12 @@ Returns the result object. def re_deploy_without_preload_content( id: StrictStr, info: RedeployRequestInfo, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -58715,14 +61565,15 @@ def resume_service( Field( description= "If set to true, the build stage will be skipped and the image coming from the last successful build step will be used instead. The call fails if no previous successful builds happened." - )] = None, + ), + ] = None, use_cache: Optional[StrictBool] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -58771,14 +61622,15 @@ def resume_service_with_http_info( Field( description= "If set to true, the build stage will be skipped and the image coming from the last successful build step will be used instead. The call fails if no previous successful builds happened." - )] = None, + ), + ] = None, use_cache: Optional[StrictBool] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -58828,14 +61680,15 @@ def resume_service_without_preload_content( Field( description= "If set to true, the build stage will be skipped and the image coming from the last successful build step will be used instead. The call fails if no previous successful builds happened." - )] = None, + ), + ] = None, use_cache: Optional[StrictBool] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -58885,14 +61738,14 @@ def update_service( dry_run: Annotated[ Optional[StrictBool], Field(description= - "If set, run validation and check that the service exists" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + "If set, run validation and check that the service exists"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -58941,14 +61794,14 @@ def update_service_with_http_info( dry_run: Annotated[ Optional[StrictBool], Field(description= - "If set, run validation and check that the service exists" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + "If set, run validation and check that the service exists"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -58997,14 +61850,14 @@ def update_service_without_preload_content( dry_run: Annotated[ Optional[StrictBool], Field(description= - "If set, run validation and check that the service exists" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + "If set, run validation and check that the service exists"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -59053,14 +61906,14 @@ def update_service2( dry_run: Annotated[ Optional[StrictBool], Field(description= - "If set, run validation and check that the service exists" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + "If set, run validation and check that the service exists"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -59109,14 +61962,14 @@ def update_service2_with_http_info( dry_run: Annotated[ Optional[StrictBool], Field(description= - "If set, run validation and check that the service exists" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + "If set, run validation and check that the service exists"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -59165,14 +62018,14 @@ def update_service2_without_preload_content( dry_run: Annotated[ Optional[StrictBool], Field(description= - "If set, run validation and check that the service exists" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + "If set, run validation and check that the service exists"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -59217,12 +62070,12 @@ def update_service_scaling( id: Annotated[StrictStr, Field(description="The id of the service to scale")], body: UpdateServiceScalingRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -59266,12 +62119,12 @@ def update_service_scaling_with_http_info( id: Annotated[StrictStr, Field(description="The id of the service to scale")], body: UpdateServiceScalingRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -59316,12 +62169,12 @@ def update_service_scaling_without_preload_content( id: Annotated[StrictStr, Field(description="The id of the service to scale")], body: UpdateServiceScalingRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -59391,12 +62244,12 @@ Do not edit the class manually. def get_organization_summary( organization_id: Annotated[StrictStr, Field(description="Organization ID")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -59437,12 +62290,12 @@ Returns the result object. def get_organization_summary_with_http_info( organization_id: Annotated[StrictStr, Field(description="Organization ID")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -59483,12 +62336,12 @@ Returns the result object. def get_organization_summary_without_preload_content( organization_id: Annotated[StrictStr, Field(description="Organization ID")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -59554,12 +62407,12 @@ Do not edit the class manually. @validate_call def create_persistent_volume( body: CreatePersistentVolumeRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -59599,12 +62452,12 @@ Returns the result object. @validate_call def create_persistent_volume_with_http_info( body: CreatePersistentVolumeRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -59644,12 +62497,12 @@ Returns the result object. @validate_call def create_persistent_volume_without_preload_content( body: CreatePersistentVolumeRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -59689,12 +62542,12 @@ Returns the result object. @validate_call def delete_persistent_volume( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -59734,12 +62587,12 @@ Returns the result object. @validate_call def delete_persistent_volume_with_http_info( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -59779,12 +62632,12 @@ Returns the result object. @validate_call def delete_persistent_volume_without_preload_content( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -59824,12 +62677,12 @@ Returns the result object. @validate_call def get_persistent_volume( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -59869,12 +62722,12 @@ Returns the result object. @validate_call def get_persistent_volume_with_http_info( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -59914,12 +62767,12 @@ Returns the result object. @validate_call def get_persistent_volume_without_preload_content( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -59960,30 +62813,35 @@ Returns the result object. def list_persistent_volume_events( persistent_volume_id: Annotated[ Optional[StrictStr], - Field(description="(Optional) Filter on persistent volume id")] = None, + Field(description="(Optional) Filter on persistent volume id"), + ] = None, types: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on persistent volume event types" - )] = None, + Field( + description="(Optional) Filter on persistent volume event types"), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, order: Annotated[ Optional[StrictStr], Field( description= "(Optional) Sorts the list in the ascending or the descending order" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -60028,30 +62886,35 @@ Returns the result object. def list_persistent_volume_events_with_http_info( persistent_volume_id: Annotated[ Optional[StrictStr], - Field(description="(Optional) Filter on persistent volume id")] = None, + Field(description="(Optional) Filter on persistent volume id"), + ] = None, types: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on persistent volume event types" - )] = None, + Field( + description="(Optional) Filter on persistent volume event types"), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, order: Annotated[ Optional[StrictStr], Field( description= "(Optional) Sorts the list in the ascending or the descending order" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -60096,30 +62959,35 @@ Returns the result object. def list_persistent_volume_events_without_preload_content( persistent_volume_id: Annotated[ Optional[StrictStr], - Field(description="(Optional) Filter on persistent volume id")] = None, + Field(description="(Optional) Filter on persistent volume id"), + ] = None, types: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on persistent volume event types" - )] = None, + Field( + description="(Optional) Filter on persistent volume event types"), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, order: Annotated[ Optional[StrictStr], Field( description= "(Optional) Sorts the list in the ascending or the descending order" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -60164,29 +63032,33 @@ Returns the result object. def list_persistent_volumes( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, service_id: Annotated[ Optional[StrictStr], - Field(description="(Optional) A filter for the service id")] = None, + Field(description="(Optional) A filter for the service id"), + ] = None, region: Annotated[ Optional[StrictStr], Field(description="(Optional) A filter for the region")] = None, name: Annotated[ Optional[StrictStr], Field(description="(Optional) A filter for the name")] = None, - project_id: Annotated[ - Optional[StrictStr], - Field(description="(Optional) A filter for the project ID")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ids: Annotated[ + Optional[List[StrictStr]], + Field(description="(Optional) Filter on volume ids"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -60203,7 +63075,7 @@ List all PersistentVolumes - `service_id` (`str`): (Optional) A filter for the service id - `region` (`str`): (Optional) A filter for the region - `name` (`str`): (Optional) A filter for the name -- `project_id` (`str`): (Optional) A filter for the project ID +- `ids` (`List[str]`): (Optional) Filter on volume ids - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -60232,29 +63104,33 @@ Returns the result object. def list_persistent_volumes_with_http_info( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, service_id: Annotated[ Optional[StrictStr], - Field(description="(Optional) A filter for the service id")] = None, + Field(description="(Optional) A filter for the service id"), + ] = None, region: Annotated[ Optional[StrictStr], Field(description="(Optional) A filter for the region")] = None, name: Annotated[ Optional[StrictStr], Field(description="(Optional) A filter for the name")] = None, - project_id: Annotated[ - Optional[StrictStr], - Field(description="(Optional) A filter for the project ID")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ids: Annotated[ + Optional[List[StrictStr]], + Field(description="(Optional) Filter on volume ids"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -60271,7 +63147,7 @@ List all PersistentVolumes - `service_id` (`str`): (Optional) A filter for the service id - `region` (`str`): (Optional) A filter for the region - `name` (`str`): (Optional) A filter for the name -- `project_id` (`str`): (Optional) A filter for the project ID +- `ids` (`List[str]`): (Optional) Filter on volume ids - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -60300,29 +63176,33 @@ Returns the result object. def list_persistent_volumes_without_preload_content( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, service_id: Annotated[ Optional[StrictStr], - Field(description="(Optional) A filter for the service id")] = None, + Field(description="(Optional) A filter for the service id"), + ] = None, region: Annotated[ Optional[StrictStr], Field(description="(Optional) A filter for the region")] = None, name: Annotated[ Optional[StrictStr], Field(description="(Optional) A filter for the name")] = None, - project_id: Annotated[ - Optional[StrictStr], - Field(description="(Optional) A filter for the project ID")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ids: Annotated[ + Optional[List[StrictStr]], + Field(description="(Optional) Filter on volume ids"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -60339,7 +63219,7 @@ List all PersistentVolumes - `service_id` (`str`): (Optional) A filter for the service id - `region` (`str`): (Optional) A filter for the region - `name` (`str`): (Optional) A filter for the name -- `project_id` (`str`): (Optional) A filter for the project ID +- `ids` (`List[str]`): (Optional) Filter on volume ids - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -60368,12 +63248,12 @@ Returns the result object. def update_persistent_volume( id: StrictStr, body: UpdatePersistentVolumeRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -60415,12 +63295,12 @@ Returns the result object. def update_persistent_volume_with_http_info( id: StrictStr, body: UpdatePersistentVolumeRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -60462,12 +63342,12 @@ Returns the result object. def update_persistent_volume_without_preload_content( id: StrictStr, body: UpdatePersistentVolumeRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -60500,9 +63380,9 @@ in the spec for a single request. Returns the result object. - + -# koyeb/api.api.users\_api +# koyeb/api.api.pool\_claims\_api Koyeb Rest API @@ -60513,12 +63393,12 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. - + -## UsersApi Objects +## PoolClaimsApi Objects ```python -class UsersApi() +class PoolClaimsApi() ``` NOTE: This class is auto generated by OpenAPI Generator @@ -60526,33 +63406,32 @@ Ref: https://openapi-generator.tech Do not edit the class manually. - + -#### delete\_user +#### claim ```python @validate_call -def delete_user( - id: Annotated[StrictStr, - Field(description="The id of the user")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, +def claim( + body: PoolClaimRequest, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, - Field(ge=0, le=0)] = 0) -> DeleteUserReply + Field(ge=0, le=0)] = 0) -> PoolClaimReply ``` -Delete user +Claim a sandbox from a service pool **Arguments**: -- `id` (`str`): The id of the user (required) +- `body` (`PoolClaimRequest`): (required) - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -60572,33 +63451,32 @@ in the spec for a single request. Returns the result object. - + -#### delete\_user\_with\_http\_info +#### claim\_with\_http\_info ```python @validate_call -def delete_user_with_http_info( - id: Annotated[StrictStr, - Field(description="The id of the user")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, +def claim_with_http_info( + body: PoolClaimRequest, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0 -) -> ApiResponse[DeleteUserReply] +) -> ApiResponse[PoolClaimReply] ``` -Delete user +Claim a sandbox from a service pool **Arguments**: -- `id` (`str`): The id of the user (required) +- `body` (`PoolClaimRequest`): (required) - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -60618,21 +63496,20 @@ in the spec for a single request. Returns the result object. - + -#### delete\_user\_without\_preload\_content +#### claim\_without\_preload\_content ```python @validate_call -def delete_user_without_preload_content( - id: Annotated[StrictStr, - Field(description="The id of the user")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, +def claim_without_preload_content( + body: PoolClaimRequest, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -60640,11 +63517,11 @@ def delete_user_without_preload_content( Field(ge=0, le=0)] = 0) -> RESTResponseType ``` -Delete user +Claim a sandbox from a service pool **Arguments**: -- `id` (`str`): The id of the user (required) +- `body` (`PoolClaimRequest`): (required) - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -60664,33 +63541,32 @@ in the spec for a single request. Returns the result object. - + -#### delete\_user\_v2 +#### get\_claim ```python @validate_call -def delete_user_v2( - id: Annotated[StrictStr, - Field(description="The id of the user")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, +def get_claim( + claim_id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, - Field(ge=0, le=0)] = 0) -> DeleteUserReply + Field(ge=0, le=0)] = 0) -> GetPoolClaimReply ``` -V2 Delete user +Get a claim **Arguments**: -- `id` (`str`): The id of the user (required) +- `claim_id` (`str`): (required) - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -60710,33 +63586,32 @@ in the spec for a single request. Returns the result object. - + -#### delete\_user\_v2\_with\_http\_info +#### get\_claim\_with\_http\_info ```python @validate_call -def delete_user_v2_with_http_info( - id: Annotated[StrictStr, - Field(description="The id of the user")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, +def get_claim_with_http_info( + claim_id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0 -) -> ApiResponse[DeleteUserReply] +) -> ApiResponse[GetPoolClaimReply] ``` -V2 Delete user +Get a claim **Arguments**: -- `id` (`str`): The id of the user (required) +- `claim_id` (`str`): (required) - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -60756,29 +63631,483 @@ in the spec for a single request. Returns the result object. - + -#### delete\_user\_v2\_without\_preload\_content +#### get\_claim\_without\_preload\_content ```python @validate_call -def delete_user_v2_without_preload_content( +def get_claim_without_preload_content( + claim_id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, + Field(ge=0, le=0)] = 0) -> RESTResponseType +``` + +Get a claim + +**Arguments**: + +- `claim_id` (`str`): (required) +- `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one +number provided, it will be total request +timeout. It can also be a pair (tuple) of +(connection, read) timeouts. +- `_request_auth` (`dict, optional`): set to override the auth_settings for an a single +request; this effectively ignores the +authentication in the spec for a single request. +- `_content_type` (`str, Optional`): force content-type for the request. +- `_headers` (`dict, optional`): set to override the headers for a single +request; this effectively ignores the headers +in the spec for a single request. +- `_host_index` (`int, optional`): set to override the host_index for a single +request; this effectively ignores the host_index +in the spec for a single request. + +**Returns**: + +Returns the result object. + + + +#### list\_claim + +```python +@validate_call +def list_claim( + pool_id: StrictStr, + status: Optional[StrictStr] = None, + limit: Optional[StrictStr] = None, + offset: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0 +) -> ListPoolClaimReply +``` + +List claims of a service pool + +**Arguments**: + +- `pool_id` (`str`): (required) +- `status` (`str`): +- `limit` (`str`): +- `offset` (`str`): +- `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one +number provided, it will be total request +timeout. It can also be a pair (tuple) of +(connection, read) timeouts. +- `_request_auth` (`dict, optional`): set to override the auth_settings for an a single +request; this effectively ignores the +authentication in the spec for a single request. +- `_content_type` (`str, Optional`): force content-type for the request. +- `_headers` (`dict, optional`): set to override the headers for a single +request; this effectively ignores the headers +in the spec for a single request. +- `_host_index` (`int, optional`): set to override the host_index for a single +request; this effectively ignores the host_index +in the spec for a single request. + +**Returns**: + +Returns the result object. + + + +#### list\_claim\_with\_http\_info + +```python +@validate_call +def list_claim_with_http_info( + pool_id: StrictStr, + status: Optional[StrictStr] = None, + limit: Optional[StrictStr] = None, + offset: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0 +) -> ApiResponse[ListPoolClaimReply] +``` + +List claims of a service pool + +**Arguments**: + +- `pool_id` (`str`): (required) +- `status` (`str`): +- `limit` (`str`): +- `offset` (`str`): +- `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one +number provided, it will be total request +timeout. It can also be a pair (tuple) of +(connection, read) timeouts. +- `_request_auth` (`dict, optional`): set to override the auth_settings for an a single +request; this effectively ignores the +authentication in the spec for a single request. +- `_content_type` (`str, Optional`): force content-type for the request. +- `_headers` (`dict, optional`): set to override the headers for a single +request; this effectively ignores the headers +in the spec for a single request. +- `_host_index` (`int, optional`): set to override the host_index for a single +request; this effectively ignores the host_index +in the spec for a single request. + +**Returns**: + +Returns the result object. + + + +#### list\_claim\_without\_preload\_content + +```python +@validate_call +def list_claim_without_preload_content( + pool_id: StrictStr, + status: Optional[StrictStr] = None, + limit: Optional[StrictStr] = None, + offset: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, + Field(ge=0, le=0)] = 0) -> RESTResponseType +``` + +List claims of a service pool + +**Arguments**: + +- `pool_id` (`str`): (required) +- `status` (`str`): +- `limit` (`str`): +- `offset` (`str`): +- `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one +number provided, it will be total request +timeout. It can also be a pair (tuple) of +(connection, read) timeouts. +- `_request_auth` (`dict, optional`): set to override the auth_settings for an a single +request; this effectively ignores the +authentication in the spec for a single request. +- `_content_type` (`str, Optional`): force content-type for the request. +- `_headers` (`dict, optional`): set to override the headers for a single +request; this effectively ignores the headers +in the spec for a single request. +- `_host_index` (`int, optional`): set to override the host_index for a single +request; this effectively ignores the host_index +in the spec for a single request. + +**Returns**: + +Returns the result object. + + + +# koyeb/api.api.users\_api + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## UsersApi Objects + +```python +class UsersApi() +``` + +NOTE: This class is auto generated by OpenAPI Generator +Ref: https://openapi-generator.tech + +Do not edit the class manually. + + + +#### delete\_user + +```python +@validate_call +def delete_user( id: Annotated[StrictStr, Field(description="The id of the user")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, - Field(ge=0, le=0)] = 0) -> RESTResponseType + Field(ge=0, le=0)] = 0) -> DeleteUserReply ``` -V2 Delete user +Delete user + +**Arguments**: + +- `id` (`str`): The id of the user (required) +- `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one +number provided, it will be total request +timeout. It can also be a pair (tuple) of +(connection, read) timeouts. +- `_request_auth` (`dict, optional`): set to override the auth_settings for an a single +request; this effectively ignores the +authentication in the spec for a single request. +- `_content_type` (`str, Optional`): force content-type for the request. +- `_headers` (`dict, optional`): set to override the headers for a single +request; this effectively ignores the headers +in the spec for a single request. +- `_host_index` (`int, optional`): set to override the host_index for a single +request; this effectively ignores the host_index +in the spec for a single request. + +**Returns**: + +Returns the result object. + + + +#### delete\_user\_with\_http\_info + +```python +@validate_call +def delete_user_with_http_info( + id: Annotated[StrictStr, + Field(description="The id of the user")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0 +) -> ApiResponse[DeleteUserReply] +``` + +Delete user + +**Arguments**: + +- `id` (`str`): The id of the user (required) +- `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one +number provided, it will be total request +timeout. It can also be a pair (tuple) of +(connection, read) timeouts. +- `_request_auth` (`dict, optional`): set to override the auth_settings for an a single +request; this effectively ignores the +authentication in the spec for a single request. +- `_content_type` (`str, Optional`): force content-type for the request. +- `_headers` (`dict, optional`): set to override the headers for a single +request; this effectively ignores the headers +in the spec for a single request. +- `_host_index` (`int, optional`): set to override the host_index for a single +request; this effectively ignores the host_index +in the spec for a single request. + +**Returns**: + +Returns the result object. + + + +#### delete\_user\_without\_preload\_content + +```python +@validate_call +def delete_user_without_preload_content( + id: Annotated[StrictStr, + Field(description="The id of the user")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, + Field(ge=0, le=0)] = 0) -> RESTResponseType +``` + +Delete user + +**Arguments**: + +- `id` (`str`): The id of the user (required) +- `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one +number provided, it will be total request +timeout. It can also be a pair (tuple) of +(connection, read) timeouts. +- `_request_auth` (`dict, optional`): set to override the auth_settings for an a single +request; this effectively ignores the +authentication in the spec for a single request. +- `_content_type` (`str, Optional`): force content-type for the request. +- `_headers` (`dict, optional`): set to override the headers for a single +request; this effectively ignores the headers +in the spec for a single request. +- `_host_index` (`int, optional`): set to override the host_index for a single +request; this effectively ignores the host_index +in the spec for a single request. + +**Returns**: + +Returns the result object. + + + +#### delete\_user\_v2 + +```python +@validate_call +def delete_user_v2( + id: Annotated[StrictStr, + Field(description="The id of the user")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, + Field(ge=0, le=0)] = 0) -> DeleteUserReply +``` + +V2 Delete user + +**Arguments**: + +- `id` (`str`): The id of the user (required) +- `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one +number provided, it will be total request +timeout. It can also be a pair (tuple) of +(connection, read) timeouts. +- `_request_auth` (`dict, optional`): set to override the auth_settings for an a single +request; this effectively ignores the +authentication in the spec for a single request. +- `_content_type` (`str, Optional`): force content-type for the request. +- `_headers` (`dict, optional`): set to override the headers for a single +request; this effectively ignores the headers +in the spec for a single request. +- `_host_index` (`int, optional`): set to override the host_index for a single +request; this effectively ignores the host_index +in the spec for a single request. + +**Returns**: + +Returns the result object. + + + +#### delete\_user\_v2\_with\_http\_info + +```python +@validate_call +def delete_user_v2_with_http_info( + id: Annotated[StrictStr, + Field(description="The id of the user")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0 +) -> ApiResponse[DeleteUserReply] +``` + +V2 Delete user + +**Arguments**: + +- `id` (`str`): The id of the user (required) +- `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one +number provided, it will be total request +timeout. It can also be a pair (tuple) of +(connection, read) timeouts. +- `_request_auth` (`dict, optional`): set to override the auth_settings for an a single +request; this effectively ignores the +authentication in the spec for a single request. +- `_content_type` (`str, Optional`): force content-type for the request. +- `_headers` (`dict, optional`): set to override the headers for a single +request; this effectively ignores the headers +in the spec for a single request. +- `_host_index` (`int, optional`): set to override the host_index for a single +request; this effectively ignores the host_index +in the spec for a single request. + +**Returns**: + +Returns the result object. + + + +#### delete\_user\_v2\_without\_preload\_content + +```python +@validate_call +def delete_user_v2_without_preload_content( + id: Annotated[StrictStr, + Field(description="The id of the user")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, + Field(ge=0, le=0)] = 0) -> RESTResponseType +``` + +V2 Delete user **Arguments**: @@ -60836,12 +64165,12 @@ Do not edit the class manually. @validate_call def create_archive( archive: CreateArchive, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -60883,12 +64212,12 @@ Returns the result object. @validate_call def create_archive_with_http_info( archive: CreateArchive, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -60930,12 +64259,12 @@ Returns the result object. @validate_call def create_archive_without_preload_content( archive: CreateArchive, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -61007,16 +64336,18 @@ def get_metrics( Field( description= "ID of the service to query instances metrics for. Ignored if instance_id is set." - )] = None, + ), + ] = None, instance_id: Annotated[ Optional[StrictStr], - Field(description="ID of the instance to query metrics for.")] = None, + Field(description="ID of the instance to query metrics for."), + ] = None, name: Annotated[Optional[StrictStr], Field(description="Metric to query.")] = None, start: Annotated[ Optional[datetime], - Field(description="(Optional) Defaults to an hour prior to end." - )] = None, + Field(description="(Optional) Defaults to an hour prior to end."), + ] = None, end: Annotated[Optional[datetime], Field(description="(Optional) Defaults to now.")] = None, step: Annotated[ @@ -61024,13 +64355,14 @@ def get_metrics( Field( description= "(Optional) Must be a valid duration in hours (h) or minutes (m). Defaulst to 5m." - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -61079,16 +64411,18 @@ def get_metrics_with_http_info( Field( description= "ID of the service to query instances metrics for. Ignored if instance_id is set." - )] = None, + ), + ] = None, instance_id: Annotated[ Optional[StrictStr], - Field(description="ID of the instance to query metrics for.")] = None, + Field(description="ID of the instance to query metrics for."), + ] = None, name: Annotated[Optional[StrictStr], Field(description="Metric to query.")] = None, start: Annotated[ Optional[datetime], - Field(description="(Optional) Defaults to an hour prior to end." - )] = None, + Field(description="(Optional) Defaults to an hour prior to end."), + ] = None, end: Annotated[Optional[datetime], Field(description="(Optional) Defaults to now.")] = None, step: Annotated[ @@ -61096,13 +64430,14 @@ def get_metrics_with_http_info( Field( description= "(Optional) Must be a valid duration in hours (h) or minutes (m). Defaulst to 5m." - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -61151,16 +64486,18 @@ def get_metrics_without_preload_content( Field( description= "ID of the service to query instances metrics for. Ignored if instance_id is set." - )] = None, + ), + ] = None, instance_id: Annotated[ Optional[StrictStr], - Field(description="ID of the instance to query metrics for.")] = None, + Field(description="ID of the instance to query metrics for."), + ] = None, name: Annotated[Optional[StrictStr], Field(description="Metric to query.")] = None, start: Annotated[ Optional[datetime], - Field(description="(Optional) Defaults to an hour prior to end." - )] = None, + Field(description="(Optional) Defaults to an hour prior to end."), + ] = None, end: Annotated[Optional[datetime], Field(description="(Optional) Defaults to now.")] = None, step: Annotated[ @@ -61168,13 +64505,14 @@ def get_metrics_without_preload_content( Field( description= "(Optional) Must be a valid duration in hours (h) or minutes (m). Defaulst to 5m." - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -61246,12 +64584,12 @@ Do not edit the class manually. def confirm_payment_authorization( id: StrictStr, body: Dict[str, Any], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -61293,12 +64631,12 @@ Returns the result object. def confirm_payment_authorization_with_http_info( id: StrictStr, body: Dict[str, Any], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -61340,12 +64678,12 @@ Returns the result object. def confirm_payment_authorization_without_preload_content( id: StrictStr, body: Dict[str, Any], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -61386,12 +64724,12 @@ Returns the result object. @validate_call def create_payment_authorization( body: Dict[str, Any], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -61431,12 +64769,12 @@ Returns the result object. @validate_call def create_payment_authorization_with_http_info( body: Dict[str, Any], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -61476,12 +64814,12 @@ Returns the result object. @validate_call def create_payment_authorization_without_preload_content( body: Dict[str, Any], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -61521,12 +64859,12 @@ Returns the result object. @validate_call def delete_payment_method( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -61565,12 +64903,12 @@ Returns the result object. @validate_call def delete_payment_method_with_http_info( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -61610,12 +64948,12 @@ Returns the result object. @validate_call def delete_payment_method_without_preload_content( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -61655,12 +64993,12 @@ Returns the result object. @validate_call def get_payment_method( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -61700,12 +65038,12 @@ Returns the result object. @validate_call def get_payment_method_with_http_info( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -61745,12 +65083,12 @@ Returns the result object. @validate_call def get_payment_method_without_preload_content( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -61791,21 +65129,23 @@ Returns the result object. def list_payment_methods( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, statuses: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on payment method statuses" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + Field(description="(Optional) Filter on payment method statuses"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -61848,21 +65188,23 @@ Returns the result object. def list_payment_methods_with_http_info( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, statuses: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on payment method statuses" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + Field(description="(Optional) Filter on payment method statuses"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -61905,21 +65247,23 @@ Returns the result object. def list_payment_methods_without_preload_content( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, statuses: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on payment method statuses" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + Field(description="(Optional) Filter on payment method statuses"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -61990,12 +65334,12 @@ def create_stage_attempt( stage: StrictStr, attempt: StrictStr, body: CreateStageAttemptRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -62040,12 +65384,12 @@ def create_stage_attempt_with_http_info( stage: StrictStr, attempt: StrictStr, body: CreateStageAttemptRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -62091,12 +65435,12 @@ def create_stage_attempt_without_preload_content( stage: StrictStr, attempt: StrictStr, body: CreateStageAttemptRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -62142,12 +65486,12 @@ def declare_stage_progress( stage: StrictStr, attempt: StrictStr, body: DeclareStageProgressRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -62192,12 +65536,12 @@ def declare_stage_progress_with_http_info( stage: StrictStr, attempt: StrictStr, body: DeclareStageProgressRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -62243,12 +65587,12 @@ def declare_stage_progress_without_preload_content( stage: StrictStr, attempt: StrictStr, body: DeclareStageProgressRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -62295,12 +65639,12 @@ def declare_step_progress( attempt: StrictStr, step: StrictStr, body: DeclareStepProgressRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -62347,12 +65691,12 @@ def declare_step_progress_with_http_info( attempt: StrictStr, step: StrictStr, body: DeclareStepProgressRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -62400,12 +65744,12 @@ def declare_step_progress_without_preload_content( attempt: StrictStr, step: StrictStr, body: DeclareStepProgressRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -62479,12 +65823,12 @@ Do not edit the class manually. @validate_call def create_organization_invitation( body: CreateOrganizationInvitationRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -62524,12 +65868,12 @@ Returns the result object. @validate_call def create_organization_invitation_with_http_info( body: CreateOrganizationInvitationRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -62569,12 +65913,12 @@ Returns the result object. @validate_call def create_organization_invitation_without_preload_content( body: CreateOrganizationInvitationRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -62615,14 +65959,15 @@ Returns the result object. def delete_organization_invitation( id: Annotated[ StrictStr, - Field(description="The id of the organization invitation to delete" - )], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + Field( + description="The id of the organization invitation to delete"), + ], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -62662,13 +66007,14 @@ Returns the result object. def delete_organization_invitation_with_http_info( id: Annotated[ StrictStr, - Field(description="The id of the organization invitation to delete")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + Field(description="The id of the organization invitation to delete"), + ], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -62709,13 +66055,14 @@ Returns the result object. def delete_organization_invitation_without_preload_content( id: Annotated[ StrictStr, - Field(description="The id of the organization invitation to delete")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + Field(description="The id of the organization invitation to delete"), + ], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -62756,12 +66103,12 @@ Returns the result object. def get_organization_invitation( id: Annotated[StrictStr, Field(description="The id of the invitation to get")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -62802,12 +66149,12 @@ Returns the result object. def get_organization_invitation_with_http_info( id: Annotated[StrictStr, Field(description="The id of the invitation to get")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -62848,12 +66195,12 @@ Returns the result object. def get_organization_invitation_without_preload_content( id: Annotated[StrictStr, Field(description="The id of the invitation to get")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -62894,28 +66241,32 @@ Returns the result object. def list_organization_invitations( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, statuses: Annotated[ Optional[List[StrictStr]], Field( description="(Optional) Filter on organization invitation statuses" - )] = None, + ), + ] = None, user_id: Annotated[ Optional[StrictStr], Field( description= "(Optional) Filter on invitee ID. Will match both invitations sent to that user_id and invitations sent to the email of that user_id. The only valid value is the requester's user_id" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -62959,28 +66310,32 @@ Returns the result object. def list_organization_invitations_with_http_info( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, statuses: Annotated[ Optional[List[StrictStr]], Field( description="(Optional) Filter on organization invitation statuses" - )] = None, + ), + ] = None, user_id: Annotated[ Optional[StrictStr], Field( description= "(Optional) Filter on invitee ID. Will match both invitations sent to that user_id and invitations sent to the email of that user_id. The only valid value is the requester's user_id" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -63024,28 +66379,32 @@ Returns the result object. def list_organization_invitations_without_preload_content( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, statuses: Annotated[ Optional[List[StrictStr]], Field( description="(Optional) Filter on organization invitation statuses" - )] = None, + ), + ] = None, user_id: Annotated[ Optional[StrictStr], Field( description= "(Optional) Filter on invitee ID. Will match both invitations sent to that user_id and invitations sent to the email of that user_id. The only valid value is the requester's user_id" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -63089,14 +66448,15 @@ Returns the result object. def resend_organization_invitation( id: Annotated[ StrictStr, - Field(description="The id of the organization invitation to resend")], + Field(description="The id of the organization invitation to resend"), + ], body: Dict[str, Any], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -63138,14 +66498,15 @@ Returns the result object. def resend_organization_invitation_with_http_info( id: Annotated[ StrictStr, - Field(description="The id of the organization invitation to resend")], + Field(description="The id of the organization invitation to resend"), + ], body: Dict[str, Any], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -63187,14 +66548,15 @@ Returns the result object. def resend_organization_invitation_without_preload_content( id: Annotated[ StrictStr, - Field(description="The id of the organization invitation to resend")], + Field(description="The id of the organization invitation to resend"), + ], body: Dict[str, Any], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -63261,12 +66623,12 @@ Do not edit the class manually. @validate_call def list_usage( region: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -63306,12 +66668,12 @@ Returns the result object. @validate_call def list_usage_with_http_info( region: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -63351,12 +66713,12 @@ Returns the result object. @validate_call def list_usage_without_preload_content( region: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -63388,6 +66750,730 @@ in the spec for a single request. Returns the result object. + + +# koyeb/api.api.service\_pools\_api + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## ServicePoolsApi Objects + +```python +class ServicePoolsApi() +``` + +NOTE: This class is auto generated by OpenAPI Generator +Ref: https://openapi-generator.tech + +Do not edit the class manually. + + + +#### create\_service\_pool + +```python +@validate_call +def create_service_pool( + service_pool: CreateServicePool, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0 +) -> CreateServicePoolReply +``` + +Create a ServicePool + +**Arguments**: + +- `service_pool` (`CreateServicePool`): (required) +- `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one +number provided, it will be total request +timeout. It can also be a pair (tuple) of +(connection, read) timeouts. +- `_request_auth` (`dict, optional`): set to override the auth_settings for an a single +request; this effectively ignores the +authentication in the spec for a single request. +- `_content_type` (`str, Optional`): force content-type for the request. +- `_headers` (`dict, optional`): set to override the headers for a single +request; this effectively ignores the headers +in the spec for a single request. +- `_host_index` (`int, optional`): set to override the host_index for a single +request; this effectively ignores the host_index +in the spec for a single request. + +**Returns**: + +Returns the result object. + + + +#### create\_service\_pool\_with\_http\_info + +```python +@validate_call +def create_service_pool_with_http_info( + service_pool: CreateServicePool, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0 +) -> ApiResponse[CreateServicePoolReply] +``` + +Create a ServicePool + +**Arguments**: + +- `service_pool` (`CreateServicePool`): (required) +- `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one +number provided, it will be total request +timeout. It can also be a pair (tuple) of +(connection, read) timeouts. +- `_request_auth` (`dict, optional`): set to override the auth_settings for an a single +request; this effectively ignores the +authentication in the spec for a single request. +- `_content_type` (`str, Optional`): force content-type for the request. +- `_headers` (`dict, optional`): set to override the headers for a single +request; this effectively ignores the headers +in the spec for a single request. +- `_host_index` (`int, optional`): set to override the host_index for a single +request; this effectively ignores the host_index +in the spec for a single request. + +**Returns**: + +Returns the result object. + + + +#### create\_service\_pool\_without\_preload\_content + +```python +@validate_call +def create_service_pool_without_preload_content( + service_pool: CreateServicePool, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, + Field(ge=0, le=0)] = 0) -> RESTResponseType +``` + +Create a ServicePool + +**Arguments**: + +- `service_pool` (`CreateServicePool`): (required) +- `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one +number provided, it will be total request +timeout. It can also be a pair (tuple) of +(connection, read) timeouts. +- `_request_auth` (`dict, optional`): set to override the auth_settings for an a single +request; this effectively ignores the +authentication in the spec for a single request. +- `_content_type` (`str, Optional`): force content-type for the request. +- `_headers` (`dict, optional`): set to override the headers for a single +request; this effectively ignores the headers +in the spec for a single request. +- `_host_index` (`int, optional`): set to override the host_index for a single +request; this effectively ignores the host_index +in the spec for a single request. + +**Returns**: + +Returns the result object. + + + +#### delete\_service\_pool + +```python +@validate_call +def delete_service_pool( + id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0) -> object +``` + +Delete a ServicePool + +**Arguments**: + +- `id` (`str`): (required) +- `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one +number provided, it will be total request +timeout. It can also be a pair (tuple) of +(connection, read) timeouts. +- `_request_auth` (`dict, optional`): set to override the auth_settings for an a single +request; this effectively ignores the +authentication in the spec for a single request. +- `_content_type` (`str, Optional`): force content-type for the request. +- `_headers` (`dict, optional`): set to override the headers for a single +request; this effectively ignores the headers +in the spec for a single request. +- `_host_index` (`int, optional`): set to override the host_index for a single +request; this effectively ignores the host_index +in the spec for a single request. + +**Returns**: + +Returns the result object. + + + +#### delete\_service\_pool\_with\_http\_info + +```python +@validate_call +def delete_service_pool_with_http_info( + id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0 +) -> ApiResponse[object] +``` + +Delete a ServicePool + +**Arguments**: + +- `id` (`str`): (required) +- `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one +number provided, it will be total request +timeout. It can also be a pair (tuple) of +(connection, read) timeouts. +- `_request_auth` (`dict, optional`): set to override the auth_settings for an a single +request; this effectively ignores the +authentication in the spec for a single request. +- `_content_type` (`str, Optional`): force content-type for the request. +- `_headers` (`dict, optional`): set to override the headers for a single +request; this effectively ignores the headers +in the spec for a single request. +- `_host_index` (`int, optional`): set to override the host_index for a single +request; this effectively ignores the host_index +in the spec for a single request. + +**Returns**: + +Returns the result object. + + + +#### delete\_service\_pool\_without\_preload\_content + +```python +@validate_call +def delete_service_pool_without_preload_content( + id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, + Field(ge=0, le=0)] = 0) -> RESTResponseType +``` + +Delete a ServicePool + +**Arguments**: + +- `id` (`str`): (required) +- `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one +number provided, it will be total request +timeout. It can also be a pair (tuple) of +(connection, read) timeouts. +- `_request_auth` (`dict, optional`): set to override the auth_settings for an a single +request; this effectively ignores the +authentication in the spec for a single request. +- `_content_type` (`str, Optional`): force content-type for the request. +- `_headers` (`dict, optional`): set to override the headers for a single +request; this effectively ignores the headers +in the spec for a single request. +- `_host_index` (`int, optional`): set to override the host_index for a single +request; this effectively ignores the host_index +in the spec for a single request. + +**Returns**: + +Returns the result object. + + + +#### get\_service\_pool + +```python +@validate_call +def get_service_pool( + id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0 +) -> GetServicePoolReply +``` + +Get a ServicePool + +**Arguments**: + +- `id` (`str`): (required) +- `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one +number provided, it will be total request +timeout. It can also be a pair (tuple) of +(connection, read) timeouts. +- `_request_auth` (`dict, optional`): set to override the auth_settings for an a single +request; this effectively ignores the +authentication in the spec for a single request. +- `_content_type` (`str, Optional`): force content-type for the request. +- `_headers` (`dict, optional`): set to override the headers for a single +request; this effectively ignores the headers +in the spec for a single request. +- `_host_index` (`int, optional`): set to override the host_index for a single +request; this effectively ignores the host_index +in the spec for a single request. + +**Returns**: + +Returns the result object. + + + +#### get\_service\_pool\_with\_http\_info + +```python +@validate_call +def get_service_pool_with_http_info( + id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0 +) -> ApiResponse[GetServicePoolReply] +``` + +Get a ServicePool + +**Arguments**: + +- `id` (`str`): (required) +- `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one +number provided, it will be total request +timeout. It can also be a pair (tuple) of +(connection, read) timeouts. +- `_request_auth` (`dict, optional`): set to override the auth_settings for an a single +request; this effectively ignores the +authentication in the spec for a single request. +- `_content_type` (`str, Optional`): force content-type for the request. +- `_headers` (`dict, optional`): set to override the headers for a single +request; this effectively ignores the headers +in the spec for a single request. +- `_host_index` (`int, optional`): set to override the host_index for a single +request; this effectively ignores the host_index +in the spec for a single request. + +**Returns**: + +Returns the result object. + + + +#### get\_service\_pool\_without\_preload\_content + +```python +@validate_call +def get_service_pool_without_preload_content( + id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, + Field(ge=0, le=0)] = 0) -> RESTResponseType +``` + +Get a ServicePool + +**Arguments**: + +- `id` (`str`): (required) +- `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one +number provided, it will be total request +timeout. It can also be a pair (tuple) of +(connection, read) timeouts. +- `_request_auth` (`dict, optional`): set to override the auth_settings for an a single +request; this effectively ignores the +authentication in the spec for a single request. +- `_content_type` (`str, Optional`): force content-type for the request. +- `_headers` (`dict, optional`): set to override the headers for a single +request; this effectively ignores the headers +in the spec for a single request. +- `_host_index` (`int, optional`): set to override the host_index for a single +request; this effectively ignores the host_index +in the spec for a single request. + +**Returns**: + +Returns the result object. + + + +#### list\_service\_pools + +```python +@validate_call +def list_service_pools( + name: Optional[StrictStr] = None, + limit: Optional[StrictStr] = None, + offset: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0 +) -> ListServicePoolsReply +``` + +List ServicePools + +**Arguments**: + +- `name` (`str`): +- `limit` (`str`): +- `offset` (`str`): +- `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one +number provided, it will be total request +timeout. It can also be a pair (tuple) of +(connection, read) timeouts. +- `_request_auth` (`dict, optional`): set to override the auth_settings for an a single +request; this effectively ignores the +authentication in the spec for a single request. +- `_content_type` (`str, Optional`): force content-type for the request. +- `_headers` (`dict, optional`): set to override the headers for a single +request; this effectively ignores the headers +in the spec for a single request. +- `_host_index` (`int, optional`): set to override the host_index for a single +request; this effectively ignores the host_index +in the spec for a single request. + +**Returns**: + +Returns the result object. + + + +#### list\_service\_pools\_with\_http\_info + +```python +@validate_call +def list_service_pools_with_http_info( + name: Optional[StrictStr] = None, + limit: Optional[StrictStr] = None, + offset: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0 +) -> ApiResponse[ListServicePoolsReply] +``` + +List ServicePools + +**Arguments**: + +- `name` (`str`): +- `limit` (`str`): +- `offset` (`str`): +- `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one +number provided, it will be total request +timeout. It can also be a pair (tuple) of +(connection, read) timeouts. +- `_request_auth` (`dict, optional`): set to override the auth_settings for an a single +request; this effectively ignores the +authentication in the spec for a single request. +- `_content_type` (`str, Optional`): force content-type for the request. +- `_headers` (`dict, optional`): set to override the headers for a single +request; this effectively ignores the headers +in the spec for a single request. +- `_host_index` (`int, optional`): set to override the host_index for a single +request; this effectively ignores the host_index +in the spec for a single request. + +**Returns**: + +Returns the result object. + + + +#### list\_service\_pools\_without\_preload\_content + +```python +@validate_call +def list_service_pools_without_preload_content( + name: Optional[StrictStr] = None, + limit: Optional[StrictStr] = None, + offset: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, + Field(ge=0, le=0)] = 0) -> RESTResponseType +``` + +List ServicePools + +**Arguments**: + +- `name` (`str`): +- `limit` (`str`): +- `offset` (`str`): +- `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one +number provided, it will be total request +timeout. It can also be a pair (tuple) of +(connection, read) timeouts. +- `_request_auth` (`dict, optional`): set to override the auth_settings for an a single +request; this effectively ignores the +authentication in the spec for a single request. +- `_content_type` (`str, Optional`): force content-type for the request. +- `_headers` (`dict, optional`): set to override the headers for a single +request; this effectively ignores the headers +in the spec for a single request. +- `_host_index` (`int, optional`): set to override the host_index for a single +request; this effectively ignores the host_index +in the spec for a single request. + +**Returns**: + +Returns the result object. + + + +#### update\_service\_pool + +```python +@validate_call +def update_service_pool( + id: StrictStr, + service_pool: UpdateServicePool, + update_mask: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0 +) -> UpdateServicePoolReply +``` + +update_service_pool + +**Arguments**: + +- `id` (`str`): (required) +- `service_pool` (`UpdateServicePool`): (required) +- `update_mask` (`str`): +- `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one +number provided, it will be total request +timeout. It can also be a pair (tuple) of +(connection, read) timeouts. +- `_request_auth` (`dict, optional`): set to override the auth_settings for an a single +request; this effectively ignores the +authentication in the spec for a single request. +- `_content_type` (`str, Optional`): force content-type for the request. +- `_headers` (`dict, optional`): set to override the headers for a single +request; this effectively ignores the headers +in the spec for a single request. +- `_host_index` (`int, optional`): set to override the host_index for a single +request; this effectively ignores the host_index +in the spec for a single request. + +**Returns**: + +Returns the result object. + + + +#### update\_service\_pool\_with\_http\_info + +```python +@validate_call +def update_service_pool_with_http_info( + id: StrictStr, + service_pool: UpdateServicePool, + update_mask: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0 +) -> ApiResponse[UpdateServicePoolReply] +``` + +update_service_pool + +**Arguments**: + +- `id` (`str`): (required) +- `service_pool` (`UpdateServicePool`): (required) +- `update_mask` (`str`): +- `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one +number provided, it will be total request +timeout. It can also be a pair (tuple) of +(connection, read) timeouts. +- `_request_auth` (`dict, optional`): set to override the auth_settings for an a single +request; this effectively ignores the +authentication in the spec for a single request. +- `_content_type` (`str, Optional`): force content-type for the request. +- `_headers` (`dict, optional`): set to override the headers for a single +request; this effectively ignores the headers +in the spec for a single request. +- `_host_index` (`int, optional`): set to override the host_index for a single +request; this effectively ignores the host_index +in the spec for a single request. + +**Returns**: + +Returns the result object. + + + +#### update\_service\_pool\_without\_preload\_content + +```python +@validate_call +def update_service_pool_without_preload_content( + id: StrictStr, + service_pool: UpdateServicePool, + update_mask: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, + Field(ge=0, le=0)] = 0) -> RESTResponseType +``` + +update_service_pool + +**Arguments**: + +- `id` (`str`): (required) +- `service_pool` (`UpdateServicePool`): (required) +- `update_mask` (`str`): +- `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one +number provided, it will be total request +timeout. It can also be a pair (tuple) of +(connection, read) timeouts. +- `_request_auth` (`dict, optional`): set to override the auth_settings for an a single +request; this effectively ignores the +authentication in the spec for a single request. +- `_content_type` (`str, Optional`): force content-type for the request. +- `_headers` (`dict, optional`): set to override the headers for a single +request; this effectively ignores the headers +in the spec for a single request. +- `_host_index` (`int, optional`): set to override the host_index for a single +request; this effectively ignores the host_index +in the spec for a single request. + +**Returns**: + +Returns the result object. + # koyeb/api.api.intercom\_api @@ -63421,12 +67507,12 @@ Do not edit the class manually. ```python @validate_call def get_intercom_profile( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -63464,12 +67550,12 @@ Returns the result object. ```python @validate_call def get_intercom_profile_with_http_info( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -63507,12 +67593,12 @@ Returns the result object. ```python @validate_call def get_intercom_profile_without_preload_content( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -63577,12 +67663,12 @@ Do not edit the class manually. @validate_call def create_app( app: CreateApp, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -63622,12 +67708,12 @@ Returns the result object. @validate_call def create_app_with_http_info( app: CreateApp, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -63667,12 +67753,12 @@ Returns the result object. @validate_call def create_app_without_preload_content( app: CreateApp, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -63713,12 +67799,12 @@ Returns the result object. def delete_app( id: Annotated[StrictStr, Field(description="The id of the App to delete")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -63760,12 +67846,12 @@ Returns the result object. def delete_app_with_http_info( id: Annotated[StrictStr, Field(description="The id of the App to delete")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -63808,12 +67894,12 @@ Returns the result object. def delete_app_without_preload_content( id: Annotated[StrictStr, Field(description="The id of the App to delete")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -63856,12 +67942,12 @@ Returns the result object. def get_app( id: Annotated[StrictStr, Field(description="The id of the App")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -63901,12 +67987,12 @@ Returns the result object. @validate_call def get_app_with_http_info( id: Annotated[StrictStr, Field(description="The id of the App")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -63946,12 +68032,12 @@ Returns the result object. @validate_call def get_app_without_preload_content( id: Annotated[StrictStr, Field(description="The id of the App")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -63994,26 +68080,30 @@ def list_app_events( Field(description="(Optional) Filter on app id")] = None, types: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on app event types")] = None, + Field(description="(Optional) Filter on app event types"), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, order: Annotated[ Optional[StrictStr], Field( description= "(Optional) Sorts the list in the ascending or the descending order" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -64060,26 +68150,30 @@ def list_app_events_with_http_info( Field(description="(Optional) Filter on app id")] = None, types: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on app event types")] = None, + Field(description="(Optional) Filter on app event types"), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, order: Annotated[ Optional[StrictStr], Field( description= "(Optional) Sorts the list in the ascending or the descending order" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -64126,26 +68220,30 @@ def list_app_events_without_preload_content( Field(description="(Optional) Filter on app id")] = None, types: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on app event types")] = None, + Field(description="(Optional) Filter on app event types"), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, order: Annotated[ Optional[StrictStr], Field( description= "(Optional) Sorts the list in the ascending or the descending order" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -64190,26 +68288,25 @@ Returns the result object. def list_apps( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return" - )] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field( - description= - "(Optional) The offset in the list of item to return")] = None, + Field(description= + "(Optional) The offset in the list of item to return"), + ] = None, name: Annotated[ Optional[StrictStr], Field(description="(Optional) A filter for name")] = None, - project_id: Annotated[ - Optional[StrictStr], - Field( - description="(Optional) A filter for the project ID")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ids: Annotated[Optional[List[StrictStr]], + Field( + description="(Optional) Filter on app ids")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -64224,7 +68321,7 @@ List App - `limit` (`str`): (Optional) The number of items to return - `offset` (`str`): (Optional) The offset in the list of item to return - `name` (`str`): (Optional) A filter for name -- `project_id` (`str`): (Optional) A filter for the project ID +- `ids` (`List[str]`): (Optional) Filter on app ids - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -64253,22 +68350,23 @@ Returns the result object. def list_apps_with_http_info( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, name: Annotated[Optional[StrictStr], Field(description="(Optional) A filter for name")] = None, - project_id: Annotated[ - Optional[StrictStr], - Field(description="(Optional) A filter for the project ID")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ids: Annotated[Optional[List[StrictStr]], + Field(description="(Optional) Filter on app ids")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -64283,7 +68381,7 @@ List App - `limit` (`str`): (Optional) The number of items to return - `offset` (`str`): (Optional) The offset in the list of item to return - `name` (`str`): (Optional) A filter for name -- `project_id` (`str`): (Optional) A filter for the project ID +- `ids` (`List[str]`): (Optional) Filter on app ids - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -64312,22 +68410,23 @@ Returns the result object. def list_apps_without_preload_content( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, name: Annotated[Optional[StrictStr], Field(description="(Optional) A filter for name")] = None, - project_id: Annotated[ - Optional[StrictStr], - Field(description="(Optional) A filter for the project ID")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ids: Annotated[Optional[List[StrictStr]], + Field(description="(Optional) Filter on app ids")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -64342,7 +68441,7 @@ List App - `limit` (`str`): (Optional) The number of items to return - `offset` (`str`): (Optional) The offset in the list of item to return - `name` (`str`): (Optional) A filter for name -- `project_id` (`str`): (Optional) A filter for the project ID +- `ids` (`List[str]`): (Optional) Filter on app ids - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -64371,12 +68470,12 @@ Returns the result object. def pause_app( id: Annotated[StrictStr, Field(description="The id of the app to pause.")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -64418,12 +68517,12 @@ Returns the result object. def pause_app_with_http_info( id: Annotated[StrictStr, Field(description="The id of the app to pause.")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -64466,12 +68565,12 @@ Returns the result object. def pause_app_without_preload_content( id: Annotated[StrictStr, Field(description="The id of the app to pause.")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -64514,12 +68613,12 @@ Returns the result object. def resume_app( id: Annotated[StrictStr, Field(description="The id of the app to resume.")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -64561,12 +68660,12 @@ Returns the result object. def resume_app_with_http_info( id: Annotated[StrictStr, Field(description="The id of the app to resume.")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -64609,12 +68708,12 @@ Returns the result object. def resume_app_without_preload_content( id: Annotated[StrictStr, Field(description="The id of the app to resume.")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -64659,12 +68758,12 @@ def update_app( Field(description="The id of the app to update.")], app: UpdateApp, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -64709,12 +68808,12 @@ def update_app_with_http_info( Field(description="The id of the app to update.")], app: UpdateApp, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -64759,12 +68858,12 @@ def update_app_without_preload_content( Field(description="The id of the app to update.")], app: UpdateApp, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -64809,12 +68908,12 @@ def update_app2( Field(description="The id of the app to update.")], app: UpdateApp, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -64859,12 +68958,12 @@ def update_app2_with_http_info( Field(description="The id of the app to update.")], app: UpdateApp, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -64909,12 +69008,12 @@ def update_app2_without_preload_content( Field(description="The id of the app to update.")], app: UpdateApp, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -64982,12 +69081,12 @@ Do not edit the class manually. @validate_call def create_invite( body: InviteUserRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -65026,12 +69125,12 @@ Returns the result object. @validate_call def create_invite_with_http_info( body: InviteUserRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -65071,12 +69170,12 @@ Returns the result object. @validate_call def create_invite_without_preload_content( body: InviteUserRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -65144,12 +69243,12 @@ def cancel_deployment( id: Annotated[StrictStr, Field( description="The id of the deployment to cancel.")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -65191,12 +69290,12 @@ Returns the result object. def cancel_deployment_with_http_info( id: Annotated[StrictStr, Field(description="The id of the deployment to cancel.")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -65239,12 +69338,12 @@ Returns the result object. def cancel_deployment_without_preload_content( id: Annotated[StrictStr, Field(description="The id of the deployment to cancel.")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -65287,12 +69386,12 @@ Returns the result object. def get_deployment( id: Annotated[StrictStr, Field(description="The id of the deployment")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -65333,12 +69432,12 @@ Returns the result object. def get_deployment_with_http_info( id: Annotated[StrictStr, Field(description="The id of the deployment")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -65379,12 +69478,12 @@ Returns the result object. def get_deployment_without_preload_content( id: Annotated[StrictStr, Field(description="The id of the deployment")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -65429,12 +69528,12 @@ def get_deployment_scaling( replica_index: Annotated[ Optional[StrictInt], Field(description="(Optional) Filter on replica_index")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -65481,12 +69580,12 @@ def get_deployment_scaling_with_http_info( replica_index: Annotated[ Optional[StrictInt], Field(description="(Optional) Filter on replica_index")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -65533,12 +69632,12 @@ def get_deployment_scaling_without_preload_content( replica_index: Annotated[ Optional[StrictInt], Field(description="(Optional) Filter on replica_index")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -65584,27 +69683,30 @@ def list_deployment_events( Field(description="(Optional) Filter on deployment id")] = None, types: Annotated[ Optional[List[StrictStr]], - Field( - description="(Optional) Filter on deployment event types")] = None, + Field(description="(Optional) Filter on deployment event types"), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, order: Annotated[ Optional[StrictStr], Field( description= "(Optional) Sorts the list in the ascending or the descending order" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -65652,27 +69754,30 @@ def list_deployment_events_with_http_info( Field(description="(Optional) Filter on deployment id")] = None, types: Annotated[ Optional[List[StrictStr]], - Field( - description="(Optional) Filter on deployment event types")] = None, + Field(description="(Optional) Filter on deployment event types"), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, order: Annotated[ Optional[StrictStr], Field( description= "(Optional) Sorts the list in the ascending or the descending order" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -65720,27 +69825,30 @@ def list_deployment_events_without_preload_content( Field(description="(Optional) Filter on deployment id")] = None, types: Annotated[ Optional[List[StrictStr]], - Field( - description="(Optional) Filter on deployment event types")] = None, + Field(description="(Optional) Filter on deployment event types"), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, order: Annotated[ Optional[StrictStr], Field( description= "(Optional) Sorts the list in the ascending or the descending order" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -65785,26 +69893,34 @@ Returns the result object. def list_deployments( app_id: Annotated[ Optional[StrictStr], - Field(description="(Optional) Filter on application id")] = None, + Field(description="(Optional) Filter on application id"), + ] = None, service_id: Annotated[ Optional[StrictStr], Field(description="(Optional) Filter on service id")] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, statuses: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on statuses")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + Field(description="(Optional) Filter on statuses"), + ] = None, + ids: Annotated[ + Optional[List[StrictStr]], + Field(description="(Optional) Filter on deployment ids"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -65821,6 +69937,7 @@ List Deployments - `limit` (`str`): (Optional) The number of items to return - `offset` (`str`): (Optional) The offset in the list of item to return - `statuses` (`List[str]`): (Optional) Filter on statuses +- `ids` (`List[str]`): (Optional) Filter on deployment ids - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -65849,26 +69966,34 @@ Returns the result object. def list_deployments_with_http_info( app_id: Annotated[ Optional[StrictStr], - Field(description="(Optional) Filter on application id")] = None, + Field(description="(Optional) Filter on application id"), + ] = None, service_id: Annotated[ Optional[StrictStr], Field(description="(Optional) Filter on service id")] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, statuses: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on statuses")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + Field(description="(Optional) Filter on statuses"), + ] = None, + ids: Annotated[ + Optional[List[StrictStr]], + Field(description="(Optional) Filter on deployment ids"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -65885,6 +70010,7 @@ List Deployments - `limit` (`str`): (Optional) The number of items to return - `offset` (`str`): (Optional) The offset in the list of item to return - `statuses` (`List[str]`): (Optional) Filter on statuses +- `ids` (`List[str]`): (Optional) Filter on deployment ids - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -65913,26 +70039,34 @@ Returns the result object. def list_deployments_without_preload_content( app_id: Annotated[ Optional[StrictStr], - Field(description="(Optional) Filter on application id")] = None, + Field(description="(Optional) Filter on application id"), + ] = None, service_id: Annotated[ Optional[StrictStr], Field(description="(Optional) Filter on service id")] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, statuses: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on statuses")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + Field(description="(Optional) Filter on statuses"), + ] = None, + ids: Annotated[ + Optional[List[StrictStr]], + Field(description="(Optional) Filter on deployment ids"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -65949,6 +70083,7 @@ List Deployments - `limit` (`str`): (Optional) The number of items to return - `offset` (`str`): (Optional) The offset in the list of item to return - `statuses` (`List[str]`): (Optional) Filter on statuses +- `ids` (`List[str]`): (Optional) Filter on deployment ids - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -66002,12 +70137,12 @@ Do not edit the class manually. @validate_call def create_project( project: CreateProject, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -66047,12 +70182,12 @@ Returns the result object. @validate_call def create_project_with_http_info( project: CreateProject, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -66092,12 +70227,12 @@ Returns the result object. @validate_call def create_project_without_preload_content( project: CreateProject, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -66137,12 +70272,12 @@ Returns the result object. @validate_call def delete_project( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -66181,12 +70316,12 @@ Returns the result object. @validate_call def delete_project_with_http_info( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -66226,12 +70361,12 @@ Returns the result object. @validate_call def delete_project_without_preload_content( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -66271,12 +70406,12 @@ Returns the result object. @validate_call def get_project( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -66316,12 +70451,12 @@ Returns the result object. @validate_call def get_project_with_http_info( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -66361,12 +70496,12 @@ Returns the result object. @validate_call def get_project_without_preload_content( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -66407,20 +70542,22 @@ Returns the result object. def list_projects( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, name: Annotated[ Optional[StrictStr], Field(description="(Optional) Filter by project name")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -66463,20 +70600,22 @@ Returns the result object. def list_projects_with_http_info( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, name: Annotated[ Optional[StrictStr], Field(description="(Optional) Filter by project name")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -66519,20 +70658,22 @@ Returns the result object. def list_projects_without_preload_content( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, name: Annotated[ Optional[StrictStr], Field(description="(Optional) Filter by project name")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -66576,12 +70717,12 @@ def update_project( id: StrictStr, project: Project, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -66625,12 +70766,12 @@ def update_project_with_http_info( id: StrictStr, project: Project, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -66674,12 +70815,12 @@ def update_project_without_preload_content( id: StrictStr, project: Project, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -66723,12 +70864,12 @@ def update_project2( id: StrictStr, project: Project, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -66772,12 +70913,12 @@ def update_project2_with_http_info( id: StrictStr, project: Project, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -66821,12 +70962,12 @@ def update_project2_without_preload_content( id: StrictStr, project: Project, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -66895,27 +71036,30 @@ Do not edit the class manually. def list_organization_members( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, organization_id: Annotated[ Optional[StrictStr], - Field(description="(Optional) Filter for an organization")] = None, + Field(description="(Optional) Filter for an organization"), + ] = None, user_id: Annotated[ Optional[StrictStr], Field(description="(Optional) Filter for an user")] = None, organization_statuses: Annotated[ Optional[List[StrictStr]], - Field( - description="(Optional) Filter for organization statuses")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + Field(description="(Optional) Filter for organization statuses"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -66960,27 +71104,30 @@ Returns the result object. def list_organization_members_with_http_info( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, organization_id: Annotated[ Optional[StrictStr], - Field(description="(Optional) Filter for an organization")] = None, + Field(description="(Optional) Filter for an organization"), + ] = None, user_id: Annotated[ Optional[StrictStr], Field(description="(Optional) Filter for an user")] = None, organization_statuses: Annotated[ Optional[List[StrictStr]], - Field( - description="(Optional) Filter for organization statuses")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + Field(description="(Optional) Filter for organization statuses"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -67025,27 +71172,30 @@ Returns the result object. def list_organization_members_without_preload_content( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, organization_id: Annotated[ Optional[StrictStr], - Field(description="(Optional) Filter for an organization")] = None, + Field(description="(Optional) Filter for an organization"), + ] = None, user_id: Annotated[ Optional[StrictStr], Field(description="(Optional) Filter for an user")] = None, organization_statuses: Annotated[ Optional[List[StrictStr]], - Field( - description="(Optional) Filter for organization statuses")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + Field(description="(Optional) Filter for organization statuses"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -67089,12 +71239,12 @@ Returns the result object. @validate_call def remove_organization_member( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -67134,12 +71284,12 @@ Returns the result object. @validate_call def remove_organization_member_with_http_info( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -67179,12 +71329,12 @@ Returns the result object. @validate_call def remove_organization_member_without_preload_content( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -67253,12 +71403,12 @@ def create_access_token( Field( description="Organization id for ephemeral credential")], body: CreateAccessTokenRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -67304,12 +71454,12 @@ def create_access_token_with_http_info( Field( description="Organization id for ephemeral credential")], body: CreateAccessTokenRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -67355,12 +71505,12 @@ def create_access_token_without_preload_content( Field( description="Organization id for ephemeral credential")], body: CreateAccessTokenRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -67404,12 +71554,12 @@ Returns the result object. def create_budget( organization_id: StrictStr, body: UpdateBudgetRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -67451,12 +71601,12 @@ Returns the result object. def create_budget_with_http_info( organization_id: StrictStr, body: UpdateBudgetRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -67498,12 +71648,12 @@ Returns the result object. def create_budget_without_preload_content( organization_id: StrictStr, body: UpdateBudgetRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -67544,12 +71694,12 @@ Returns the result object. @validate_call def create_organization( body: CreateOrganizationRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -67589,12 +71739,12 @@ Returns the result object. @validate_call def create_organization_with_http_info( body: CreateOrganizationRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -67634,12 +71784,12 @@ Returns the result object. @validate_call def create_organization_without_preload_content( body: CreateOrganizationRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -67680,12 +71830,12 @@ Returns the result object. def deactivate_organization( id: StrictStr, body: DeactivateOrganizationRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -67727,12 +71877,12 @@ Returns the result object. def deactivate_organization_with_http_info( id: StrictStr, body: DeactivateOrganizationRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -67774,12 +71924,12 @@ Returns the result object. def deactivate_organization_without_preload_content( id: StrictStr, body: DeactivateOrganizationRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -67820,12 +71970,12 @@ Returns the result object. @validate_call def delete_budget( organization_id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -67864,12 +72014,12 @@ Returns the result object. @validate_call def delete_budget_with_http_info( organization_id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -67909,12 +72059,12 @@ Returns the result object. @validate_call def delete_budget_without_preload_content( organization_id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -67954,12 +72104,12 @@ Returns the result object. @validate_call def delete_organization( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -67999,12 +72149,12 @@ Returns the result object. @validate_call def delete_organization_with_http_info( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -68044,12 +72194,12 @@ Returns the result object. @validate_call def delete_organization_without_preload_content( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -68089,12 +72239,12 @@ Returns the result object. @validate_call def get_budget( organization_id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -68134,12 +72284,12 @@ Returns the result object. @validate_call def get_budget_with_http_info( organization_id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -68179,12 +72329,12 @@ Returns the result object. @validate_call def get_budget_without_preload_content( organization_id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -68223,12 +72373,12 @@ Returns the result object. ```python @validate_call def get_github_installation( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -68266,12 +72416,12 @@ Returns the result object. ```python @validate_call def get_github_installation_with_http_info( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -68309,12 +72459,12 @@ Returns the result object. ```python @validate_call def get_github_installation_without_preload_content( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -68353,12 +72503,12 @@ Returns the result object. @validate_call def get_organization( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -68398,12 +72548,12 @@ Returns the result object. @validate_call def get_organization_with_http_info( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -68443,12 +72593,12 @@ Returns the result object. @validate_call def get_organization_without_preload_content( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -68488,12 +72638,12 @@ Returns the result object. @validate_call def github_installation( body: GithubInstallationRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -68533,12 +72683,12 @@ Returns the result object. @validate_call def github_installation_with_http_info( body: GithubInstallationRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -68578,12 +72728,12 @@ Returns the result object. @validate_call def github_installation_without_preload_content( body: GithubInstallationRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -68624,12 +72774,12 @@ Returns the result object. def reactivate_organization( id: StrictStr, body: Dict[str, Any], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -68671,12 +72821,12 @@ Returns the result object. def reactivate_organization_with_http_info( id: StrictStr, body: Dict[str, Any], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -68718,12 +72868,12 @@ Returns the result object. def reactivate_organization_without_preload_content( id: StrictStr, body: Dict[str, Any], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -68767,12 +72917,12 @@ def switch_organization( body: Dict[str, Any], seon_fp: Annotated[Optional[StrictStr], Field(description="Seon Fingerprint")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -68817,12 +72967,12 @@ def switch_organization_with_http_info( body: Dict[str, Any], seon_fp: Annotated[Optional[StrictStr], Field(description="Seon Fingerprint")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -68867,12 +73017,12 @@ def switch_organization_without_preload_content( body: Dict[str, Any], seon_fp: Annotated[Optional[StrictStr], Field(description="Seon Fingerprint")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -68916,12 +73066,12 @@ def unscope_organization_token( body: Dict[str, Any], seon_fp: Annotated[Optional[StrictStr], Field(description="Seon Fingerprint")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -68966,12 +73116,12 @@ def unscope_organization_token_with_http_info( body: Dict[str, Any], seon_fp: Annotated[Optional[StrictStr], Field(description="Seon Fingerprint")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -69016,12 +73166,12 @@ def unscope_organization_token_without_preload_content( body: Dict[str, Any], seon_fp: Annotated[Optional[StrictStr], Field(description="Seon Fingerprint")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -69065,12 +73215,12 @@ Returns the result object. def update_budget( organization_id: StrictStr, body: UpdateBudgetRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -69112,12 +73262,12 @@ Returns the result object. def update_budget_with_http_info( organization_id: StrictStr, body: UpdateBudgetRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -69159,12 +73309,12 @@ Returns the result object. def update_budget_without_preload_content( organization_id: StrictStr, body: UpdateBudgetRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -69207,12 +73357,12 @@ def update_organization( id: StrictStr, organization: Organization, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -69256,12 +73406,12 @@ def update_organization_with_http_info( id: StrictStr, organization: Organization, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -69305,12 +73455,12 @@ def update_organization_without_preload_content( id: StrictStr, organization: Organization, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -69354,12 +73504,12 @@ def update_organization2( id: StrictStr, organization: Organization, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -69403,12 +73553,12 @@ def update_organization2_with_http_info( id: StrictStr, organization: Organization, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -69452,12 +73602,12 @@ def update_organization2_without_preload_content( id: StrictStr, organization: Organization, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -69500,12 +73650,12 @@ Returns the result object. def update_organization_default_project( id: StrictStr, body: UpdateOrganizationDefaultProjectRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -69547,12 +73697,12 @@ Returns the result object. def update_organization_default_project_with_http_info( id: StrictStr, body: UpdateOrganizationDefaultProjectRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -69594,12 +73744,12 @@ Returns the result object. def update_organization_default_project_without_preload_content( id: StrictStr, body: UpdateOrganizationDefaultProjectRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -69641,12 +73791,12 @@ Returns the result object. def update_organization_name( id: StrictStr, body: UpdateOrganizationNameRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -69688,12 +73838,12 @@ Returns the result object. def update_organization_name_with_http_info( id: StrictStr, body: UpdateOrganizationNameRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -69735,12 +73885,12 @@ Returns the result object. def update_organization_name_without_preload_content( id: StrictStr, body: UpdateOrganizationNameRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -69782,12 +73932,12 @@ Returns the result object. def update_organization_plan( id: StrictStr, body: UpdateOrganizationPlanRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -69829,12 +73979,12 @@ Returns the result object. def update_organization_plan_with_http_info( id: StrictStr, body: UpdateOrganizationPlanRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -69876,12 +74026,12 @@ Returns the result object. def update_organization_plan_without_preload_content( id: StrictStr, body: UpdateOrganizationPlanRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -69923,12 +74073,12 @@ Returns the result object. def upsert_signup_qualification( id: StrictStr, body: UpsertSignupQualificationRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -69970,12 +74120,12 @@ Returns the result object. def upsert_signup_qualification_with_http_info( id: StrictStr, body: UpsertSignupQualificationRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -70017,12 +74167,12 @@ Returns the result object. def upsert_signup_qualification_without_preload_content( id: StrictStr, body: UpsertSignupQualificationRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -70081,6 +74231,141 @@ Ref: https://openapi-generator.tech Do not edit the class manually. + + +#### get\_organization\_quotas\_usage + +```python +@validate_call +def get_organization_quotas_usage( + organization_id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0 +) -> GetOrganizationQuotasUsageReply +``` + +Return the organization's current quota usage alongside the plan's limits. Response is cached in Redis for 60s. Accept text/plain (or ?format=prometheus) to receive the response rendered as Prometheus text exposition format ("koyeb_quota_" for usage, "koyeb_quota__limit" for the plan limit) suitable for scraping into an external Prometheus. + +**Arguments**: + +- `organization_id` (`str`): (required) +- `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one +number provided, it will be total request +timeout. It can also be a pair (tuple) of +(connection, read) timeouts. +- `_request_auth` (`dict, optional`): set to override the auth_settings for an a single +request; this effectively ignores the +authentication in the spec for a single request. +- `_content_type` (`str, Optional`): force content-type for the request. +- `_headers` (`dict, optional`): set to override the headers for a single +request; this effectively ignores the headers +in the spec for a single request. +- `_host_index` (`int, optional`): set to override the host_index for a single +request; this effectively ignores the host_index +in the spec for a single request. + +**Returns**: + +Returns the result object. + + + +#### get\_organization\_quotas\_usage\_with\_http\_info + +```python +@validate_call +def get_organization_quotas_usage_with_http_info( + organization_id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0 +) -> ApiResponse[GetOrganizationQuotasUsageReply] +``` + +Return the organization's current quota usage alongside the plan's limits. Response is cached in Redis for 60s. Accept text/plain (or ?format=prometheus) to receive the response rendered as Prometheus text exposition format ("koyeb_quota_" for usage, "koyeb_quota__limit" for the plan limit) suitable for scraping into an external Prometheus. + +**Arguments**: + +- `organization_id` (`str`): (required) +- `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one +number provided, it will be total request +timeout. It can also be a pair (tuple) of +(connection, read) timeouts. +- `_request_auth` (`dict, optional`): set to override the auth_settings for an a single +request; this effectively ignores the +authentication in the spec for a single request. +- `_content_type` (`str, Optional`): force content-type for the request. +- `_headers` (`dict, optional`): set to override the headers for a single +request; this effectively ignores the headers +in the spec for a single request. +- `_host_index` (`int, optional`): set to override the host_index for a single +request; this effectively ignores the host_index +in the spec for a single request. + +**Returns**: + +Returns the result object. + + + +#### get\_organization\_quotas\_usage\_without\_preload\_content + +```python +@validate_call +def get_organization_quotas_usage_without_preload_content( + organization_id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, + Field(ge=0, le=0)] = 0) -> RESTResponseType +``` + +Return the organization's current quota usage alongside the plan's limits. Response is cached in Redis for 60s. Accept text/plain (or ?format=prometheus) to receive the response rendered as Prometheus text exposition format ("koyeb_quota_" for usage, "koyeb_quota__limit" for the plan limit) suitable for scraping into an external Prometheus. + +**Arguments**: + +- `organization_id` (`str`): (required) +- `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one +number provided, it will be total request +timeout. It can also be a pair (tuple) of +(connection, read) timeouts. +- `_request_auth` (`dict, optional`): set to override the auth_settings for an a single +request; this effectively ignores the +authentication in the spec for a single request. +- `_content_type` (`str, Optional`): force content-type for the request. +- `_headers` (`dict, optional`): set to override the headers for a single +request; this effectively ignores the headers +in the spec for a single request. +- `_host_index` (`int, optional`): set to override the host_index for a single +request; this effectively ignores the host_index +in the spec for a single request. + +**Returns**: + +Returns the result object. + #### review\_organization\_capacity @@ -70089,12 +74374,12 @@ Do not edit the class manually. @validate_call def review_organization_capacity( body: ReviewOrganizationCapacityRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -70134,12 +74419,12 @@ Returns the result object. @validate_call def review_organization_capacity_with_http_info( body: ReviewOrganizationCapacityRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -70179,12 +74464,12 @@ Returns the result object. @validate_call def review_organization_capacity_without_preload_content( body: ReviewOrganizationCapacityRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -70251,18 +74536,18 @@ Do not edit the class manually. def get_organization_usage( starting_time: Annotated[ Optional[datetime], - Field(description="The starting time of the period to get data from" - )] = None, + Field(description="The starting time of the period to get data from"), + ] = None, ending_time: Annotated[ Optional[datetime], - Field(description="The ending time of the period to get data from" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + Field(description="The ending time of the period to get data from"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -70304,18 +74589,18 @@ Returns the result object. def get_organization_usage_with_http_info( starting_time: Annotated[ Optional[datetime], - Field(description="The starting time of the period to get data from" - )] = None, + Field(description="The starting time of the period to get data from"), + ] = None, ending_time: Annotated[ Optional[datetime], - Field(description="The ending time of the period to get data from" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + Field(description="The ending time of the period to get data from"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -70357,18 +74642,18 @@ Returns the result object. def get_organization_usage_without_preload_content( starting_time: Annotated[ Optional[datetime], - Field(description="The starting time of the period to get data from" - )] = None, + Field(description="The starting time of the period to get data from"), + ] = None, ending_time: Annotated[ Optional[datetime], - Field(description="The ending time of the period to get data from" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + Field(description="The ending time of the period to get data from"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -70410,36 +74695,39 @@ Returns the result object. def get_organization_usage_details( starting_time: Annotated[ Optional[datetime], - Field(description="The starting time of the period to get data from" - )] = None, + Field(description="The starting time of the period to get data from"), + ] = None, ending_time: Annotated[ Optional[datetime], - Field(description="The ending time of the period to get data from" - )] = None, + Field(description="The ending time of the period to get data from"), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, order: Annotated[ Optional[StrictStr], Field( description= "(Optional) Sorts the list in the ascending or the descending order" - )] = None, + ), + ] = None, accept: Annotated[ Optional[StrictStr], Field(description= - "If defined with the value 'text/csv', a csv file is returned" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + "If defined with the value 'text/csv', a csv file is returned"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -70485,36 +74773,39 @@ Returns the result object. def get_organization_usage_details_with_http_info( starting_time: Annotated[ Optional[datetime], - Field(description="The starting time of the period to get data from" - )] = None, + Field(description="The starting time of the period to get data from"), + ] = None, ending_time: Annotated[ Optional[datetime], - Field(description="The ending time of the period to get data from" - )] = None, + Field(description="The ending time of the period to get data from"), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, order: Annotated[ Optional[StrictStr], Field( description= "(Optional) Sorts the list in the ascending or the descending order" - )] = None, + ), + ] = None, accept: Annotated[ Optional[StrictStr], Field(description= - "If defined with the value 'text/csv', a csv file is returned" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + "If defined with the value 'text/csv', a csv file is returned"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -70560,36 +74851,39 @@ Returns the result object. def get_organization_usage_details_without_preload_content( starting_time: Annotated[ Optional[datetime], - Field(description="The starting time of the period to get data from" - )] = None, + Field(description="The starting time of the period to get data from"), + ] = None, ending_time: Annotated[ Optional[datetime], - Field(description="The ending time of the period to get data from" - )] = None, + Field(description="The ending time of the period to get data from"), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, order: Annotated[ Optional[StrictStr], Field( description= "(Optional) Sorts the list in the ascending or the descending order" - )] = None, + ), + ] = None, accept: Annotated[ Optional[StrictStr], Field(description= - "If defined with the value 'text/csv', a csv file is returned" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + "If defined with the value 'text/csv', a csv file is returned"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -70662,12 +74956,12 @@ def login( body: LoginRequest, seon_fp: Annotated[Optional[StrictStr], Field(description="Seon Fingerprint")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -70710,12 +75004,12 @@ def login_with_http_info( body: LoginRequest, seon_fp: Annotated[Optional[StrictStr], Field(description="Seon Fingerprint")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -70758,12 +75052,12 @@ def login_without_preload_content( body: LoginRequest, seon_fp: Annotated[Optional[StrictStr], Field(description="Seon Fingerprint")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -70802,12 +75096,12 @@ Returns the result object. ```python @validate_call -def logout(_request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, +def logout(_request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], +] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -70844,12 +75138,12 @@ Returns the result object. ```python @validate_call def logout_with_http_info( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -70887,12 +75181,12 @@ Returns the result object. ```python @validate_call def logout_without_preload_content( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -70930,12 +75224,12 @@ Returns the result object. ```python @validate_call def new_session( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -70975,12 +75269,12 @@ Returns the result object. ```python @validate_call def new_session_with_http_info( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -71020,12 +75314,12 @@ Returns the result object. ```python @validate_call def new_session_without_preload_content( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -71065,12 +75359,12 @@ Returns the result object. ```python @validate_call def refresh_token( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -71108,12 +75402,12 @@ Returns the result object. ```python @validate_call def refresh_token_with_http_info( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -71151,12 +75445,12 @@ Returns the result object. ```python @validate_call def refresh_token_without_preload_content( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -71221,12 +75515,12 @@ Do not edit the class manually. @validate_call def create_secret( secret: CreateSecret, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -71266,12 +75560,12 @@ Returns the result object. @validate_call def create_secret_with_http_info( secret: CreateSecret, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -71311,12 +75605,12 @@ Returns the result object. @validate_call def create_secret_without_preload_content( secret: CreateSecret, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -71356,12 +75650,12 @@ Returns the result object. @validate_call def delete_secret( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -71400,12 +75694,12 @@ Returns the result object. @validate_call def delete_secret_with_http_info( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -71445,12 +75739,12 @@ Returns the result object. @validate_call def delete_secret_without_preload_content( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -71490,12 +75784,12 @@ Returns the result object. @validate_call def get_secret( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -71535,12 +75829,12 @@ Returns the result object. @validate_call def get_secret_with_http_info( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -71580,12 +75874,12 @@ Returns the result object. @validate_call def get_secret_without_preload_content( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -71629,15 +75923,16 @@ def list_secrets( offset: Optional[StrictStr] = None, types: Annotated[Optional[List[StrictStr]], Field(description="Filter by secret types")] = None, - project_id: Annotated[ - Optional[StrictStr], - Field(description="(Optional) A filter for the project ID")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ids: Annotated[ + Optional[List[StrictStr]], + Field(description="(Optional) Filter on secret ids"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -71653,7 +75948,7 @@ List Secrets - `limit` (`str`): - `offset` (`str`): - `types` (`List[str]`): Filter by secret types -- `project_id` (`str`): (Optional) A filter for the project ID +- `ids` (`List[str]`): (Optional) Filter on secret ids - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -71685,15 +75980,16 @@ def list_secrets_with_http_info( offset: Optional[StrictStr] = None, types: Annotated[Optional[List[StrictStr]], Field(description="Filter by secret types")] = None, - project_id: Annotated[ - Optional[StrictStr], - Field(description="(Optional) A filter for the project ID")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ids: Annotated[ + Optional[List[StrictStr]], + Field(description="(Optional) Filter on secret ids"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -71709,7 +76005,7 @@ List Secrets - `limit` (`str`): - `offset` (`str`): - `types` (`List[str]`): Filter by secret types -- `project_id` (`str`): (Optional) A filter for the project ID +- `ids` (`List[str]`): (Optional) Filter on secret ids - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -71741,15 +76037,16 @@ def list_secrets_without_preload_content( offset: Optional[StrictStr] = None, types: Annotated[Optional[List[StrictStr]], Field(description="Filter by secret types")] = None, - project_id: Annotated[ - Optional[StrictStr], - Field(description="(Optional) A filter for the project ID")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ids: Annotated[ + Optional[List[StrictStr]], + Field(description="(Optional) Filter on secret ids"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -71765,7 +76062,7 @@ List Secrets - `limit` (`str`): - `offset` (`str`): - `types` (`List[str]`): Filter by secret types -- `project_id` (`str`): (Optional) A filter for the project ID +- `ids` (`List[str]`): (Optional) Filter on secret ids - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -71794,12 +76091,12 @@ Returns the result object. def reveal_secret( id: StrictStr, body: Dict[str, Any], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -71841,12 +76138,12 @@ Returns the result object. def reveal_secret_with_http_info( id: StrictStr, body: Dict[str, Any], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -71888,12 +76185,12 @@ Returns the result object. def reveal_secret_without_preload_content( id: StrictStr, body: Dict[str, Any], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -71936,12 +76233,12 @@ def update_secret( id: StrictStr, secret: Secret, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -71985,12 +76282,12 @@ def update_secret_with_http_info( id: StrictStr, secret: Secret, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -72034,12 +76331,12 @@ def update_secret_without_preload_content( id: StrictStr, secret: Secret, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -72083,12 +76380,12 @@ def update_secret2( id: StrictStr, secret: Secret, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -72132,12 +76429,12 @@ def update_secret2_with_http_info( id: StrictStr, secret: Secret, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -72181,12 +76478,12 @@ def update_secret2_without_preload_content( id: StrictStr, secret: Secret, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -72255,14 +76552,15 @@ Do not edit the class manually. def accept_organization_invitation( id: Annotated[ StrictStr, - Field(description="The id of the organization invitation to accept")], + Field(description="The id of the organization invitation to accept"), + ], body: Dict[str, Any], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -72304,14 +76602,15 @@ Returns the result object. def accept_organization_invitation_with_http_info( id: Annotated[ StrictStr, - Field(description="The id of the organization invitation to accept")], + Field(description="The id of the organization invitation to accept"), + ], body: Dict[str, Any], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -72353,14 +76652,15 @@ Returns the result object. def accept_organization_invitation_without_preload_content( id: Annotated[ StrictStr, - Field(description="The id of the organization invitation to accept")], + Field(description="The id of the organization invitation to accept"), + ], body: Dict[str, Any], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -72401,12 +76701,12 @@ Returns the result object. @validate_call def clear_idenfy_verification_result( body: ClearIdenfyVerificationResultRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -72445,12 +76745,12 @@ Returns the result object. @validate_call def clear_idenfy_verification_result_with_http_info( body: ClearIdenfyVerificationResultRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -72490,12 +76790,12 @@ Returns the result object. @validate_call def clear_idenfy_verification_result_without_preload_content( body: ClearIdenfyVerificationResultRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -72536,14 +76836,15 @@ Returns the result object. def decline_organization_invitation( id: Annotated[ StrictStr, - Field(description="The id of the organization invitation to decline")], + Field(description="The id of the organization invitation to decline"), + ], body: Dict[str, Any], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -72585,14 +76886,15 @@ Returns the result object. def decline_organization_invitation_with_http_info( id: Annotated[ StrictStr, - Field(description="The id of the organization invitation to decline")], + Field(description="The id of the organization invitation to decline"), + ], body: Dict[str, Any], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -72634,14 +76936,15 @@ Returns the result object. def decline_organization_invitation_without_preload_content( id: Annotated[ StrictStr, - Field(description="The id of the organization invitation to decline")], + Field(description="The id of the organization invitation to decline"), + ], body: Dict[str, Any], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -72681,12 +76984,12 @@ Returns the result object. ```python @validate_call def get_current_organization( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -72724,12 +77027,12 @@ Returns the result object. ```python @validate_call def get_current_organization_with_http_info( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -72767,12 +77070,12 @@ Returns the result object. ```python @validate_call def get_current_organization_without_preload_content( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -72812,12 +77115,12 @@ Returns the result object. def get_current_user( seon_fp: Annotated[Optional[StrictStr], Field(description="Seon Fingerprint")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -72857,12 +77160,12 @@ Returns the result object. def get_current_user_with_http_info( seon_fp: Annotated[Optional[StrictStr], Field(description="Seon Fingerprint")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -72903,12 +77206,12 @@ Returns the result object. def get_current_user_without_preload_content( seon_fp: Annotated[Optional[StrictStr], Field(description="Seon Fingerprint")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -72947,12 +77250,12 @@ Returns the result object. ```python @validate_call def get_idenfy_token( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -72990,12 +77293,12 @@ Returns the result object. ```python @validate_call def get_idenfy_token_with_http_info( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -73033,12 +77336,12 @@ Returns the result object. ```python @validate_call def get_idenfy_token_without_preload_content( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -73078,20 +77381,21 @@ Returns the result object. def get_o_auth_options( action: Annotated[ Optional[StrictStr], - Field(description="Which authentication flow is being initiated" - )] = None, + Field(description="Which authentication flow is being initiated"), + ] = None, metadata: Annotated[ Optional[StrictStr], Field( description= "A small (limited to 400 characters) string of arbitrary metadata which will be encoded in the state" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -73133,20 +77437,21 @@ Returns the result object. def get_o_auth_options_with_http_info( action: Annotated[ Optional[StrictStr], - Field(description="Which authentication flow is being initiated" - )] = None, + Field(description="Which authentication flow is being initiated"), + ] = None, metadata: Annotated[ Optional[StrictStr], Field( description= "A small (limited to 400 characters) string of arbitrary metadata which will be encoded in the state" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -73188,20 +77493,21 @@ Returns the result object. def get_o_auth_options_without_preload_content( action: Annotated[ Optional[StrictStr], - Field(description="Which authentication flow is being initiated" - )] = None, + Field(description="Which authentication flow is being initiated"), + ] = None, metadata: Annotated[ Optional[StrictStr], Field( description= "A small (limited to 400 characters) string of arbitrary metadata which will be encoded in the state" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -73244,12 +77550,12 @@ def get_user_organization_invitation( id: Annotated[ StrictStr, Field(description="The id of the organization invitation to get")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -73291,12 +77597,12 @@ def get_user_organization_invitation_with_http_info( id: Annotated[ StrictStr, Field(description="The id of the organization invitation to get")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -73338,12 +77644,12 @@ def get_user_organization_invitation_without_preload_content( id: Annotated[ StrictStr, Field(description="The id of the organization invitation to get")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -73382,12 +77688,12 @@ Returns the result object. ```python @validate_call def get_user_settings( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -73425,12 +77731,12 @@ Returns the result object. ```python @validate_call def get_user_settings_with_http_info( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -73468,12 +77774,12 @@ Returns the result object. ```python @validate_call def get_user_settings_without_preload_content( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -73513,22 +77819,25 @@ Returns the result object. def list_user_organization_invitations( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, statuses: Annotated[ Optional[List[StrictStr]], Field( description="(Optional) Filter on organization invitation statuses" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -73571,22 +77880,25 @@ Returns the result object. def list_user_organization_invitations_with_http_info( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, statuses: Annotated[ Optional[List[StrictStr]], Field( description="(Optional) Filter on organization invitation statuses" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -73629,22 +77941,25 @@ Returns the result object. def list_user_organization_invitations_without_preload_content( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, statuses: Annotated[ Optional[List[StrictStr]], Field( description="(Optional) Filter on organization invitation statuses" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -73690,31 +78005,35 @@ def list_user_organizations( Field(description="(Optional) Define pagination limit")] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) Define pagination offset")] = None, + Field(description="(Optional) Define pagination offset"), + ] = None, order: Annotated[ Optional[StrictStr], Field( description= "(Optional) Sorts the list in the ascending or the descending order" - )] = None, + ), + ] = None, search: Annotated[ Optional[StrictStr], Field( description= "(Optional) Fuzzy case-insensitive search based on organization name or organization id" - )] = None, + ), + ] = None, statuses: Annotated[ Optional[List[StrictStr]], Field( description= "(Optional) Only return organizations which status match one in the list" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -73764,31 +78083,35 @@ def list_user_organizations_with_http_info( Field(description="(Optional) Define pagination limit")] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) Define pagination offset")] = None, + Field(description="(Optional) Define pagination offset"), + ] = None, order: Annotated[ Optional[StrictStr], Field( description= "(Optional) Sorts the list in the ascending or the descending order" - )] = None, + ), + ] = None, search: Annotated[ Optional[StrictStr], Field( description= "(Optional) Fuzzy case-insensitive search based on organization name or organization id" - )] = None, + ), + ] = None, statuses: Annotated[ Optional[List[StrictStr]], Field( description= "(Optional) Only return organizations which status match one in the list" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -73838,31 +78161,35 @@ def list_user_organizations_without_preload_content( Field(description="(Optional) Define pagination limit")] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) Define pagination offset")] = None, + Field(description="(Optional) Define pagination offset"), + ] = None, order: Annotated[ Optional[StrictStr], Field( description= "(Optional) Sorts the list in the ascending or the descending order" - )] = None, + ), + ] = None, search: Annotated[ Optional[StrictStr], Field( description= "(Optional) Fuzzy case-insensitive search based on organization name or organization id" - )] = None, + ), + ] = None, statuses: Annotated[ Optional[List[StrictStr]], Field( description= "(Optional) Only return organizations which status match one in the list" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -73908,12 +78235,12 @@ Returns the result object. @validate_call def login_method( email: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -73953,12 +78280,12 @@ Returns the result object. @validate_call def login_method_with_http_info( email: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -73998,12 +78325,12 @@ Returns the result object. @validate_call def login_method_without_preload_content( email: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -74045,12 +78372,12 @@ def o_auth_callback( body: OAuthCallbackRequest, seon_fp: Annotated[Optional[StrictStr], Field(description="Seon Fingerprint")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -74093,12 +78420,12 @@ def o_auth_callback_with_http_info( body: OAuthCallbackRequest, seon_fp: Annotated[Optional[StrictStr], Field(description="Seon Fingerprint")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -74141,12 +78468,12 @@ def o_auth_callback_without_preload_content( body: OAuthCallbackRequest, seon_fp: Annotated[Optional[StrictStr], Field(description="Seon Fingerprint")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -74187,12 +78514,12 @@ Returns the result object. @validate_call def resend_email_validation( body: Dict[str, Any], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -74231,12 +78558,12 @@ Returns the result object. @validate_call def resend_email_validation_with_http_info( body: Dict[str, Any], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -74276,12 +78603,12 @@ Returns the result object. @validate_call def resend_email_validation_without_preload_content( body: Dict[str, Any], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -74321,12 +78648,12 @@ Returns the result object. @validate_call def reset_password( body: ResetPasswordRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -74365,12 +78692,12 @@ Returns the result object. @validate_call def reset_password_with_http_info( body: ResetPasswordRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -74410,12 +78737,12 @@ Returns the result object. @validate_call def reset_password_without_preload_content( body: ResetPasswordRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -74458,12 +78785,12 @@ def signup( Field(description="Create new account")], seon_fp: Annotated[Optional[StrictStr], Field(description="Seon Fingerprint")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -74507,12 +78834,12 @@ def signup_with_http_info( Field(description="Create new account")], seon_fp: Annotated[Optional[StrictStr], Field(description="Seon Fingerprint")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -74556,12 +78883,12 @@ def signup_without_preload_content( Field(description="Create new account")], seon_fp: Annotated[Optional[StrictStr], Field(description="Seon Fingerprint")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -74604,12 +78931,12 @@ def update_password( body: UpdatePasswordRequest, seon_fp: Annotated[Optional[StrictStr], Field(description="Seon Fingerprint")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -74652,12 +78979,12 @@ def update_password_with_http_info( body: UpdatePasswordRequest, seon_fp: Annotated[Optional[StrictStr], Field(description="Seon Fingerprint")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -74700,12 +79027,12 @@ def update_password_without_preload_content( body: UpdatePasswordRequest, seon_fp: Annotated[Optional[StrictStr], Field(description="Seon Fingerprint")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -74747,12 +79074,12 @@ Returns the result object. def update_user( user: UpdateUserRequestUserUpdateBody, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -74793,12 +79120,12 @@ Returns the result object. def update_user_with_http_info( user: UpdateUserRequestUserUpdateBody, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -74840,12 +79167,12 @@ Returns the result object. def update_user_without_preload_content( user: UpdateUserRequestUserUpdateBody, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -74887,12 +79214,12 @@ Returns the result object. def update_user2( user: UpdateUserRequestUserUpdateBody, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -74933,12 +79260,12 @@ Returns the result object. def update_user2_with_http_info( user: UpdateUserRequestUserUpdateBody, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -74980,12 +79307,12 @@ Returns the result object. def update_user2_without_preload_content( user: UpdateUserRequestUserUpdateBody, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -75026,12 +79353,12 @@ Returns the result object. @validate_call def update_user_settings( body: UpdateUserSettingsRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -75071,12 +79398,12 @@ Returns the result object. @validate_call def update_user_settings_with_http_info( body: UpdateUserSettingsRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -75116,12 +79443,12 @@ Returns the result object. @validate_call def update_user_settings_without_preload_content( body: UpdateUserSettingsRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -75162,12 +79489,12 @@ Returns the result object. def update_user_v2( user: UpdateUserRequestUserUpdateBody, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -75208,12 +79535,12 @@ Returns the result object. def update_user_v2_with_http_info( user: UpdateUserRequestUserUpdateBody, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -75255,12 +79582,12 @@ Returns the result object. def update_user_v2_without_preload_content( user: UpdateUserRequestUserUpdateBody, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -75302,12 +79629,12 @@ Returns the result object. def update_user_v22( user: UpdateUserRequestUserUpdateBody, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -75348,12 +79675,12 @@ Returns the result object. def update_user_v22_with_http_info( user: UpdateUserRequestUserUpdateBody, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -75395,12 +79722,12 @@ Returns the result object. def update_user_v22_without_preload_content( user: UpdateUserRequestUserUpdateBody, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -75443,12 +79770,12 @@ def validate( id: StrictStr, seon_fp: Annotated[Optional[StrictStr], Field(description="Seon Fingerprint")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -75491,12 +79818,12 @@ def validate_with_http_info( id: StrictStr, seon_fp: Annotated[Optional[StrictStr], Field(description="Seon Fingerprint")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -75539,12 +79866,12 @@ def validate_without_preload_content( id: StrictStr, seon_fp: Annotated[Optional[StrictStr], Field(description="Seon Fingerprint")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -75610,12 +79937,12 @@ Do not edit the class manually. ```python @validate_call def test_anon( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -75652,12 +79979,12 @@ Returns the result object. ```python @validate_call def test_anon_with_http_info( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -75695,12 +80022,12 @@ Returns the result object. ```python @validate_call def test_anon_without_preload_content( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -75739,12 +80066,12 @@ Returns the result object. @validate_call def test_auth( body: KtestTestAuthRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -75784,12 +80111,12 @@ Returns the result object. @validate_call def test_auth_with_http_info( body: KtestTestAuthRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -75829,12 +80156,12 @@ Returns the result object. @validate_call def test_auth_without_preload_content( body: KtestTestAuthRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -75901,12 +80228,12 @@ Do not edit the class manually. def get_catalog_instance( id: Annotated[StrictStr, Field(description="The name of the instance")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -75947,12 +80274,12 @@ Returns the result object. def get_catalog_instance_with_http_info( id: Annotated[StrictStr, Field(description="The name of the instance")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -75993,12 +80320,12 @@ Returns the result object. def get_catalog_instance_without_preload_content( id: Annotated[StrictStr, Field(description="The name of the instance")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -76039,20 +80366,22 @@ Returns the result object. def list_catalog_instances( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, id: Annotated[Optional[StrictStr], Field( description="(Optional) A filter for instances")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -76095,20 +80424,22 @@ Returns the result object. def list_catalog_instances_with_http_info( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, id: Annotated[Optional[StrictStr], Field( description="(Optional) A filter for instances")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -76151,20 +80482,22 @@ Returns the result object. def list_catalog_instances_without_preload_content( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, id: Annotated[Optional[StrictStr], Field( description="(Optional) A filter for instances")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -76235,33 +80568,36 @@ def exec_command( Field(description="ID of the resource to exec on.")] = None, body_command: Annotated[ Optional[List[StrictStr]], - Field(description="Command to exec. Mandatory in the first frame sent" - )] = None, + Field( + description="Command to exec. Mandatory in the first frame sent"), + ] = None, body_tty_size_height: Optional[StrictInt] = None, body_tty_size_width: Optional[StrictInt] = None, body_stdin_data: Annotated[ Optional[Union[StrictBytes, StrictStr]], - Field(description="Data is base64 encoded")] = None, + Field(description="Data is base64 encoded"), + ] = None, body_stdin_close: Annotated[ Optional[StrictBool], Field(description="Indicate last data frame")] = None, body_disable_tty: Annotated[ Optional[StrictBool], Field(description= - "Disable TTY. It's enough to specify it in the first frame" - )] = None, + "Disable TTY. It's enough to specify it in the first frame"), + ] = None, id_type: Annotated[ Optional[StrictStr], Field( description= "When specified, it is used to determine if the kind of resource the id refers to. If missing, defaults to the instance id." - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -76313,33 +80649,36 @@ def exec_command_with_http_info( Field(description="ID of the resource to exec on.")] = None, body_command: Annotated[ Optional[List[StrictStr]], - Field(description="Command to exec. Mandatory in the first frame sent" - )] = None, + Field( + description="Command to exec. Mandatory in the first frame sent"), + ] = None, body_tty_size_height: Optional[StrictInt] = None, body_tty_size_width: Optional[StrictInt] = None, body_stdin_data: Annotated[ Optional[Union[StrictBytes, StrictStr]], - Field(description="Data is base64 encoded")] = None, + Field(description="Data is base64 encoded"), + ] = None, body_stdin_close: Annotated[ Optional[StrictBool], Field(description="Indicate last data frame")] = None, body_disable_tty: Annotated[ Optional[StrictBool], Field(description= - "Disable TTY. It's enough to specify it in the first frame" - )] = None, + "Disable TTY. It's enough to specify it in the first frame"), + ] = None, id_type: Annotated[ Optional[StrictStr], Field( description= "When specified, it is used to determine if the kind of resource the id refers to. If missing, defaults to the instance id." - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -76391,33 +80730,36 @@ def exec_command_without_preload_content( Field(description="ID of the resource to exec on.")] = None, body_command: Annotated[ Optional[List[StrictStr]], - Field(description="Command to exec. Mandatory in the first frame sent" - )] = None, + Field( + description="Command to exec. Mandatory in the first frame sent"), + ] = None, body_tty_size_height: Optional[StrictInt] = None, body_tty_size_width: Optional[StrictInt] = None, body_stdin_data: Annotated[ Optional[Union[StrictBytes, StrictStr]], - Field(description="Data is base64 encoded")] = None, + Field(description="Data is base64 encoded"), + ] = None, body_stdin_close: Annotated[ Optional[StrictBool], Field(description="Indicate last data frame")] = None, body_disable_tty: Annotated[ Optional[StrictBool], Field(description= - "Disable TTY. It's enough to specify it in the first frame" - )] = None, + "Disable TTY. It's enough to specify it in the first frame"), + ] = None, id_type: Annotated[ Optional[StrictStr], Field( description= "When specified, it is used to determine if the kind of resource the id refers to. If missing, defaults to the instance id." - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -76467,12 +80809,12 @@ Returns the result object. def get_instance( id: Annotated[StrictStr, Field(description="The id of the instance")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -76513,12 +80855,12 @@ Returns the result object. def get_instance_with_http_info( id: Annotated[StrictStr, Field(description="The id of the instance")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -76559,12 +80901,12 @@ Returns the result object. def get_instance_without_preload_content( id: Annotated[StrictStr, Field(description="The id of the instance")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -76605,29 +80947,34 @@ Returns the result object. def list_instance_events( instance_ids: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on list of instance id")] = None, + Field(description="(Optional) Filter on list of instance id"), + ] = None, types: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on instance event types")] = None, + Field(description="(Optional) Filter on instance event types"), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, order: Annotated[ Optional[StrictStr], Field( description= "(Optional) Sorts the list in the ascending or the descending order" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -76672,29 +81019,34 @@ Returns the result object. def list_instance_events_with_http_info( instance_ids: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on list of instance id")] = None, + Field(description="(Optional) Filter on list of instance id"), + ] = None, types: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on instance event types")] = None, + Field(description="(Optional) Filter on instance event types"), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, order: Annotated[ Optional[StrictStr], Field( description= "(Optional) Sorts the list in the ascending or the descending order" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -76739,29 +81091,34 @@ Returns the result object. def list_instance_events_without_preload_content( instance_ids: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on list of instance id")] = None, + Field(description="(Optional) Filter on list of instance id"), + ] = None, types: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on instance event types")] = None, + Field(description="(Optional) Filter on instance event types"), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, order: Annotated[ Optional[StrictStr], Field( description= "(Optional) Sorts the list in the ascending or the descending order" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -76806,7 +81163,8 @@ Returns the result object. def list_instances( app_id: Annotated[ Optional[StrictStr], - Field(description="(Optional) Filter on application id")] = None, + Field(description="(Optional) Filter on application id"), + ] = None, service_id: Annotated[ Optional[StrictStr], Field(description="(Optional) Filter on service id")] = None, @@ -76815,8 +81173,8 @@ def list_instances( Field(description="(Optional) Filter on deployment id")] = None, regional_deployment_id: Annotated[ Optional[StrictStr], - Field( - description="(Optional) Filter on regional deployment id")] = None, + Field(description="(Optional) Filter on regional deployment id"), + ] = None, allocation_id: Annotated[ Optional[StrictStr], Field(description="(Optional) Filter on allocation id")] = None, @@ -76825,36 +81183,45 @@ def list_instances( Field(description="(Optional) Filter on replica index")] = None, statuses: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on instance statuses")] = None, + Field(description="(Optional) Filter on instance statuses"), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, order: Annotated[ Optional[StrictStr], Field( description= "(Optional) Sorts the list in the ascending or the descending order" - )] = None, + ), + ] = None, starting_time: Annotated[ Optional[datetime], - Field(description= - "(Optional) The starting time of the period of running instance" - )] = None, + Field( + description= + "(Optional) The starting time of the period of running instance"), + ] = None, ending_time: Annotated[ Optional[datetime], Field(description= - "(Optional) The ending time of the period of running instance" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + "(Optional) The ending time of the period of running instance"), + ] = None, + ids: Annotated[ + Optional[List[StrictStr]], + Field(description="(Optional) Filter on instance ids"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -76878,6 +81245,7 @@ List Instances - `order` (`str`): (Optional) Sorts the list in the ascending or the descending order - `starting_time` (`datetime`): (Optional) The starting time of the period of running instance - `ending_time` (`datetime`): (Optional) The ending time of the period of running instance +- `ids` (`List[str]`): (Optional) Filter on instance ids - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -76906,7 +81274,8 @@ Returns the result object. def list_instances_with_http_info( app_id: Annotated[ Optional[StrictStr], - Field(description="(Optional) Filter on application id")] = None, + Field(description="(Optional) Filter on application id"), + ] = None, service_id: Annotated[ Optional[StrictStr], Field(description="(Optional) Filter on service id")] = None, @@ -76915,8 +81284,8 @@ def list_instances_with_http_info( Field(description="(Optional) Filter on deployment id")] = None, regional_deployment_id: Annotated[ Optional[StrictStr], - Field( - description="(Optional) Filter on regional deployment id")] = None, + Field(description="(Optional) Filter on regional deployment id"), + ] = None, allocation_id: Annotated[ Optional[StrictStr], Field(description="(Optional) Filter on allocation id")] = None, @@ -76925,36 +81294,45 @@ def list_instances_with_http_info( Field(description="(Optional) Filter on replica index")] = None, statuses: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on instance statuses")] = None, + Field(description="(Optional) Filter on instance statuses"), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, order: Annotated[ Optional[StrictStr], Field( description= "(Optional) Sorts the list in the ascending or the descending order" - )] = None, + ), + ] = None, starting_time: Annotated[ Optional[datetime], - Field(description= - "(Optional) The starting time of the period of running instance" - )] = None, + Field( + description= + "(Optional) The starting time of the period of running instance"), + ] = None, ending_time: Annotated[ Optional[datetime], Field(description= - "(Optional) The ending time of the period of running instance" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + "(Optional) The ending time of the period of running instance"), + ] = None, + ids: Annotated[ + Optional[List[StrictStr]], + Field(description="(Optional) Filter on instance ids"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -76978,6 +81356,7 @@ List Instances - `order` (`str`): (Optional) Sorts the list in the ascending or the descending order - `starting_time` (`datetime`): (Optional) The starting time of the period of running instance - `ending_time` (`datetime`): (Optional) The ending time of the period of running instance +- `ids` (`List[str]`): (Optional) Filter on instance ids - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -77006,7 +81385,8 @@ Returns the result object. def list_instances_without_preload_content( app_id: Annotated[ Optional[StrictStr], - Field(description="(Optional) Filter on application id")] = None, + Field(description="(Optional) Filter on application id"), + ] = None, service_id: Annotated[ Optional[StrictStr], Field(description="(Optional) Filter on service id")] = None, @@ -77015,8 +81395,8 @@ def list_instances_without_preload_content( Field(description="(Optional) Filter on deployment id")] = None, regional_deployment_id: Annotated[ Optional[StrictStr], - Field( - description="(Optional) Filter on regional deployment id")] = None, + Field(description="(Optional) Filter on regional deployment id"), + ] = None, allocation_id: Annotated[ Optional[StrictStr], Field(description="(Optional) Filter on allocation id")] = None, @@ -77025,36 +81405,45 @@ def list_instances_without_preload_content( Field(description="(Optional) Filter on replica index")] = None, statuses: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on instance statuses")] = None, + Field(description="(Optional) Filter on instance statuses"), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, order: Annotated[ Optional[StrictStr], Field( description= "(Optional) Sorts the list in the ascending or the descending order" - )] = None, + ), + ] = None, starting_time: Annotated[ Optional[datetime], - Field(description= - "(Optional) The starting time of the period of running instance" - )] = None, + Field( + description= + "(Optional) The starting time of the period of running instance"), + ] = None, ending_time: Annotated[ Optional[datetime], Field(description= - "(Optional) The ending time of the period of running instance" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + "(Optional) The ending time of the period of running instance"), + ] = None, + ids: Annotated[ + Optional[List[StrictStr]], + Field(description="(Optional) Filter on instance ids"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -77078,6 +81467,7 @@ List Instances - `order` (`str`): (Optional) Sorts the list in the ascending or the descending order - `starting_time` (`datetime`): (Optional) The starting time of the period of running instance - `ending_time` (`datetime`): (Optional) The ending time of the period of running instance +- `ids` (`List[str]`): (Optional) Filter on instance ids - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -77131,12 +81521,12 @@ Do not edit the class manually. @validate_call def compose( compose: CreateCompose, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -77176,12 +81566,12 @@ Returns the result object. @validate_call def compose_with_http_info( compose: CreateCompose, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -77221,12 +81611,12 @@ Returns the result object. @validate_call def compose_without_preload_content( compose: CreateCompose, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -77291,12 +81681,12 @@ Do not edit the class manually. ```python @validate_call def has_unpaid_invoices( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -77336,12 +81726,12 @@ Returns the result object. ```python @validate_call def has_unpaid_invoices_with_http_info( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -77381,12 +81771,12 @@ Returns the result object. ```python @validate_call def has_unpaid_invoices_without_preload_content( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -77426,12 +81816,12 @@ Returns the result object. ```python @validate_call def manage( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -77469,12 +81859,12 @@ Returns the result object. ```python @validate_call def manage_with_http_info( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -77512,12 +81902,12 @@ Returns the result object. ```python @validate_call def manage_without_preload_content( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -77555,12 +81945,12 @@ Returns the result object. ```python @validate_call def next_invoice( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -77600,12 +81990,12 @@ Returns the result object. ```python @validate_call def next_invoice_with_http_info( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -77645,12 +82035,12 @@ Returns the result object. ```python @validate_call def next_invoice_without_preload_content( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -77718,12 +82108,12 @@ Do not edit the class manually. def search( query: Annotated[Optional[StrictStr], Field(description="(Optional) Search query")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -77764,12 +82154,12 @@ Returns the result object. def search_with_http_info( query: Annotated[Optional[StrictStr], Field(description="(Optional) Search query")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -77810,12 +82200,12 @@ Returns the result object. def search_without_preload_content( query: Annotated[Optional[StrictStr], Field(description="(Optional) Search query")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -77882,27 +82272,31 @@ Do not edit the class manually. def list_branches( repository_id: Annotated[ Optional[StrictStr], - Field(description="(Optional) Filter on one repository.")] = None, + Field(description="(Optional) Filter on one repository."), + ] = None, name: Annotated[ Optional[StrictStr], Field( description= "(Optional) Filter on branch name using a fuzzy search. Repository filter is required to enable this filter." - )] = None, + ), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return.")] = None, + Field(description="(Optional) The number of items to return."), + ] = None, offset: Annotated[ Optional[StrictStr], Field( description="(Optional) The offset in the list of item to return." - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -77946,27 +82340,31 @@ Returns the result object. def list_branches_with_http_info( repository_id: Annotated[ Optional[StrictStr], - Field(description="(Optional) Filter on one repository.")] = None, + Field(description="(Optional) Filter on one repository."), + ] = None, name: Annotated[ Optional[StrictStr], Field( description= "(Optional) Filter on branch name using a fuzzy search. Repository filter is required to enable this filter." - )] = None, + ), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return.")] = None, + Field(description="(Optional) The number of items to return."), + ] = None, offset: Annotated[ Optional[StrictStr], Field( description="(Optional) The offset in the list of item to return." - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -78010,27 +82408,31 @@ Returns the result object. def list_branches_without_preload_content( repository_id: Annotated[ Optional[StrictStr], - Field(description="(Optional) Filter on one repository.")] = None, + Field(description="(Optional) Filter on one repository."), + ] = None, name: Annotated[ Optional[StrictStr], Field( description= "(Optional) Filter on branch name using a fuzzy search. Repository filter is required to enable this filter." - )] = None, + ), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return.")] = None, + Field(description="(Optional) The number of items to return."), + ] = None, offset: Annotated[ Optional[StrictStr], Field( description="(Optional) The offset in the list of item to return." - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -78075,28 +82477,31 @@ def list_repositories( name: Annotated[ Optional[StrictStr], Field(description= - "(Optional) Filter on repository name using a fuzzy search." - )] = None, + "(Optional) Filter on repository name using a fuzzy search."), + ] = None, name_search_op: Annotated[ Optional[StrictStr], Field( description= - "(Optional) Define search operation for repository name. Accept either \"fuzzy\" or \"equality\", use \"fuzzy\" by default." - )] = None, + '(Optional) Define search operation for repository name. Accept either "fuzzy" or "equality", use "fuzzy" by default.' + ), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return.")] = None, + Field(description="(Optional) The number of items to return."), + ] = None, offset: Annotated[ Optional[StrictStr], Field( description="(Optional) The offset in the list of item to return." - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -78141,28 +82546,31 @@ def list_repositories_with_http_info( name: Annotated[ Optional[StrictStr], Field(description= - "(Optional) Filter on repository name using a fuzzy search." - )] = None, + "(Optional) Filter on repository name using a fuzzy search."), + ] = None, name_search_op: Annotated[ Optional[StrictStr], Field( description= - "(Optional) Define search operation for repository name. Accept either \"fuzzy\" or \"equality\", use \"fuzzy\" by default." - )] = None, + '(Optional) Define search operation for repository name. Accept either "fuzzy" or "equality", use "fuzzy" by default.' + ), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return.")] = None, + Field(description="(Optional) The number of items to return."), + ] = None, offset: Annotated[ Optional[StrictStr], Field( description="(Optional) The offset in the list of item to return." - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -78207,28 +82615,31 @@ def list_repositories_without_preload_content( name: Annotated[ Optional[StrictStr], Field(description= - "(Optional) Filter on repository name using a fuzzy search." - )] = None, + "(Optional) Filter on repository name using a fuzzy search."), + ] = None, name_search_op: Annotated[ Optional[StrictStr], Field( description= - "(Optional) Define search operation for repository name. Accept either \"fuzzy\" or \"equality\", use \"fuzzy\" by default." - )] = None, + '(Optional) Define search operation for repository name. Accept either "fuzzy" or "equality", use "fuzzy" by default.' + ), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return.")] = None, + Field(description="(Optional) The number of items to return."), + ] = None, offset: Annotated[ Optional[StrictStr], Field( description="(Optional) The offset in the list of item to return." - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -78271,12 +82682,12 @@ Returns the result object. @validate_call def resync_organization( organization_id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -78315,12 +82726,12 @@ Returns the result object. @validate_call def resync_organization_with_http_info( organization_id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -78360,12 +82771,12 @@ Returns the result object. @validate_call def resync_organization_without_preload_content( organization_id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -78431,12 +82842,12 @@ Do not edit the class manually. @validate_call def create_instance_snapshot( body: CreateInstanceSnapshotRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -78476,12 +82887,12 @@ Returns the result object. @validate_call def create_instance_snapshot_with_http_info( body: CreateInstanceSnapshotRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -78521,12 +82932,12 @@ Returns the result object. @validate_call def create_instance_snapshot_without_preload_content( body: CreateInstanceSnapshotRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -78566,12 +82977,12 @@ Returns the result object. @validate_call def delete_instance_snapshot( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -78611,12 +83022,12 @@ Returns the result object. @validate_call def delete_instance_snapshot_with_http_info( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -78656,12 +83067,12 @@ Returns the result object. @validate_call def delete_instance_snapshot_without_preload_content( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -78701,12 +83112,12 @@ Returns the result object. @validate_call def get_instance_snapshot( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -78746,12 +83157,12 @@ Returns the result object. @validate_call def get_instance_snapshot_with_http_info( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -78791,12 +83202,12 @@ Returns the result object. @validate_call def get_instance_snapshot_without_preload_content( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -78837,30 +83248,35 @@ Returns the result object. def list_instance_snapshot_events( instance_snapshot_id: Annotated[ Optional[StrictStr], - Field(description="(Optional) Filter on instance snapshot id")] = None, + Field(description="(Optional) Filter on instance snapshot id"), + ] = None, types: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on instance snapshot event types" - )] = None, + Field( + description="(Optional) Filter on instance snapshot event types"), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, order: Annotated[ Optional[StrictStr], Field( description= "(Optional) Sorts the list in the ascending or the descending order" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -78905,30 +83321,35 @@ Returns the result object. def list_instance_snapshot_events_with_http_info( instance_snapshot_id: Annotated[ Optional[StrictStr], - Field(description="(Optional) Filter on instance snapshot id")] = None, + Field(description="(Optional) Filter on instance snapshot id"), + ] = None, types: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on instance snapshot event types" - )] = None, + Field( + description="(Optional) Filter on instance snapshot event types"), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, order: Annotated[ Optional[StrictStr], Field( description= "(Optional) Sorts the list in the ascending or the descending order" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -78973,30 +83394,35 @@ Returns the result object. def list_instance_snapshot_events_without_preload_content( instance_snapshot_id: Annotated[ Optional[StrictStr], - Field(description="(Optional) Filter on instance snapshot id")] = None, + Field(description="(Optional) Filter on instance snapshot id"), + ] = None, types: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on instance snapshot event types" - )] = None, + Field( + description="(Optional) Filter on instance snapshot event types"), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, order: Annotated[ Optional[StrictStr], Field( description= "(Optional) Sorts the list in the ascending or the descending order" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -79044,12 +83470,13 @@ def list_instance_snapshots( name: Optional[StrictStr] = None, statuses: Optional[List[StrictStr]] = None, type: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ids: Optional[List[StrictStr]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -79066,6 +83493,7 @@ list_instance_snapshots - `name` (`str`): - `statuses` (`List[str]`): - `type` (`str`): +- `ids` (`List[str]`): - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -79097,12 +83525,13 @@ def list_instance_snapshots_with_http_info( name: Optional[StrictStr] = None, statuses: Optional[List[StrictStr]] = None, type: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ids: Optional[List[StrictStr]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -79119,6 +83548,7 @@ list_instance_snapshots - `name` (`str`): - `statuses` (`List[str]`): - `type` (`str`): +- `ids` (`List[str]`): - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -79150,12 +83580,13 @@ def list_instance_snapshots_without_preload_content( name: Optional[StrictStr] = None, statuses: Optional[List[StrictStr]] = None, type: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ids: Optional[List[StrictStr]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -79172,6 +83603,7 @@ list_instance_snapshots - `name` (`str`): - `statuses` (`List[str]`): - `type` (`str`): +- `ids` (`List[str]`): - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -79225,12 +83657,12 @@ Do not edit the class manually. @validate_call def create_snapshot( body: CreateSnapshotRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -79270,12 +83702,12 @@ Returns the result object. @validate_call def create_snapshot_with_http_info( body: CreateSnapshotRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -79315,12 +83747,12 @@ Returns the result object. @validate_call def create_snapshot_without_preload_content( body: CreateSnapshotRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -79360,12 +83792,12 @@ Returns the result object. @validate_call def delete_snapshot( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -79405,12 +83837,12 @@ Returns the result object. @validate_call def delete_snapshot_with_http_info( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -79450,12 +83882,12 @@ Returns the result object. @validate_call def delete_snapshot_without_preload_content( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -79495,12 +83927,12 @@ Returns the result object. @validate_call def get_snapshot( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -79540,12 +83972,12 @@ Returns the result object. @validate_call def get_snapshot_with_http_info( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -79585,12 +84017,12 @@ Returns the result object. @validate_call def get_snapshot_without_preload_content( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -79631,29 +84063,37 @@ Returns the result object. def list_snapshots( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, organization_id: Annotated[ Optional[StrictStr], - Field(description="(Optional) Filter by organization_id")] = None, + Field(description="(Optional) Filter by organization_id"), + ] = None, statuses: Annotated[ Optional[List[StrictStr]], Field( description= "(Optional) Filter by status - SNAPSHOT_STATUS_INVALID: zero value, invalid - SNAPSHOT_STATUS_CREATING: the snapshot is being created - SNAPSHOT_STATUS_AVAILABLE: the snapshot is complete and available - SNAPSHOT_STATUS_MIGRATING: the snapshot is being migrated - SNAPSHOT_STATUS_DELETING: the snapshot is being deleted - SNAPSHOT_STATUS_DELETED: the snapshot is deleted" - )] = None, + ), + ] = None, region: Annotated[ Optional[StrictStr], Field(description="(Optional) A filter for the region")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ids: Annotated[ + Optional[List[StrictStr]], + Field(description="(Optional) Filter on snapshot ids"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -79670,6 +84110,7 @@ List all Snapshots - `organization_id` (`str`): (Optional) Filter by organization_id - `statuses` (`List[str]`): (Optional) Filter by status - SNAPSHOT_STATUS_INVALID: zero value, invalid - SNAPSHOT_STATUS_CREATING: the snapshot is being created - SNAPSHOT_STATUS_AVAILABLE: the snapshot is complete and available - SNAPSHOT_STATUS_MIGRATING: the snapshot is being migrated - SNAPSHOT_STATUS_DELETING: the snapshot is being deleted - SNAPSHOT_STATUS_DELETED: the snapshot is deleted - `region` (`str`): (Optional) A filter for the region +- `ids` (`List[str]`): (Optional) Filter on snapshot ids - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -79698,29 +84139,37 @@ Returns the result object. def list_snapshots_with_http_info( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, organization_id: Annotated[ Optional[StrictStr], - Field(description="(Optional) Filter by organization_id")] = None, + Field(description="(Optional) Filter by organization_id"), + ] = None, statuses: Annotated[ Optional[List[StrictStr]], Field( description= "(Optional) Filter by status - SNAPSHOT_STATUS_INVALID: zero value, invalid - SNAPSHOT_STATUS_CREATING: the snapshot is being created - SNAPSHOT_STATUS_AVAILABLE: the snapshot is complete and available - SNAPSHOT_STATUS_MIGRATING: the snapshot is being migrated - SNAPSHOT_STATUS_DELETING: the snapshot is being deleted - SNAPSHOT_STATUS_DELETED: the snapshot is deleted" - )] = None, + ), + ] = None, region: Annotated[ Optional[StrictStr], Field(description="(Optional) A filter for the region")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ids: Annotated[ + Optional[List[StrictStr]], + Field(description="(Optional) Filter on snapshot ids"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -79737,6 +84186,7 @@ List all Snapshots - `organization_id` (`str`): (Optional) Filter by organization_id - `statuses` (`List[str]`): (Optional) Filter by status - SNAPSHOT_STATUS_INVALID: zero value, invalid - SNAPSHOT_STATUS_CREATING: the snapshot is being created - SNAPSHOT_STATUS_AVAILABLE: the snapshot is complete and available - SNAPSHOT_STATUS_MIGRATING: the snapshot is being migrated - SNAPSHOT_STATUS_DELETING: the snapshot is being deleted - SNAPSHOT_STATUS_DELETED: the snapshot is deleted - `region` (`str`): (Optional) A filter for the region +- `ids` (`List[str]`): (Optional) Filter on snapshot ids - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -79765,29 +84215,37 @@ Returns the result object. def list_snapshots_without_preload_content( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, organization_id: Annotated[ Optional[StrictStr], - Field(description="(Optional) Filter by organization_id")] = None, + Field(description="(Optional) Filter by organization_id"), + ] = None, statuses: Annotated[ Optional[List[StrictStr]], Field( description= "(Optional) Filter by status - SNAPSHOT_STATUS_INVALID: zero value, invalid - SNAPSHOT_STATUS_CREATING: the snapshot is being created - SNAPSHOT_STATUS_AVAILABLE: the snapshot is complete and available - SNAPSHOT_STATUS_MIGRATING: the snapshot is being migrated - SNAPSHOT_STATUS_DELETING: the snapshot is being deleted - SNAPSHOT_STATUS_DELETED: the snapshot is deleted" - )] = None, + ), + ] = None, region: Annotated[ Optional[StrictStr], Field(description="(Optional) A filter for the region")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ids: Annotated[ + Optional[List[StrictStr]], + Field(description="(Optional) Filter on snapshot ids"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -79804,6 +84262,7 @@ List all Snapshots - `organization_id` (`str`): (Optional) Filter by organization_id - `statuses` (`List[str]`): (Optional) Filter by status - SNAPSHOT_STATUS_INVALID: zero value, invalid - SNAPSHOT_STATUS_CREATING: the snapshot is being created - SNAPSHOT_STATUS_AVAILABLE: the snapshot is complete and available - SNAPSHOT_STATUS_MIGRATING: the snapshot is being migrated - SNAPSHOT_STATUS_DELETING: the snapshot is being deleted - SNAPSHOT_STATUS_DELETED: the snapshot is deleted - `region` (`str`): (Optional) A filter for the region +- `ids` (`List[str]`): (Optional) Filter on snapshot ids - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -79833,12 +84292,12 @@ def update_snapshot( id: Annotated[StrictStr, Field(description="The id of the snapshot")], body: UpdateSnapshotRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -79881,12 +84340,12 @@ def update_snapshot_with_http_info( id: Annotated[StrictStr, Field(description="The id of the snapshot")], body: UpdateSnapshotRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -79929,12 +84388,12 @@ def update_snapshot_without_preload_content( id: Annotated[StrictStr, Field(description="The id of the snapshot")], body: UpdateSnapshotRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -80001,12 +84460,12 @@ Do not edit the class manually. @validate_call def get_quotas( organization_id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -80046,12 +84505,12 @@ Returns the result object. @validate_call def get_quotas_with_http_info( organization_id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -80091,12 +84550,12 @@ Returns the result object. @validate_call def get_quotas_without_preload_content( organization_id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, diff --git a/docs/api_async.md b/docs/api_async.md index 3b2caad0..a143b221 100644 --- a/docs/api_async.md +++ b/docs/api_async.md @@ -128,7 +128,7 @@ def __init__(host: Optional[str] = None, connection_pool_maxsize: Optional[int] = None, proxy: Optional[str] = None, proxy_headers: Optional[Any] = None, - safe_chars_for_path_param: str = '', + safe_chars_for_path_param: str = "", client_side_validation: bool = True, socket_options: Optional[Any] = None, datetime_format: str = "%Y-%m-%dT%H:%M:%S.%f%z", @@ -413,6 +413,52 @@ def host(value: str) -> None Fix base path. + + +# koyeb/api\_async.test.test\_service\_pool + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## TestServicePool Objects + +```python +class TestServicePool(unittest.TestCase) +``` + +ServicePool unit test stubs + + + +#### make\_instance + +```python +def make_instance(include_optional) -> ServicePool +``` + +Test ServicePool +include_optional is a boolean, when False only required +params are included, when True both required and +optional params are included + + + +#### testServicePool + +```python +def testServicePool() +``` + +Test ServicePool + # koyeb/api\_async.test.test\_get\_metrics\_reply\_metric @@ -538,6 +584,52 @@ def testKgitproxyIndexingStatus() Test KgitproxyIndexingStatus + + +# koyeb/api\_async.test.test\_persistent\_volume\_region\_usage + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## TestPersistentVolumeRegionUsage Objects + +```python +class TestPersistentVolumeRegionUsage(unittest.TestCase) +``` + +PersistentVolumeRegionUsage unit test stubs + + + +#### make\_instance + +```python +def make_instance(include_optional) -> PersistentVolumeRegionUsage +``` + +Test PersistentVolumeRegionUsage +include_optional is a boolean, when False only required +params are included, when True both required and +optional params are included + + + +#### testPersistentVolumeRegionUsage + +```python +def testPersistentVolumeRegionUsage() +``` + +Test PersistentVolumeRegionUsage + # koyeb/api\_async.test.test\_declare\_stage\_progress\_request @@ -2512,6 +2604,52 @@ def testEgressPolicy() Test EgressPolicy + + +# koyeb/api\_async.test.test\_create\_service\_pool + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## TestCreateServicePool Objects + +```python +class TestCreateServicePool(unittest.TestCase) +``` + +CreateServicePool unit test stubs + + + +#### make\_instance + +```python +def make_instance(include_optional) -> CreateServicePool +``` + +Test CreateServicePool +include_optional is a boolean, when False only required +params are included, when True both required and +optional params are included + + + +#### testCreateServicePool + +```python +def testCreateServicePool() +``` + +Test CreateServicePool + # koyeb/api\_async.test.test\_desired\_deployment @@ -3313,6 +3451,52 @@ def testNotificationList() Test NotificationList + + +# koyeb/api\_async.test.test\_update\_service\_pool\_reply + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## TestUpdateServicePoolReply Objects + +```python +class TestUpdateServicePoolReply(unittest.TestCase) +``` + +UpdateServicePoolReply unit test stubs + + + +#### make\_instance + +```python +def make_instance(include_optional) -> UpdateServicePoolReply +``` + +Test UpdateServicePoolReply +include_optional is a boolean, when False only required +params are included, when True both required and +optional params are included + + + +#### testUpdateServicePoolReply + +```python +def testUpdateServicePoolReply() +``` + +Test UpdateServicePoolReply + # koyeb/api\_async.test.test\_user @@ -5633,6 +5817,52 @@ def testRegionalDeploymentEvent() Test RegionalDeploymentEvent + + +# koyeb/api\_async.test.test\_mesh + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## TestMesh Objects + +```python +class TestMesh(unittest.TestCase) +``` + +Mesh unit test stubs + + + +#### make\_instance + +```python +def make_instance(include_optional) -> Mesh +``` + +Test Mesh +include_optional is a boolean, when False only required +params are included, when True both required and +optional params are included + + + +#### testMesh + +```python +def testMesh() +``` + +Test Mesh + # koyeb/api\_async.test.test\_reset\_password\_request @@ -7606,6 +7836,52 @@ Test case for remove_organization_member Remove an organization member + + +# koyeb/api\_async.test.test\_update\_service\_pool + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## TestUpdateServicePool Objects + +```python +class TestUpdateServicePool(unittest.TestCase) +``` + +UpdateServicePool unit test stubs + + + +#### make\_instance + +```python +def make_instance(include_optional) -> UpdateServicePool +``` + +Test UpdateServicePool +include_optional is a boolean, when False only required +params are included, when True both required and +optional params are included + + + +#### testUpdateServicePool + +```python +def testUpdateServicePool() +``` + +Test UpdateServicePool + # koyeb/api\_async.test.test\_update\_organization\_reply @@ -7928,6 +8204,52 @@ def testCreateInstanceSnapshotRequest() Test CreateInstanceSnapshotRequest + + +# koyeb/api\_async.test.test\_pool\_claim\_request + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## TestPoolClaimRequest Objects + +```python +class TestPoolClaimRequest(unittest.TestCase) +``` + +PoolClaimRequest unit test stubs + + + +#### make\_instance + +```python +def make_instance(include_optional) -> PoolClaimRequest +``` + +Test PoolClaimRequest +include_optional is a boolean, when False only required +params are included, when True both required and +optional params are included + + + +#### testPoolClaimRequest + +```python +def testPoolClaimRequest() +``` + +Test PoolClaimRequest + # koyeb/api\_async.test @@ -9318,6 +9640,39 @@ def testGitSource() Test GitSource + + +# koyeb/api\_async.test.test\_mesh\_scope + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## TestMeshScope Objects + +```python +class TestMeshScope(unittest.TestCase) +``` + +MeshScope unit test stubs + + + +#### testMeshScope + +```python +def testMeshScope() +``` + +Test MeshScope + # koyeb/api\_async.test.test\_instance\_event @@ -9410,6 +9765,52 @@ def testDockerBuilder() Test DockerBuilder + + +# koyeb/api\_async.test.test\_create\_service\_pool\_reply + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## TestCreateServicePoolReply Objects + +```python +class TestCreateServicePoolReply(unittest.TestCase) +``` + +CreateServicePoolReply unit test stubs + + + +#### make\_instance + +```python +def make_instance(include_optional) -> CreateServicePoolReply +``` + +Test CreateServicePoolReply +include_optional is a boolean, when False only required +params are included, when True both required and +optional params are included + + + +#### testCreateServicePoolReply + +```python +def testCreateServicePoolReply() +``` + +Test CreateServicePoolReply + # koyeb/api\_async.test.test\_get\_region\_reply @@ -10632,6 +11033,98 @@ Test case for update_secret2 Update Secret + + +# koyeb/api\_async.test.test\_instance\_type\_usage + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## TestInstanceTypeUsage Objects + +```python +class TestInstanceTypeUsage(unittest.TestCase) +``` + +InstanceTypeUsage unit test stubs + + + +#### make\_instance + +```python +def make_instance(include_optional) -> InstanceTypeUsage +``` + +Test InstanceTypeUsage +include_optional is a boolean, when False only required +params are included, when True both required and +optional params are included + + + +#### testInstanceTypeUsage + +```python +def testInstanceTypeUsage() +``` + +Test InstanceTypeUsage + + + +# koyeb/api\_async.test.test\_list\_service\_pools\_reply + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## TestListServicePoolsReply Objects + +```python +class TestListServicePoolsReply(unittest.TestCase) +``` + +ListServicePoolsReply unit test stubs + + + +#### make\_instance + +```python +def make_instance(include_optional) -> ListServicePoolsReply +``` + +Test ListServicePoolsReply +include_optional is a boolean, when False only required +params are included, when True both required and +optional params are included + + + +#### testListServicePoolsReply + +```python +def testListServicePoolsReply() +``` + +Test ListServicePoolsReply + # koyeb/api\_async.test.test\_update\_user\_settings\_request @@ -11967,6 +12460,52 @@ def testSecurityPolicies() Test SecurityPolicies + + +# koyeb/api\_async.test.test\_instance\_snapshot\_type\_usage + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## TestInstanceSnapshotTypeUsage Objects + +```python +class TestInstanceSnapshotTypeUsage(unittest.TestCase) +``` + +InstanceSnapshotTypeUsage unit test stubs + + + +#### make\_instance + +```python +def make_instance(include_optional) -> InstanceSnapshotTypeUsage +``` + +Test InstanceSnapshotTypeUsage +include_optional is a boolean, when False only required +params are included, when True both required and +optional params are included + + + +#### testInstanceSnapshotTypeUsage + +```python +def testInstanceSnapshotTypeUsage() +``` + +Test InstanceSnapshotTypeUsage + # koyeb/api\_async.test.test\_credentials\_api @@ -12062,6 +12601,52 @@ Test case for update_credential2 Update credential + + +# koyeb/api\_async.test.test\_get\_service\_pool\_reply + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## TestGetServicePoolReply Objects + +```python +class TestGetServicePoolReply(unittest.TestCase) +``` + +GetServicePoolReply unit test stubs + + + +#### make\_instance + +```python +def make_instance(include_optional) -> GetServicePoolReply +``` + +Test GetServicePoolReply +include_optional is a boolean, when False only required +params are included, when True both required and +optional params are included + + + +#### testGetServicePoolReply + +```python +def testGetServicePoolReply() +``` + +Test GetServicePoolReply + # koyeb/api\_async.test.test\_user\_role\_role @@ -13482,6 +14067,52 @@ def testRegionAvailability() Test RegionAvailability + + +# koyeb/api\_async.test.test\_list\_pool\_claim\_reply + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## TestListPoolClaimReply Objects + +```python +class TestListPoolClaimReply(unittest.TestCase) +``` + +ListPoolClaimReply unit test stubs + + + +#### make\_instance + +```python +def make_instance(include_optional) -> ListPoolClaimReply +``` + +Test ListPoolClaimReply +include_optional is a boolean, when False only required +params are included, when True both required and +optional params are included + + + +#### testListPoolClaimReply + +```python +def testListPoolClaimReply() +``` + +Test ListPoolClaimReply + # koyeb/api\_async.test.test\_login\_method\_reply @@ -15049,6 +15680,39 @@ def testInstanceAvailability() Test InstanceAvailability + + +# koyeb/api\_async.test.test\_service\_pool\_status + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## TestServicePoolStatus Objects + +```python +class TestServicePoolStatus(unittest.TestCase) +``` + +ServicePoolStatus unit test stubs + + + +#### testServicePoolStatus + +```python +def testServicePoolStatus() +``` + +Test ServicePoolStatus + # koyeb/api\_async.test.test\_snapshot @@ -16480,6 +17144,52 @@ def testMetricName() Test MetricName + + +# koyeb/api\_async.test.test\_pool\_claim + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## TestPoolClaim Objects + +```python +class TestPoolClaim(unittest.TestCase) +``` + +PoolClaim unit test stubs + + + +#### make\_instance + +```python +def make_instance(include_optional) -> PoolClaim +``` + +Test PoolClaim +include_optional is a boolean, when False only required +params are included, when True both required and +optional params are included + + + +#### testPoolClaim + +```python +def testPoolClaim() +``` + +Test PoolClaim + # koyeb/api\_async.test.test\_deployment\_scaling\_target\_requests\_per\_second @@ -16527,6 +17237,98 @@ def testDeploymentScalingTargetRequestsPerSecond() Test DeploymentScalingTargetRequestsPerSecond + + +# koyeb/api\_async.test.test\_get\_pool\_claim\_reply + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## TestGetPoolClaimReply Objects + +```python +class TestGetPoolClaimReply(unittest.TestCase) +``` + +GetPoolClaimReply unit test stubs + + + +#### make\_instance + +```python +def make_instance(include_optional) -> GetPoolClaimReply +``` + +Test GetPoolClaimReply +include_optional is a boolean, when False only required +params are included, when True both required and +optional params are included + + + +#### testGetPoolClaimReply + +```python +def testGetPoolClaimReply() +``` + +Test GetPoolClaimReply + + + +# koyeb/api\_async.test.test\_quota\_usage + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## TestQuotaUsage Objects + +```python +class TestQuotaUsage(unittest.TestCase) +``` + +QuotaUsage unit test stubs + + + +#### make\_instance + +```python +def make_instance(include_optional) -> QuotaUsage +``` + +Test QuotaUsage +include_optional is a boolean, when False only required +params are included, when True both required and +optional params are included + + + +#### testQuotaUsage + +```python +def testQuotaUsage() +``` + +Test QuotaUsage + # koyeb/api\_async.test.test\_get\_organization\_reply @@ -17618,6 +18420,52 @@ def testDatabaseUsage() Test DatabaseUsage + + +# koyeb/api\_async.test.test\_get\_organization\_quotas\_usage\_reply + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## TestGetOrganizationQuotasUsageReply Objects + +```python +class TestGetOrganizationQuotasUsageReply(unittest.TestCase) +``` + +GetOrganizationQuotasUsageReply unit test stubs + + + +#### make\_instance + +```python +def make_instance(include_optional) -> GetOrganizationQuotasUsageReply +``` + +Test GetOrganizationQuotasUsageReply +include_optional is a boolean, when False only required +params are included, when True both required and +optional params are included + + + +#### testGetOrganizationQuotasUsageReply + +```python +def testGetOrganizationQuotasUsageReply() +``` + +Test GetOrganizationQuotasUsageReply + # koyeb/api\_async.test.test\_kgitproxy\_git\_hub\_repository @@ -18705,6 +19553,52 @@ def testKsearchService() Test KsearchService + + +# koyeb/api\_async.test.test\_pool\_claim\_reply + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## TestPoolClaimReply Objects + +```python +class TestPoolClaimReply(unittest.TestCase) +``` + +PoolClaimReply unit test stubs + + + +#### make\_instance + +```python +def make_instance(include_optional) -> PoolClaimReply +``` + +Test PoolClaimReply +include_optional is a boolean, when False only required +params are included, when True both required and +optional params are included + + + +#### testPoolClaimReply + +```python +def testPoolClaimReply() +``` + +Test PoolClaimReply + # koyeb/api\_async.test.test\_decline\_organization\_invitation\_reply @@ -19521,6 +20415,39 @@ def testDeactivateOrganizationReply() Test DeactivateOrganizationReply + + +# koyeb/api\_async.test.test\_pool\_claim\_status + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## TestPoolClaimStatus Objects + +```python +class TestPoolClaimStatus(unittest.TestCase) +``` + +PoolClaimStatus unit test stubs + + + +#### testPoolClaimStatus + +```python +def testPoolClaimStatus() +``` + +Test PoolClaimStatus + # koyeb/api\_async.test.test\_domain\_load\_balancer\_quotas @@ -20093,6 +21020,65 @@ def testCreateDomainReply() Test CreateDomainReply + + +# koyeb/api\_async.test.test\_pool\_claims\_api + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## TestPoolClaimsApi Objects + +```python +class TestPoolClaimsApi(unittest.IsolatedAsyncioTestCase) +``` + +PoolClaimsApi unit test stubs + + + +#### test\_claim + +```python +async def test_claim() -> None +``` + +Test case for claim + +Claim a sandbox from a service pool + + + +#### test\_get\_claim + +```python +async def test_get_claim() -> None +``` + +Test case for get_claim + +Get a claim + + + +#### test\_list\_claim + +```python +async def test_list_claim() -> None +``` + +Test case for list_claim + +List claims of a service pool + # koyeb/api\_async.test.test\_accept\_organization\_invitation\_reply @@ -20709,6 +21695,75 @@ def testAppStatus() Test AppStatus + + +# koyeb/api\_async.test.test\_service\_pools\_api + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## TestServicePoolsApi Objects + +```python +class TestServicePoolsApi(unittest.IsolatedAsyncioTestCase) +``` + +ServicePoolsApi unit test stubs + + + +#### test\_create\_service\_pool + +```python +async def test_create_service_pool() -> None +``` + +Test case for create_service_pool + +Create a ServicePool + + + +#### test\_get\_service\_pool + +```python +async def test_get_service_pool() -> None +``` + +Test case for get_service_pool + +Get a ServicePool + + + +#### test\_list\_service\_pools + +```python +async def test_list_service_pools() -> None +``` + +Test case for list_service_pools + +List ServicePools + + + +#### test\_update\_service\_pool + +```python +async def test_update_service_pool() -> None +``` + +Test case for update_service_pool + # koyeb/api\_async.test.test\_persistent\_volume @@ -24037,6 +25092,88 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] Create an instance of ListSnapshotsReply from a dict + + +# koyeb/api\_async.models.pool\_claim + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## PoolClaim Objects + +```python +class PoolClaim(BaseModel) +``` + +PoolClaim + + + +#### to\_str + +```python +def to_str() -> str +``` + +Returns the string representation of the model using alias + + + +#### to\_json + +```python +def to_json() -> str +``` + +Returns the JSON representation of the model using alias + + + +#### from\_json + +```python +@classmethod +def from_json(cls, json_str: str) -> Optional[Self] +``` + +Create an instance of PoolClaim from a JSON string + + + +#### to\_dict + +```python +def to_dict() -> Dict[str, Any] +``` + +Return the dictionary representation of the model using alias. + +This has the following differences from calling pydantic's +`self.model_dump(by_alias=True)`: + +* `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + + + +#### from\_dict + +```python +@classmethod +def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] +``` + +Create an instance of PoolClaim from a dict + # koyeb/api\_async.models.canny\_auth\_reply @@ -26107,6 +27244,88 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] Create an instance of Token from a dict + + +# koyeb/api\_async.models.get\_service\_pool\_reply + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## GetServicePoolReply Objects + +```python +class GetServicePoolReply(BaseModel) +``` + +GetServicePoolReply + + + +#### to\_str + +```python +def to_str() -> str +``` + +Returns the string representation of the model using alias + + + +#### to\_json + +```python +def to_json() -> str +``` + +Returns the JSON representation of the model using alias + + + +#### from\_json + +```python +@classmethod +def from_json(cls, json_str: str) -> Optional[Self] +``` + +Create an instance of GetServicePoolReply from a JSON string + + + +#### to\_dict + +```python +def to_dict() -> Dict[str, Any] +``` + +Return the dictionary representation of the model using alias. + +This has the following differences from calling pydantic's +`self.model_dump(by_alias=True)`: + +* `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + + + +#### from\_dict + +```python +@classmethod +def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] +``` + +Create an instance of GetServicePoolReply from a dict + # koyeb/api\_async.models.deployment\_proxy\_port @@ -26749,6 +27968,88 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] Create an instance of CreateCompose from a dict + + +# koyeb/api\_async.models.pool\_claim\_reply + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## PoolClaimReply Objects + +```python +class PoolClaimReply(BaseModel) +``` + +PoolClaimReply + + + +#### to\_str + +```python +def to_str() -> str +``` + +Returns the string representation of the model using alias + + + +#### to\_json + +```python +def to_json() -> str +``` + +Returns the JSON representation of the model using alias + + + +#### from\_json + +```python +@classmethod +def from_json(cls, json_str: str) -> Optional[Self] +``` + +Create an instance of PoolClaimReply from a JSON string + + + +#### to\_dict + +```python +def to_dict() -> Dict[str, Any] +``` + +Return the dictionary representation of the model using alias. + +This has the following differences from calling pydantic's +`self.model_dump(by_alias=True)`: + +* `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + + + +#### from\_dict + +```python +@classmethod +def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] +``` + +Create an instance of PoolClaimReply from a dict + # koyeb/api\_async.models.payment\_method @@ -28225,6 +29526,88 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] Create an instance of NeonPostgresDatabase from a dict + + +# koyeb/api\_async.models.update\_service\_pool + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## UpdateServicePool Objects + +```python +class UpdateServicePool(BaseModel) +``` + +UpdateServicePool + + + +#### to\_str + +```python +def to_str() -> str +``` + +Returns the string representation of the model using alias + + + +#### to\_json + +```python +def to_json() -> str +``` + +Returns the JSON representation of the model using alias + + + +#### from\_json + +```python +@classmethod +def from_json(cls, json_str: str) -> Optional[Self] +``` + +Create an instance of UpdateServicePool from a JSON string + + + +#### to\_dict + +```python +def to_dict() -> Dict[str, Any] +``` + +Return the dictionary representation of the model using alias. + +This has the following differences from calling pydantic's +`self.model_dump(by_alias=True)`: + +* `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + + + +#### from\_dict + +```python +@classmethod +def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] +``` + +Create an instance of UpdateServicePool from a dict + # koyeb/api\_async.models.decline\_organization\_invitation\_reply @@ -29933,6 +31316,88 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] Create an instance of UpdateUserSettingsRequest from a dict + + +# koyeb/api\_async.models.create\_service\_pool + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## CreateServicePool Objects + +```python +class CreateServicePool(BaseModel) +``` + +CreateServicePool + + + +#### to\_str + +```python +def to_str() -> str +``` + +Returns the string representation of the model using alias + + + +#### to\_json + +```python +def to_json() -> str +``` + +Returns the JSON representation of the model using alias + + + +#### from\_json + +```python +@classmethod +def from_json(cls, json_str: str) -> Optional[Self] +``` + +Create an instance of CreateServicePool from a JSON string + + + +#### to\_dict + +```python +def to_dict() -> Dict[str, Any] +``` + +Return the dictionary representation of the model using alias. + +This has the following differences from calling pydantic's +`self.model_dump(by_alias=True)`: + +* `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + + + +#### from\_dict + +```python +@classmethod +def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] +``` + +Create an instance of CreateServicePool from a dict + # koyeb/api\_async.models.user\_role\_role @@ -31265,6 +32730,88 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] Create an instance of DigitalOceanRegistryConfiguration from a dict + + +# koyeb/api\_async.models.instance\_snapshot\_type\_usage + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## InstanceSnapshotTypeUsage Objects + +```python +class InstanceSnapshotTypeUsage(BaseModel) +``` + +InstanceSnapshotTypeUsage + + + +#### to\_str + +```python +def to_str() -> str +``` + +Returns the string representation of the model using alias + + + +#### to\_json + +```python +def to_json() -> str +``` + +Returns the JSON representation of the model using alias + + + +#### from\_json + +```python +@classmethod +def from_json(cls, json_str: str) -> Optional[Self] +``` + +Create an instance of InstanceSnapshotTypeUsage from a JSON string + + + +#### to\_dict + +```python +def to_dict() -> Dict[str, Any] +``` + +Return the dictionary representation of the model using alias. + +This has the following differences from calling pydantic's +`self.model_dump(by_alias=True)`: + +* `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + + + +#### from\_dict + +```python +@classmethod +def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] +``` + +Create an instance of InstanceSnapshotTypeUsage from a dict + # koyeb/api\_async.models.list\_user\_organization\_invitations\_reply @@ -33171,6 +34718,40 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] Create an instance of LoginRequest from a dict + + +# koyeb/api\_async.models.pool\_claim\_status + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## PoolClaimStatus Objects + +```python +class PoolClaimStatus(str, Enum) +``` + +PoolClaimStatus + + + +#### from\_json + +```python +@classmethod +def from_json(cls, json_str: str) -> Self +``` + +Create an instance of PoolClaimStatus from a JSON string + # koyeb/api\_async.models.update\_snapshot\_request @@ -34530,6 +36111,88 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] Create an instance of GithubInstallationRequest from a dict + + +# koyeb/api\_async.models.get\_pool\_claim\_reply + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## GetPoolClaimReply Objects + +```python +class GetPoolClaimReply(BaseModel) +``` + +GetPoolClaimReply + + + +#### to\_str + +```python +def to_str() -> str +``` + +Returns the string representation of the model using alias + + + +#### to\_json + +```python +def to_json() -> str +``` + +Returns the JSON representation of the model using alias + + + +#### from\_json + +```python +@classmethod +def from_json(cls, json_str: str) -> Optional[Self] +``` + +Create an instance of GetPoolClaimReply from a JSON string + + + +#### to\_dict + +```python +def to_dict() -> Dict[str, Any] +``` + +Return the dictionary representation of the model using alias. + +This has the following differences from calling pydantic's +`self.model_dump(by_alias=True)`: + +* `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + + + +#### from\_dict + +```python +@classmethod +def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] +``` + +Create an instance of GetPoolClaimReply from a dict + # koyeb/api\_async.models.deployment\_scaling\_target\_average\_mem @@ -35500,6 +37163,88 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] Create an instance of PersistentVolume from a dict + + +# koyeb/api\_async.models.list\_service\_pools\_reply + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## ListServicePoolsReply Objects + +```python +class ListServicePoolsReply(BaseModel) +``` + +ListServicePoolsReply + + + +#### to\_str + +```python +def to_str() -> str +``` + +Returns the string representation of the model using alias + + + +#### to\_json + +```python +def to_json() -> str +``` + +Returns the JSON representation of the model using alias + + + +#### from\_json + +```python +@classmethod +def from_json(cls, json_str: str) -> Optional[Self] +``` + +Create an instance of ListServicePoolsReply from a JSON string + + + +#### to\_dict + +```python +def to_dict() -> Dict[str, Any] +``` + +Return the dictionary representation of the model using alias. + +This has the following differences from calling pydantic's +`self.model_dump(by_alias=True)`: + +* `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + + + +#### from\_dict + +```python +@classmethod +def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] +``` + +Create an instance of ListServicePoolsReply from a dict + # koyeb/api\_async.models.service\_state @@ -35746,6 +37491,88 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] Create an instance of LogEntry from a dict + + +# koyeb/api\_async.models.mesh + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## Mesh Objects + +```python +class Mesh(BaseModel) +``` + +Mesh groups the mesh scope selector and the (optional) custom mesh name. Kept inside NetworkPolicy so scope/name and other network-policy dimensions (egress, future inbound) live together. + + + +#### to\_str + +```python +def to_str() -> str +``` + +Returns the string representation of the model using alias + + + +#### to\_json + +```python +def to_json() -> str +``` + +Returns the JSON representation of the model using alias + + + +#### from\_json + +```python +@classmethod +def from_json(cls, json_str: str) -> Optional[Self] +``` + +Create an instance of Mesh from a JSON string + + + +#### to\_dict + +```python +def to_dict() -> Dict[str, Any] +``` + +Return the dictionary representation of the model using alias. + +This has the following differences from calling pydantic's +`self.model_dump(by_alias=True)`: + +* `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + + + +#### from\_dict + +```python +@classmethod +def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] +``` + +Create an instance of Mesh from a dict + # koyeb/api\_async.models.database\_deployment\_metadata @@ -35910,6 +37737,88 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] Create an instance of GitLabRegistryConfiguration from a dict + + +# koyeb/api\_async.models.list\_pool\_claim\_reply + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## ListPoolClaimReply Objects + +```python +class ListPoolClaimReply(BaseModel) +``` + +ListPoolClaimReply + + + +#### to\_str + +```python +def to_str() -> str +``` + +Returns the string representation of the model using alias + + + +#### to\_json + +```python +def to_json() -> str +``` + +Returns the JSON representation of the model using alias + + + +#### from\_json + +```python +@classmethod +def from_json(cls, json_str: str) -> Optional[Self] +``` + +Create an instance of ListPoolClaimReply from a JSON string + + + +#### to\_dict + +```python +def to_dict() -> Dict[str, Any] +``` + +Return the dictionary representation of the model using alias. + +This has the following differences from calling pydantic's +`self.model_dump(by_alias=True)`: + +* `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + + + +#### from\_dict + +```python +@classmethod +def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] +``` + +Create an instance of ListPoolClaimReply from a dict + # koyeb/api\_async.models.delete\_organization\_reply @@ -38280,6 +40189,88 @@ def from_json(cls, json_str: str) -> Self Create an instance of MetricName from a JSON string + + +# koyeb/api\_async.models.quota\_usage + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## QuotaUsage Objects + +```python +class QuotaUsage(BaseModel) +``` + +QuotaUsage carries an organization's current resource consumption alongside the corresponding plan limits (from the caller's InternalToken.Quotas). Paused services are included in services_used but excluded from memory / instances_by_type / proxy_ports totals, matching enforcement semantics. + + + +#### to\_str + +```python +def to_str() -> str +``` + +Returns the string representation of the model using alias + + + +#### to\_json + +```python +def to_json() -> str +``` + +Returns the JSON representation of the model using alias + + + +#### from\_json + +```python +@classmethod +def from_json(cls, json_str: str) -> Optional[Self] +``` + +Create an instance of QuotaUsage from a JSON string + + + +#### to\_dict + +```python +def to_dict() -> Dict[str, Any] +``` + +Return the dictionary representation of the model using alias. + +This has the following differences from calling pydantic's +`self.model_dump(by_alias=True)`: + +* `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + + + +#### from\_dict + +```python +@classmethod +def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] +``` + +Create an instance of QuotaUsage from a dict + # koyeb/api\_async.models.regional\_deployment @@ -38724,6 +40715,88 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] Create an instance of CreatePaymentAuthorizationReply from a dict + + +# koyeb/api\_async.models.update\_service\_pool\_reply + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## UpdateServicePoolReply Objects + +```python +class UpdateServicePoolReply(BaseModel) +``` + +UpdateServicePoolReply + + + +#### to\_str + +```python +def to_str() -> str +``` + +Returns the string representation of the model using alias + + + +#### to\_json + +```python +def to_json() -> str +``` + +Returns the JSON representation of the model using alias + + + +#### from\_json + +```python +@classmethod +def from_json(cls, json_str: str) -> Optional[Self] +``` + +Create an instance of UpdateServicePoolReply from a JSON string + + + +#### to\_dict + +```python +def to_dict() -> Dict[str, Any] +``` + +Return the dictionary representation of the model using alias. + +This has the following differences from calling pydantic's +`self.model_dump(by_alias=True)`: + +* `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + + + +#### from\_dict + +```python +@classmethod +def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] +``` + +Create an instance of UpdateServicePoolReply from a dict + # koyeb/api\_async.models.get\_idenfy\_token\_reply @@ -42570,6 +44643,40 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] Create an instance of DeploymentPort from a dict + + +# koyeb/api\_async.models.mesh\_scope + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## MeshScope Objects + +```python +class MeshScope(str, Enum) +``` + +MeshScope selects which set of services can communicate over the mesh. Only meaningful when the mesh is on (i.e. DeploymentMesh is ENABLED, or AUTO and the service is eligible). UNSPECIFIED defers to the organization-level default (workspace-scoped since KOYEB-6062, legacy organizations opted back to organization scope via use_organization_level_mesh). - MESH_SCOPE_ORGANIZATION: Private communication between services in the same organization (mesh label k-). - MESH_SCOPE_WORKSPACE: Private communication between services in the same workspace/project (mesh label pr_). - MESH_SCOPE_APP: Private communication between services in the same app (mesh label app_). - MESH_SCOPE_CUSTOM: Private communication between services in the same workspace that share the same NetworkPolicy.mesh.name. Server-computed label is scoped by workspace, so the same custom name in different workspaces never collides. + + + +#### from\_json + +```python +@classmethod +def from_json(cls, json_str: str) -> Self +``` + +Create an instance of MeshScope from a JSON string + # koyeb/api\_async.models.stream\_result\_of\_log\_entry @@ -43035,7 +45142,7 @@ Do not edit the class manually. class GoogleProtobufAny(BaseModel) ``` -GoogleProtobufAny +`Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": , "lastName": } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } @@ -44019,6 +46126,88 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] Create an instance of TriggerGitDeploymentMetadata from a dict + + +# koyeb/api\_async.models.pool\_claim\_request + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## PoolClaimRequest Objects + +```python +class PoolClaimRequest(BaseModel) +``` + +PoolClaimRequest + + + +#### to\_str + +```python +def to_str() -> str +``` + +Returns the string representation of the model using alias + + + +#### to\_json + +```python +def to_json() -> str +``` + +Returns the JSON representation of the model using alias + + + +#### from\_json + +```python +@classmethod +def from_json(cls, json_str: str) -> Optional[Self] +``` + +Create an instance of PoolClaimRequest from a JSON string + + + +#### to\_dict + +```python +def to_dict() -> Dict[str, Any] +``` + +Return the dictionary representation of the model using alias. + +This has the following differences from calling pydantic's +`self.model_dump(by_alias=True)`: + +* `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + + + +#### from\_dict + +```python +@classmethod +def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] +``` + +Create an instance of PoolClaimRequest from a dict + # koyeb/api\_async.models.update\_project\_reply @@ -44265,6 +46454,88 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] Create an instance of GetRegionReply from a dict + + +# koyeb/api\_async.models.create\_service\_pool\_reply + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## CreateServicePoolReply Objects + +```python +class CreateServicePoolReply(BaseModel) +``` + +CreateServicePoolReply + + + +#### to\_str + +```python +def to_str() -> str +``` + +Returns the string representation of the model using alias + + + +#### to\_json + +```python +def to_json() -> str +``` + +Returns the JSON representation of the model using alias + + + +#### from\_json + +```python +@classmethod +def from_json(cls, json_str: str) -> Optional[Self] +``` + +Create an instance of CreateServicePoolReply from a JSON string + + + +#### to\_dict + +```python +def to_dict() -> Dict[str, Any] +``` + +Return the dictionary representation of the model using alias. + +This has the following differences from calling pydantic's +`self.model_dump(by_alias=True)`: + +* `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + + + +#### from\_dict + +```python +@classmethod +def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] +``` + +Create an instance of CreateServicePoolReply from a dict + # koyeb/api\_async.models.autocomplete\_request @@ -46315,6 +48586,88 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] Create an instance of UpdateAppReply from a dict + + +# koyeb/api\_async.models.persistent\_volume\_region\_usage + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## PersistentVolumeRegionUsage Objects + +```python +class PersistentVolumeRegionUsage(BaseModel) +``` + +PersistentVolumeRegionUsage + + + +#### to\_str + +```python +def to_str() -> str +``` + +Returns the string representation of the model using alias + + + +#### to\_json + +```python +def to_json() -> str +``` + +Returns the JSON representation of the model using alias + + + +#### from\_json + +```python +@classmethod +def from_json(cls, json_str: str) -> Optional[Self] +``` + +Create an instance of PersistentVolumeRegionUsage from a JSON string + + + +#### to\_dict + +```python +def to_dict() -> Dict[str, Any] +``` + +Return the dictionary representation of the model using alias. + +This has the following differences from calling pydantic's +`self.model_dump(by_alias=True)`: + +* `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + + + +#### from\_dict + +```python +@classmethod +def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] +``` + +Create an instance of PersistentVolumeRegionUsage from a dict + # koyeb/api\_async.models.update\_organization\_reply @@ -47271,6 +49624,88 @@ def from_json(cls, json_str: str) -> Self Create an instance of DomainStatus from a JSON string + + +# koyeb/api\_async.models.service\_pool + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## ServicePool Objects + +```python +class ServicePool(BaseModel) +``` + +ServicePool + + + +#### to\_str + +```python +def to_str() -> str +``` + +Returns the string representation of the model using alias + + + +#### to\_json + +```python +def to_json() -> str +``` + +Returns the JSON representation of the model using alias + + + +#### from\_json + +```python +@classmethod +def from_json(cls, json_str: str) -> Optional[Self] +``` + +Create an instance of ServicePool from a JSON string + + + +#### to\_dict + +```python +def to_dict() -> Dict[str, Any] +``` + +Return the dictionary representation of the model using alias. + +This has the following differences from calling pydantic's +`self.model_dump(by_alias=True)`: + +* `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + + + +#### from\_dict + +```python +@classmethod +def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] +``` + +Create an instance of ServicePool from a dict + # koyeb/api\_async.models.next\_invoice\_reply\_line\_period @@ -47435,6 +49870,88 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] Create an instance of VerifyDockerImageReply from a dict + + +# koyeb/api\_async.models.instance\_type\_usage + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## InstanceTypeUsage Objects + +```python +class InstanceTypeUsage(BaseModel) +``` + +InstanceTypeUsage + + + +#### to\_str + +```python +def to_str() -> str +``` + +Returns the string representation of the model using alias + + + +#### to\_json + +```python +def to_json() -> str +``` + +Returns the JSON representation of the model using alias + + + +#### from\_json + +```python +@classmethod +def from_json(cls, json_str: str) -> Optional[Self] +``` + +Create an instance of InstanceTypeUsage from a JSON string + + + +#### to\_dict + +```python +def to_dict() -> Dict[str, Any] +``` + +Return the dictionary representation of the model using alias. + +This has the following differences from calling pydantic's +`self.model_dump(by_alias=True)`: + +* `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + + + +#### from\_dict + +```python +@classmethod +def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] +``` + +Create an instance of InstanceTypeUsage from a dict + # koyeb/api\_async.models.create\_instance\_snapshot\_reply @@ -47599,6 +50116,40 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] Create an instance of RevealSecretReply from a dict + + +# koyeb/api\_async.models.service\_pool\_status + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## ServicePoolStatus Objects + +```python +class ServicePoolStatus(str, Enum) +``` + +ServicePoolStatus + + + +#### from\_json + +```python +@classmethod +def from_json(cls, json_str: str) -> Self +``` + +Create an instance of ServicePoolStatus from a JSON string + # koyeb/api\_async.models.compose\_reply @@ -48727,7 +51278,7 @@ ExecCommandIO #### data\_validate\_regular\_expression ```python -@field_validator('data') +@field_validator("data", mode="before") def data_validate_regular_expression(cls, value) ``` @@ -50582,6 +53133,88 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] Create an instance of KsearchGlobalDeployment from a dict + + +# koyeb/api\_async.models.get\_organization\_quotas\_usage\_reply + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## GetOrganizationQuotasUsageReply Objects + +```python +class GetOrganizationQuotasUsageReply(BaseModel) +``` + +GetOrganizationQuotasUsageReply + + + +#### to\_str + +```python +def to_str() -> str +``` + +Returns the string representation of the model using alias + + + +#### to\_json + +```python +def to_json() -> str +``` + +Returns the JSON representation of the model using alias + + + +#### from\_json + +```python +@classmethod +def from_json(cls, json_str: str) -> Optional[Self] +``` + +Create an instance of GetOrganizationQuotasUsageReply from a JSON string + + + +#### to\_dict + +```python +def to_dict() -> Dict[str, Any] +``` + +Return the dictionary representation of the model using alias. + +This has the following differences from calling pydantic's +`self.model_dump(by_alias=True)`: + +* `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + + + +#### from\_dict + +```python +@classmethod +def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self] +``` + +Create an instance of GetOrganizationQuotasUsageReply from a dict + # koyeb/api\_async.models.organization\_member\_status @@ -51848,12 +54481,12 @@ Do not edit the class manually. @validate_call async def canny_auth( body: Dict[str, Any], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -51893,12 +54526,12 @@ Returns the result object. @validate_call async def canny_auth_with_http_info( body: Dict[str, Any], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -51938,12 +54571,12 @@ Returns the result object. @validate_call async def canny_auth_without_preload_content( body: Dict[str, Any], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -51983,12 +54616,12 @@ Returns the result object. @validate_call async def discourse_auth( body: DiscourseAuthRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -52028,12 +54661,12 @@ Returns the result object. @validate_call async def discourse_auth_with_http_info( body: DiscourseAuthRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -52073,12 +54706,12 @@ Returns the result object. @validate_call async def discourse_auth_without_preload_content( body: DiscourseAuthRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -52143,12 +54776,12 @@ Do not edit the class manually. ```python @validate_call async def list_datacenters( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -52186,12 +54819,12 @@ Returns the result object. ```python @validate_call async def list_datacenters_with_http_info( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -52229,12 +54862,12 @@ Returns the result object. ```python @validate_call async def list_datacenters_without_preload_content( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -52300,12 +54933,12 @@ Do not edit the class manually. async def get_subscription( id: Annotated[StrictStr, Field(description="The id of the instance")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -52346,12 +54979,12 @@ Returns the result object. async def get_subscription_with_http_info( id: Annotated[StrictStr, Field(description="The id of the instance")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -52392,12 +55025,12 @@ Returns the result object. async def get_subscription_without_preload_content( id: Annotated[StrictStr, Field(description="The id of the instance")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -52464,12 +55097,12 @@ Do not edit the class manually. async def get_region( id: Annotated[StrictStr, Field(description="The name of the region")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -52510,12 +55143,12 @@ Returns the result object. async def get_region_with_http_info( id: Annotated[StrictStr, Field(description="The name of the region")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -52556,12 +55189,12 @@ Returns the result object. async def get_region_without_preload_content( id: Annotated[StrictStr, Field(description="The name of the region")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -52602,19 +55235,21 @@ Returns the result object. async def list_regions( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, id: Annotated[Optional[StrictStr], Field(description="(Optional) A filter for regions")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -52657,19 +55292,21 @@ Returns the result object. async def list_regions_with_http_info( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, id: Annotated[Optional[StrictStr], Field(description="(Optional) A filter for regions")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -52712,19 +55349,21 @@ Returns the result object. async def list_regions_without_preload_content( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, id: Annotated[Optional[StrictStr], Field(description="(Optional) A filter for regions")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -52793,12 +55432,12 @@ Do not edit the class manually. async def get_regional_deployment( id: Annotated[StrictStr, Field(description="The id of the regional deployment")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -52841,12 +55480,12 @@ Returns the result object. async def get_regional_deployment_with_http_info( id: Annotated[StrictStr, Field(description="The id of the regional deployment")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -52889,12 +55528,12 @@ Returns the result object. async def get_regional_deployment_without_preload_content( id: Annotated[StrictStr, Field(description="The id of the regional deployment")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -52937,32 +55576,36 @@ Returns the result object. async def list_regional_deployment_events( regional_deployment_id: Annotated[ Optional[StrictStr], - Field( - description="(Optional) Filter on regional deployment id")] = None, + Field(description="(Optional) Filter on regional deployment id"), + ] = None, types: Annotated[ Optional[List[StrictStr]], Field( description="(Optional) Filter on regional deployment event types" - )] = None, + ), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, order: Annotated[ Optional[StrictStr], Field( description= "(Optional) Sorts the list in the ascending or the descending order" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -53007,32 +55650,36 @@ Returns the result object. async def list_regional_deployment_events_with_http_info( regional_deployment_id: Annotated[ Optional[StrictStr], - Field( - description="(Optional) Filter on regional deployment id")] = None, + Field(description="(Optional) Filter on regional deployment id"), + ] = None, types: Annotated[ Optional[List[StrictStr]], Field( description="(Optional) Filter on regional deployment event types" - )] = None, + ), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, order: Annotated[ Optional[StrictStr], Field( description= "(Optional) Sorts the list in the ascending or the descending order" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -53077,32 +55724,36 @@ Returns the result object. async def list_regional_deployment_events_without_preload_content( regional_deployment_id: Annotated[ Optional[StrictStr], - Field( - description="(Optional) Filter on regional deployment id")] = None, + Field(description="(Optional) Filter on regional deployment id"), + ] = None, types: Annotated[ Optional[List[StrictStr]], Field( description="(Optional) Filter on regional deployment event types" - )] = None, + ), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, order: Annotated[ Optional[StrictStr], Field( description= "(Optional) Sorts the list in the ascending or the descending order" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -53150,17 +55801,23 @@ async def list_regional_deployments( Field(description="(Optional) Filter on deployment id")] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, + ids: Annotated[ + Optional[List[StrictStr]], + Field(description="(Optional) Filter on regional deployment ids"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -53177,6 +55834,7 @@ Experimental: use at your own risk - `deployment_id` (`str`): (Optional) Filter on deployment id - `limit` (`str`): (Optional) The number of items to return - `offset` (`str`): (Optional) The offset in the list of item to return +- `ids` (`List[str]`): (Optional) Filter on regional deployment ids - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -53208,17 +55866,23 @@ async def list_regional_deployments_with_http_info( Field(description="(Optional) Filter on deployment id")] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, + ids: Annotated[ + Optional[List[StrictStr]], + Field(description="(Optional) Filter on regional deployment ids"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -53235,6 +55899,7 @@ Experimental: use at your own risk - `deployment_id` (`str`): (Optional) Filter on deployment id - `limit` (`str`): (Optional) The number of items to return - `offset` (`str`): (Optional) The offset in the list of item to return +- `ids` (`List[str]`): (Optional) Filter on regional deployment ids - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -53266,17 +55931,23 @@ async def list_regional_deployments_without_preload_content( Field(description="(Optional) Filter on deployment id")] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, + ids: Annotated[ + Optional[List[StrictStr]], + Field(description="(Optional) Filter on regional deployment ids"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -53293,6 +55964,7 @@ Experimental: use at your own risk - `deployment_id` (`str`): (Optional) Filter on deployment id - `limit` (`str`): (Optional) The number of items to return - `offset` (`str`): (Optional) The offset in the list of item to return +- `ids` (`List[str]`): (Optional) Filter on regional deployment ids - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -53353,13 +56025,14 @@ async def verify_docker_image( Field( description= "(Optional) the id of the secret to use to authenticate to the registry" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -53409,13 +56082,14 @@ async def verify_docker_image_with_http_info( Field( description= "(Optional) the id of the secret to use to authenticate to the registry" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -53465,13 +56139,14 @@ async def verify_docker_image_without_preload_content( Field( description= "(Optional) the id of the secret to use to authenticate to the registry" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -53541,12 +56216,12 @@ Do not edit the class manually. async def get_account_activities( limit: Optional[StrictStr] = None, offset: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -53588,12 +56263,12 @@ Returns the result object. async def get_account_activities_with_http_info( limit: Optional[StrictStr] = None, offset: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -53635,12 +56310,12 @@ Returns the result object. async def get_account_activities_without_preload_content( limit: Optional[StrictStr] = None, offset: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -53684,13 +56359,14 @@ async def list_activities( offset: Optional[StrictStr] = None, types: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on object type")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + Field(description="(Optional) Filter on object type"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -53735,13 +56411,14 @@ async def list_activities_with_http_info( offset: Optional[StrictStr] = None, types: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on object type")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + Field(description="(Optional) Filter on object type"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -53786,13 +56463,14 @@ async def list_activities_without_preload_content( offset: Optional[StrictStr] = None, types: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on object type")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + Field(description="(Optional) Filter on object type"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -53839,12 +56517,12 @@ async def list_notifications( mark_seen: Optional[StrictStr] = None, unread: Optional[StrictStr] = None, unseen: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -53894,12 +56572,12 @@ async def list_notifications_with_http_info( mark_seen: Optional[StrictStr] = None, unread: Optional[StrictStr] = None, unseen: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -53949,12 +56627,12 @@ async def list_notifications_without_preload_content( mark_seen: Optional[StrictStr] = None, unread: Optional[StrictStr] = None, unseen: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -54025,12 +56703,12 @@ Do not edit the class manually. @validate_call async def check_coupon( code: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -54072,12 +56750,12 @@ Returns the result object. @validate_call async def check_coupon_with_http_info( code: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -54119,12 +56797,12 @@ Returns the result object. @validate_call async def check_coupon_without_preload_content( code: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -54166,12 +56844,12 @@ Returns the result object. @validate_call async def redeem_coupon( body: RedeemCouponRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -54212,12 +56890,12 @@ Returns the result object. @validate_call async def redeem_coupon_with_http_info( body: RedeemCouponRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -54259,12 +56937,12 @@ Returns the result object. @validate_call async def redeem_coupon_without_preload_content( body: RedeemCouponRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -54332,12 +57010,12 @@ Do not edit the class manually. @validate_call async def create_credential( credential: CreateCredential, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -54377,12 +57055,12 @@ Returns the result object. @validate_call async def create_credential_with_http_info( credential: CreateCredential, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -54422,12 +57100,12 @@ Returns the result object. @validate_call async def create_credential_without_preload_content( credential: CreateCredential, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -54467,12 +57145,12 @@ Returns the result object. @validate_call async def delete_credential( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -54511,12 +57189,12 @@ Returns the result object. @validate_call async def delete_credential_with_http_info( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -54556,12 +57234,12 @@ Returns the result object. @validate_call async def delete_credential_without_preload_content( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -54601,12 +57279,12 @@ Returns the result object. @validate_call async def get_credential( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -54646,12 +57324,12 @@ Returns the result object. @validate_call async def get_credential_with_http_info( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -54691,12 +57369,12 @@ Returns the result object. @validate_call async def get_credential_without_preload_content( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -54741,23 +57419,26 @@ async def list_credentials( Field(description="(Optional) A filter for name")] = None, organization_id: Annotated[ Optional[StrictStr], - Field(description="(Optional) Filter for an organization")] = None, + Field(description="(Optional) Filter for an organization"), + ] = None, user_id: Annotated[ Optional[StrictStr], Field(description="(Optional) Filter for an user")] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -54807,23 +57488,26 @@ async def list_credentials_with_http_info( Field(description="(Optional) A filter for name")] = None, organization_id: Annotated[ Optional[StrictStr], - Field(description="(Optional) Filter for an organization")] = None, + Field(description="(Optional) Filter for an organization"), + ] = None, user_id: Annotated[ Optional[StrictStr], Field(description="(Optional) Filter for an user")] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -54873,23 +57557,26 @@ async def list_credentials_without_preload_content( Field(description="(Optional) A filter for name")] = None, organization_id: Annotated[ Optional[StrictStr], - Field(description="(Optional) Filter for an organization")] = None, + Field(description="(Optional) Filter for an organization"), + ] = None, user_id: Annotated[ Optional[StrictStr], Field(description="(Optional) Filter for an user")] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -54936,12 +57623,12 @@ async def update_credential( id: StrictStr, credential: Credential, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -54985,12 +57672,12 @@ async def update_credential_with_http_info( id: StrictStr, credential: Credential, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -55034,12 +57721,12 @@ async def update_credential_without_preload_content( id: StrictStr, credential: Credential, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -55083,12 +57770,12 @@ async def update_credential2( id: StrictStr, credential: Credential, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -55132,12 +57819,12 @@ async def update_credential2_with_http_info( id: StrictStr, credential: Credential, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -55181,12 +57868,12 @@ async def update_credential2_without_preload_content( id: StrictStr, credential: Credential, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -55254,12 +57941,12 @@ Do not edit the class manually. @validate_call async def confirm_organization_action( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -55298,12 +57985,12 @@ Returns the result object. @validate_call async def confirm_organization_action_with_http_info( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -55343,12 +58030,12 @@ Returns the result object. @validate_call async def confirm_organization_action_without_preload_content( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -55414,12 +58101,12 @@ Do not edit the class manually. @validate_call async def create_domain( domain: CreateDomain, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -55459,12 +58146,12 @@ Returns the result object. @validate_call async def create_domain_with_http_info( domain: CreateDomain, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -55504,12 +58191,12 @@ Returns the result object. @validate_call async def create_domain_without_preload_content( domain: CreateDomain, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -55549,12 +58236,12 @@ Returns the result object. @validate_call async def delete_domain( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -55593,12 +58280,12 @@ Returns the result object. @validate_call async def delete_domain_with_http_info( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -55638,12 +58325,12 @@ Returns the result object. @validate_call async def delete_domain_without_preload_content( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -55683,12 +58370,12 @@ Returns the result object. @validate_call async def get_domain( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -55728,12 +58415,12 @@ Returns the result object. @validate_call async def get_domain_with_http_info( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -55773,12 +58460,12 @@ Returns the result object. @validate_call async def get_domain_without_preload_content( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -55819,34 +58506,39 @@ Returns the result object. async def list_domains( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, types: Annotated[ Optional[List[StrictStr]], Field( description= "(Optional) A filter for types - AUTOASSIGNED: Domain like -.koyeb.app" - )] = None, + ), + ] = None, statuses: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) A filter for statuses")] = None, + Field(description="(Optional) A filter for statuses"), + ] = None, app_ids: Annotated[Optional[List[StrictStr]], Field( description="(Optional) A filter for apps")] = None, name: Annotated[Optional[StrictStr], Field(description="(Optional) A filter for name")] = None, - project_id: Annotated[ - Optional[StrictStr], - Field(description="(Optional) A filter for the project ID")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ids: Annotated[ + Optional[List[StrictStr]], + Field(description="(Optional) Filter on domain ids"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -55864,7 +58556,7 @@ List Domains - `statuses` (`List[str]`): (Optional) A filter for statuses - `app_ids` (`List[str]`): (Optional) A filter for apps - `name` (`str`): (Optional) A filter for name -- `project_id` (`str`): (Optional) A filter for the project ID +- `ids` (`List[str]`): (Optional) Filter on domain ids - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -55893,34 +58585,39 @@ Returns the result object. async def list_domains_with_http_info( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, types: Annotated[ Optional[List[StrictStr]], Field( description= "(Optional) A filter for types - AUTOASSIGNED: Domain like -.koyeb.app" - )] = None, + ), + ] = None, statuses: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) A filter for statuses")] = None, + Field(description="(Optional) A filter for statuses"), + ] = None, app_ids: Annotated[Optional[List[StrictStr]], Field( description="(Optional) A filter for apps")] = None, name: Annotated[Optional[StrictStr], Field(description="(Optional) A filter for name")] = None, - project_id: Annotated[ - Optional[StrictStr], - Field(description="(Optional) A filter for the project ID")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ids: Annotated[ + Optional[List[StrictStr]], + Field(description="(Optional) Filter on domain ids"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -55938,7 +58635,7 @@ List Domains - `statuses` (`List[str]`): (Optional) A filter for statuses - `app_ids` (`List[str]`): (Optional) A filter for apps - `name` (`str`): (Optional) A filter for name -- `project_id` (`str`): (Optional) A filter for the project ID +- `ids` (`List[str]`): (Optional) Filter on domain ids - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -55967,34 +58664,39 @@ Returns the result object. async def list_domains_without_preload_content( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, types: Annotated[ Optional[List[StrictStr]], Field( description= "(Optional) A filter for types - AUTOASSIGNED: Domain like -.koyeb.app" - )] = None, + ), + ] = None, statuses: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) A filter for statuses")] = None, + Field(description="(Optional) A filter for statuses"), + ] = None, app_ids: Annotated[Optional[List[StrictStr]], Field( description="(Optional) A filter for apps")] = None, name: Annotated[Optional[StrictStr], Field(description="(Optional) A filter for name")] = None, - project_id: Annotated[ - Optional[StrictStr], - Field(description="(Optional) A filter for the project ID")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ids: Annotated[ + Optional[List[StrictStr]], + Field(description="(Optional) Filter on domain ids"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -56012,7 +58714,7 @@ List Domains - `statuses` (`List[str]`): (Optional) A filter for statuses - `app_ids` (`List[str]`): (Optional) A filter for apps - `name` (`str`): (Optional) A filter for name -- `project_id` (`str`): (Optional) A filter for the project ID +- `ids` (`List[str]`): (Optional) Filter on domain ids - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -56040,12 +58742,12 @@ Returns the result object. @validate_call async def refresh_domain_status( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -56084,12 +58786,12 @@ Returns the result object. @validate_call async def refresh_domain_status_with_http_info( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -56129,12 +58831,12 @@ Returns the result object. @validate_call async def refresh_domain_status_without_preload_content( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -56178,15 +58880,16 @@ async def update_domain( update_mask: Optional[StrictStr] = None, dry_run: Annotated[ Optional[StrictBool], - Field(description= - "If set, run validation and check that the domain is available." - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + Field( + description= + "If set, run validation and check that the domain is available."), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -56233,15 +58936,16 @@ async def update_domain_with_http_info( update_mask: Optional[StrictStr] = None, dry_run: Annotated[ Optional[StrictBool], - Field(description= - "If set, run validation and check that the domain is available." - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + Field( + description= + "If set, run validation and check that the domain is available."), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -56288,15 +58992,16 @@ async def update_domain_without_preload_content( update_mask: Optional[StrictStr] = None, dry_run: Annotated[ Optional[StrictBool], - Field(description= - "If set, run validation and check that the domain is available." - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + Field( + description= + "If set, run validation and check that the domain is available."), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -56368,94 +59073,106 @@ async def query_logs( Optional[StrictStr], Field( description= - "Type of logs to retrieve, either \"build\" or \"runtime\". Defaults to \"runtime\"." - )] = None, + 'Type of logs to retrieve, either "build" or "runtime". Defaults to "runtime".' + ), + ] = None, app_id: Annotated[ Optional[StrictStr], Field( description= "(Optional) Filter on the provided app_id. At least one of app_id, service_id, deployment_id, regional_deployment_id or instance_ids must be set." - )] = None, + ), + ] = None, service_id: Annotated[ Optional[StrictStr], Field( description= "(Optional) Filter on the provided service_id. At least one of app_id, service_id, deployment_id, regional_deployment_id or instance_ids must be set." - )] = None, + ), + ] = None, deployment_id: Annotated[ Optional[StrictStr], Field( description= "(Optional) Filter on the provided deployment_id. At least one of app_id, service_id, deployment_id, regional_deployment_id or instance_ids must be set." - )] = None, + ), + ] = None, regional_deployment_id: Annotated[ Optional[StrictStr], Field( description= "(Optional) Filter on the provided regional_deployment_id. At least one of app_id, service_id, deployment_id, regional_deployment_id or instance_ids must be set." - )] = None, + ), + ] = None, instance_id: Annotated[ Optional[StrictStr], - Field(description="Deprecated, prefer using instance_ids instead." - )] = None, + Field(description="Deprecated, prefer using instance_ids instead."), + ] = None, instance_ids: Annotated[ Optional[List[StrictStr]], Field( description= "(Optional) Filter on the provided instance_ids. At least one of app_id, service_id, deployment_id, regional_deployment_id or instance_ids must be set." - )] = None, + ), + ] = None, stream: Annotated[ Optional[StrictStr], - Field(description="Deprecated, prefer using streams instead.")] = None, + Field(description="Deprecated, prefer using streams instead."), + ] = None, streams: Annotated[ Optional[List[StrictStr]], Field( description= - "(Optional) Filter on stream: either \"stdout\", \"stderr\" or \"koyeb\" (for system logs)." - )] = None, + '(Optional) Filter on stream: either "stdout", "stderr" or "koyeb" (for system logs).' + ), + ] = None, start: Annotated[ Optional[datetime], Field( description= "(Optional) Must always be before `end`. Defaults to 15 minutes ago." - )] = None, + ), + ] = None, end: Annotated[ Optional[datetime], Field(description= - "(Optional) Must always be after `start`. Defaults to now." - )] = None, + "(Optional) Must always be after `start`. Defaults to now."), + ] = None, order: Annotated[ Optional[StrictStr], - Field(description="(Optional) `asc` or `desc`. Defaults to `desc`." - )] = None, + Field(description="(Optional) `asc` or `desc`. Defaults to `desc`."), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) Defaults to 100. Maximum of 1000." - )] = None, + Field(description="(Optional) Defaults to 100. Maximum of 1000."), + ] = None, regex: Annotated[ Optional[StrictStr], Field( description= "(Optional) Apply a regex to filter logs. Can't be used with `text`." - )] = None, + ), + ] = None, text: Annotated[ Optional[StrictStr], Field( description= "(Optional) Looks for this string in logs. Can't be used with `regex`." - )] = None, + ), + ] = None, regions: Annotated[ Optional[List[StrictStr]], Field( description= - "(Optional) Filter on the provided regions (e.g. [\"fra\", \"was\"])." - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + '(Optional) Filter on the provided regions (e.g. ["fra", "was"]).' + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -56513,94 +59230,106 @@ async def query_logs_with_http_info( Optional[StrictStr], Field( description= - "Type of logs to retrieve, either \"build\" or \"runtime\". Defaults to \"runtime\"." - )] = None, + 'Type of logs to retrieve, either "build" or "runtime". Defaults to "runtime".' + ), + ] = None, app_id: Annotated[ Optional[StrictStr], Field( description= "(Optional) Filter on the provided app_id. At least one of app_id, service_id, deployment_id, regional_deployment_id or instance_ids must be set." - )] = None, + ), + ] = None, service_id: Annotated[ Optional[StrictStr], Field( description= "(Optional) Filter on the provided service_id. At least one of app_id, service_id, deployment_id, regional_deployment_id or instance_ids must be set." - )] = None, + ), + ] = None, deployment_id: Annotated[ Optional[StrictStr], Field( description= "(Optional) Filter on the provided deployment_id. At least one of app_id, service_id, deployment_id, regional_deployment_id or instance_ids must be set." - )] = None, + ), + ] = None, regional_deployment_id: Annotated[ Optional[StrictStr], Field( description= "(Optional) Filter on the provided regional_deployment_id. At least one of app_id, service_id, deployment_id, regional_deployment_id or instance_ids must be set." - )] = None, + ), + ] = None, instance_id: Annotated[ Optional[StrictStr], - Field(description="Deprecated, prefer using instance_ids instead." - )] = None, + Field(description="Deprecated, prefer using instance_ids instead."), + ] = None, instance_ids: Annotated[ Optional[List[StrictStr]], Field( description= "(Optional) Filter on the provided instance_ids. At least one of app_id, service_id, deployment_id, regional_deployment_id or instance_ids must be set." - )] = None, + ), + ] = None, stream: Annotated[ Optional[StrictStr], - Field(description="Deprecated, prefer using streams instead.")] = None, + Field(description="Deprecated, prefer using streams instead."), + ] = None, streams: Annotated[ Optional[List[StrictStr]], Field( description= - "(Optional) Filter on stream: either \"stdout\", \"stderr\" or \"koyeb\" (for system logs)." - )] = None, + '(Optional) Filter on stream: either "stdout", "stderr" or "koyeb" (for system logs).' + ), + ] = None, start: Annotated[ Optional[datetime], Field( description= "(Optional) Must always be before `end`. Defaults to 15 minutes ago." - )] = None, + ), + ] = None, end: Annotated[ Optional[datetime], Field(description= - "(Optional) Must always be after `start`. Defaults to now." - )] = None, + "(Optional) Must always be after `start`. Defaults to now."), + ] = None, order: Annotated[ Optional[StrictStr], - Field(description="(Optional) `asc` or `desc`. Defaults to `desc`." - )] = None, + Field(description="(Optional) `asc` or `desc`. Defaults to `desc`."), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) Defaults to 100. Maximum of 1000." - )] = None, + Field(description="(Optional) Defaults to 100. Maximum of 1000."), + ] = None, regex: Annotated[ Optional[StrictStr], Field( description= "(Optional) Apply a regex to filter logs. Can't be used with `text`." - )] = None, + ), + ] = None, text: Annotated[ Optional[StrictStr], Field( description= "(Optional) Looks for this string in logs. Can't be used with `regex`." - )] = None, + ), + ] = None, regions: Annotated[ Optional[List[StrictStr]], Field( description= - "(Optional) Filter on the provided regions (e.g. [\"fra\", \"was\"])." - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + '(Optional) Filter on the provided regions (e.g. ["fra", "was"]).' + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -56658,94 +59387,106 @@ async def query_logs_without_preload_content( Optional[StrictStr], Field( description= - "Type of logs to retrieve, either \"build\" or \"runtime\". Defaults to \"runtime\"." - )] = None, + 'Type of logs to retrieve, either "build" or "runtime". Defaults to "runtime".' + ), + ] = None, app_id: Annotated[ Optional[StrictStr], Field( description= "(Optional) Filter on the provided app_id. At least one of app_id, service_id, deployment_id, regional_deployment_id or instance_ids must be set." - )] = None, + ), + ] = None, service_id: Annotated[ Optional[StrictStr], Field( description= "(Optional) Filter on the provided service_id. At least one of app_id, service_id, deployment_id, regional_deployment_id or instance_ids must be set." - )] = None, + ), + ] = None, deployment_id: Annotated[ Optional[StrictStr], Field( description= "(Optional) Filter on the provided deployment_id. At least one of app_id, service_id, deployment_id, regional_deployment_id or instance_ids must be set." - )] = None, + ), + ] = None, regional_deployment_id: Annotated[ Optional[StrictStr], Field( description= "(Optional) Filter on the provided regional_deployment_id. At least one of app_id, service_id, deployment_id, regional_deployment_id or instance_ids must be set." - )] = None, + ), + ] = None, instance_id: Annotated[ Optional[StrictStr], - Field(description="Deprecated, prefer using instance_ids instead." - )] = None, + Field(description="Deprecated, prefer using instance_ids instead."), + ] = None, instance_ids: Annotated[ Optional[List[StrictStr]], Field( description= "(Optional) Filter on the provided instance_ids. At least one of app_id, service_id, deployment_id, regional_deployment_id or instance_ids must be set." - )] = None, + ), + ] = None, stream: Annotated[ Optional[StrictStr], - Field(description="Deprecated, prefer using streams instead.")] = None, + Field(description="Deprecated, prefer using streams instead."), + ] = None, streams: Annotated[ Optional[List[StrictStr]], Field( description= - "(Optional) Filter on stream: either \"stdout\", \"stderr\" or \"koyeb\" (for system logs)." - )] = None, + '(Optional) Filter on stream: either "stdout", "stderr" or "koyeb" (for system logs).' + ), + ] = None, start: Annotated[ Optional[datetime], Field( description= "(Optional) Must always be before `end`. Defaults to 15 minutes ago." - )] = None, + ), + ] = None, end: Annotated[ Optional[datetime], Field(description= - "(Optional) Must always be after `start`. Defaults to now." - )] = None, + "(Optional) Must always be after `start`. Defaults to now."), + ] = None, order: Annotated[ Optional[StrictStr], - Field(description="(Optional) `asc` or `desc`. Defaults to `desc`." - )] = None, + Field(description="(Optional) `asc` or `desc`. Defaults to `desc`."), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) Defaults to 100. Maximum of 1000." - )] = None, + Field(description="(Optional) Defaults to 100. Maximum of 1000."), + ] = None, regex: Annotated[ Optional[StrictStr], Field( description= "(Optional) Apply a regex to filter logs. Can't be used with `text`." - )] = None, + ), + ] = None, text: Annotated[ Optional[StrictStr], Field( description= "(Optional) Looks for this string in logs. Can't be used with `regex`." - )] = None, + ), + ] = None, regions: Annotated[ Optional[List[StrictStr]], Field( description= - "(Optional) Filter on the provided regions (e.g. [\"fra\", \"was\"])." - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + '(Optional) Filter on the provided regions (e.g. ["fra", "was"]).' + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -56803,82 +59544,94 @@ async def tail_logs( Optional[StrictStr], Field( description= - "Type of logs to retrieve, either \"build\" or \"runtime\". Defaults to \"runtime\"." - )] = None, + 'Type of logs to retrieve, either "build" or "runtime". Defaults to "runtime".' + ), + ] = None, app_id: Annotated[ Optional[StrictStr], Field( description= "(Optional) Filter on the provided app_id. At least one of app_id, service_id, deployment_id, regional_deployment_id or instance_ids must be set." - )] = None, + ), + ] = None, service_id: Annotated[ Optional[StrictStr], Field( description= "(Optional) Filter on the provided service_id. At least one of app_id, service_id, deployment_id, regional_deployment_id or instance_ids must be set." - )] = None, + ), + ] = None, deployment_id: Annotated[ Optional[StrictStr], Field( description= "(Optional) Filter on the provided deployment_id. At least one of app_id, service_id, deployment_id, regional_deployment_id or instance_ids must be set." - )] = None, + ), + ] = None, regional_deployment_id: Annotated[ Optional[StrictStr], Field( description= "(Optional) Filter on the provided regional_deployment_id. At least one of app_id, service_id, deployment_id, regional_deployment_id or instance_ids must be set." - )] = None, + ), + ] = None, instance_id: Annotated[ Optional[StrictStr], - Field(description="Deprecated, prefer using instance_ids instead." - )] = None, + Field(description="Deprecated, prefer using instance_ids instead."), + ] = None, instance_ids: Annotated[ Optional[List[StrictStr]], Field( description= "(Optional) Filter on the provided instance_ids. At least one of app_id, service_id, deployment_id, regional_deployment_id or instance_ids must be set." - )] = None, + ), + ] = None, stream: Annotated[ Optional[StrictStr], - Field(description="Deprecated, prefer using streams instead.")] = None, + Field(description="Deprecated, prefer using streams instead."), + ] = None, streams: Annotated[ Optional[List[StrictStr]], Field( description= - "(Optional) Filter on stream: either \"stdout\", \"stderr\" or \"koyeb\" (for system logs)." - )] = None, + '(Optional) Filter on stream: either "stdout", "stderr" or "koyeb" (for system logs).' + ), + ] = None, start: Annotated[ Optional[datetime], - Field(description="(Optional) Defaults to 24 hours ago.")] = None, + Field(description="(Optional) Defaults to 24 hours ago."), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) Defaults to 1000. Maximum of 1000." - )] = None, + Field(description="(Optional) Defaults to 1000. Maximum of 1000."), + ] = None, regex: Annotated[ Optional[StrictStr], Field( description= "(Optional) Apply a regex to filter logs. Can't be used with `text`." - )] = None, + ), + ] = None, text: Annotated[ Optional[StrictStr], Field( description= "(Optional) Looks for this string in logs. Can't be used with `regex`." - )] = None, + ), + ] = None, regions: Annotated[ Optional[List[StrictStr]], Field( description= - "(Optional) Filter on the provided regions (e.g. [\"fra\", \"was\"])." - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + '(Optional) Filter on the provided regions (e.g. ["fra", "was"]).' + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -56934,82 +59687,94 @@ async def tail_logs_with_http_info( Optional[StrictStr], Field( description= - "Type of logs to retrieve, either \"build\" or \"runtime\". Defaults to \"runtime\"." - )] = None, + 'Type of logs to retrieve, either "build" or "runtime". Defaults to "runtime".' + ), + ] = None, app_id: Annotated[ Optional[StrictStr], Field( description= "(Optional) Filter on the provided app_id. At least one of app_id, service_id, deployment_id, regional_deployment_id or instance_ids must be set." - )] = None, + ), + ] = None, service_id: Annotated[ Optional[StrictStr], Field( description= "(Optional) Filter on the provided service_id. At least one of app_id, service_id, deployment_id, regional_deployment_id or instance_ids must be set." - )] = None, + ), + ] = None, deployment_id: Annotated[ Optional[StrictStr], Field( description= "(Optional) Filter on the provided deployment_id. At least one of app_id, service_id, deployment_id, regional_deployment_id or instance_ids must be set." - )] = None, + ), + ] = None, regional_deployment_id: Annotated[ Optional[StrictStr], Field( description= "(Optional) Filter on the provided regional_deployment_id. At least one of app_id, service_id, deployment_id, regional_deployment_id or instance_ids must be set." - )] = None, + ), + ] = None, instance_id: Annotated[ Optional[StrictStr], - Field(description="Deprecated, prefer using instance_ids instead." - )] = None, + Field(description="Deprecated, prefer using instance_ids instead."), + ] = None, instance_ids: Annotated[ Optional[List[StrictStr]], Field( description= "(Optional) Filter on the provided instance_ids. At least one of app_id, service_id, deployment_id, regional_deployment_id or instance_ids must be set." - )] = None, + ), + ] = None, stream: Annotated[ Optional[StrictStr], - Field(description="Deprecated, prefer using streams instead.")] = None, + Field(description="Deprecated, prefer using streams instead."), + ] = None, streams: Annotated[ Optional[List[StrictStr]], Field( description= - "(Optional) Filter on stream: either \"stdout\", \"stderr\" or \"koyeb\" (for system logs)." - )] = None, + '(Optional) Filter on stream: either "stdout", "stderr" or "koyeb" (for system logs).' + ), + ] = None, start: Annotated[ Optional[datetime], - Field(description="(Optional) Defaults to 24 hours ago.")] = None, + Field(description="(Optional) Defaults to 24 hours ago."), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) Defaults to 1000. Maximum of 1000." - )] = None, + Field(description="(Optional) Defaults to 1000. Maximum of 1000."), + ] = None, regex: Annotated[ Optional[StrictStr], Field( description= "(Optional) Apply a regex to filter logs. Can't be used with `text`." - )] = None, + ), + ] = None, text: Annotated[ Optional[StrictStr], Field( description= "(Optional) Looks for this string in logs. Can't be used with `regex`." - )] = None, + ), + ] = None, regions: Annotated[ Optional[List[StrictStr]], Field( description= - "(Optional) Filter on the provided regions (e.g. [\"fra\", \"was\"])." - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + '(Optional) Filter on the provided regions (e.g. ["fra", "was"]).' + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -57065,82 +59830,94 @@ async def tail_logs_without_preload_content( Optional[StrictStr], Field( description= - "Type of logs to retrieve, either \"build\" or \"runtime\". Defaults to \"runtime\"." - )] = None, + 'Type of logs to retrieve, either "build" or "runtime". Defaults to "runtime".' + ), + ] = None, app_id: Annotated[ Optional[StrictStr], Field( description= "(Optional) Filter on the provided app_id. At least one of app_id, service_id, deployment_id, regional_deployment_id or instance_ids must be set." - )] = None, + ), + ] = None, service_id: Annotated[ Optional[StrictStr], Field( description= "(Optional) Filter on the provided service_id. At least one of app_id, service_id, deployment_id, regional_deployment_id or instance_ids must be set." - )] = None, + ), + ] = None, deployment_id: Annotated[ Optional[StrictStr], Field( description= "(Optional) Filter on the provided deployment_id. At least one of app_id, service_id, deployment_id, regional_deployment_id or instance_ids must be set." - )] = None, + ), + ] = None, regional_deployment_id: Annotated[ Optional[StrictStr], Field( description= "(Optional) Filter on the provided regional_deployment_id. At least one of app_id, service_id, deployment_id, regional_deployment_id or instance_ids must be set." - )] = None, + ), + ] = None, instance_id: Annotated[ Optional[StrictStr], - Field(description="Deprecated, prefer using instance_ids instead." - )] = None, + Field(description="Deprecated, prefer using instance_ids instead."), + ] = None, instance_ids: Annotated[ Optional[List[StrictStr]], Field( description= "(Optional) Filter on the provided instance_ids. At least one of app_id, service_id, deployment_id, regional_deployment_id or instance_ids must be set." - )] = None, + ), + ] = None, stream: Annotated[ Optional[StrictStr], - Field(description="Deprecated, prefer using streams instead.")] = None, + Field(description="Deprecated, prefer using streams instead."), + ] = None, streams: Annotated[ Optional[List[StrictStr]], Field( description= - "(Optional) Filter on stream: either \"stdout\", \"stderr\" or \"koyeb\" (for system logs)." - )] = None, + '(Optional) Filter on stream: either "stdout", "stderr" or "koyeb" (for system logs).' + ), + ] = None, start: Annotated[ Optional[datetime], - Field(description="(Optional) Defaults to 24 hours ago.")] = None, + Field(description="(Optional) Defaults to 24 hours ago."), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) Defaults to 1000. Maximum of 1000." - )] = None, + Field(description="(Optional) Defaults to 1000. Maximum of 1000."), + ] = None, regex: Annotated[ Optional[StrictStr], Field( description= "(Optional) Apply a regex to filter logs. Can't be used with `text`." - )] = None, + ), + ] = None, text: Annotated[ Optional[StrictStr], Field( description= "(Optional) Looks for this string in logs. Can't be used with `regex`." - )] = None, + ), + ] = None, regions: Annotated[ Optional[List[StrictStr]], Field( description= - "(Optional) Filter on the provided regions (e.g. [\"fra\", \"was\"])." - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + '(Optional) Filter on the provided regions (e.g. ["fra", "was"]).' + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -57219,12 +59996,12 @@ Do not edit the class manually. @validate_call async def autocomplete( body: AutocompleteRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -57266,12 +60043,12 @@ Returns the result object. @validate_call async def autocomplete_with_http_info( body: AutocompleteRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -57313,12 +60090,12 @@ Returns the result object. @validate_call async def autocomplete_without_preload_content( body: AutocompleteRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -57362,12 +60139,12 @@ async def create_service( service: CreateService, dry_run: Annotated[Optional[StrictBool], Field(description="If set only run validation")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -57410,12 +60187,12 @@ async def create_service_with_http_info( service: CreateService, dry_run: Annotated[Optional[StrictBool], Field(description="If set only run validation")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -57458,12 +60235,12 @@ async def create_service_without_preload_content( service: CreateService, dry_run: Annotated[Optional[StrictBool], Field(description="If set only run validation")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -57505,12 +60282,12 @@ Returns the result object. async def delete_service( id: Annotated[StrictStr, Field(description="The id of the entity to delete")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -57552,12 +60329,12 @@ Returns the result object. async def delete_service_with_http_info( id: Annotated[StrictStr, Field(description="The id of the entity to delete")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -57600,12 +60377,12 @@ Returns the result object. async def delete_service_without_preload_content( id: Annotated[StrictStr, Field(description="The id of the entity to delete")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -57648,12 +60425,12 @@ Returns the result object. async def delete_service_scaling( id: Annotated[StrictStr, Field(description="The id of the service")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -57695,12 +60472,12 @@ Returns the result object. async def delete_service_scaling_with_http_info( id: Annotated[StrictStr, Field(description="The id of the service")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -57743,12 +60520,12 @@ Returns the result object. async def delete_service_scaling_without_preload_content( id: Annotated[StrictStr, Field(description="The id of the service")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -57791,12 +60568,12 @@ Returns the result object. async def get_service( id: Annotated[StrictStr, Field(description="The id of the Service")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -57837,12 +60614,12 @@ Returns the result object. async def get_service_with_http_info( id: Annotated[StrictStr, Field(description="The id of the Service")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -57883,12 +60660,12 @@ Returns the result object. async def get_service_without_preload_content( id: Annotated[StrictStr, Field(description="The id of the Service")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -57929,12 +60706,12 @@ Returns the result object. async def get_service_scaling( id: Annotated[StrictStr, Field(description="The id of the service")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -57977,12 +60754,12 @@ Returns the result object. async def get_service_scaling_with_http_info( id: Annotated[StrictStr, Field(description="The id of the service")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -58025,12 +60802,12 @@ Returns the result object. async def get_service_scaling_without_preload_content( id: Annotated[StrictStr, Field(description="The id of the service")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -58076,26 +60853,30 @@ async def list_service_events( Field(description="(Optional) Filter on service id")] = None, types: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on service event types")] = None, + Field(description="(Optional) Filter on service event types"), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, order: Annotated[ Optional[StrictStr], Field( description= "(Optional) Sorts the list in the ascending or the descending order" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -58143,26 +60924,30 @@ async def list_service_events_with_http_info( Field(description="(Optional) Filter on service id")] = None, types: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on service event types")] = None, + Field(description="(Optional) Filter on service event types"), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, order: Annotated[ Optional[StrictStr], Field( description= "(Optional) Sorts the list in the ascending or the descending order" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -58210,26 +60995,30 @@ async def list_service_events_without_preload_content( Field(description="(Optional) Filter on service id")] = None, types: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on service event types")] = None, + Field(description="(Optional) Filter on service event types"), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, order: Annotated[ Optional[StrictStr], Field( description= "(Optional) Sorts the list in the ascending or the descending order" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -58277,31 +61066,36 @@ async def list_services( description="(Optional) The id of the app")] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, name: Annotated[Optional[StrictStr], Field(description="(Optional) A filter for name")] = None, types: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on service types")] = None, + Field(description="(Optional) Filter on service types"), + ] = None, statuses: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on service statuses")] = None, + Field(description="(Optional) Filter on service statuses"), + ] = None, regions: Annotated[Optional[List[StrictStr]], Field( description="(Optional) Filter on regions")] = None, - project_id: Annotated[ - Optional[StrictStr], - Field(description="(Optional) A filter for the project ID")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ids: Annotated[ + Optional[List[StrictStr]], + Field(description="(Optional) Filter on service ids"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -58320,7 +61114,7 @@ List Services - `types` (`List[str]`): (Optional) Filter on service types - `statuses` (`List[str]`): (Optional) Filter on service statuses - `regions` (`List[str]`): (Optional) Filter on regions -- `project_id` (`str`): (Optional) A filter for the project ID +- `ids` (`List[str]`): (Optional) Filter on service ids - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -58352,31 +61146,36 @@ async def list_services_with_http_info( description="(Optional) The id of the app")] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, name: Annotated[Optional[StrictStr], Field(description="(Optional) A filter for name")] = None, types: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on service types")] = None, + Field(description="(Optional) Filter on service types"), + ] = None, statuses: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on service statuses")] = None, + Field(description="(Optional) Filter on service statuses"), + ] = None, regions: Annotated[Optional[List[StrictStr]], Field( description="(Optional) Filter on regions")] = None, - project_id: Annotated[ - Optional[StrictStr], - Field(description="(Optional) A filter for the project ID")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ids: Annotated[ + Optional[List[StrictStr]], + Field(description="(Optional) Filter on service ids"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -58395,7 +61194,7 @@ List Services - `types` (`List[str]`): (Optional) Filter on service types - `statuses` (`List[str]`): (Optional) Filter on service statuses - `regions` (`List[str]`): (Optional) Filter on regions -- `project_id` (`str`): (Optional) A filter for the project ID +- `ids` (`List[str]`): (Optional) Filter on service ids - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -58427,31 +61226,36 @@ async def list_services_without_preload_content( description="(Optional) The id of the app")] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, name: Annotated[Optional[StrictStr], Field(description="(Optional) A filter for name")] = None, types: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on service types")] = None, + Field(description="(Optional) Filter on service types"), + ] = None, statuses: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on service statuses")] = None, + Field(description="(Optional) Filter on service statuses"), + ] = None, regions: Annotated[Optional[List[StrictStr]], Field( description="(Optional) Filter on regions")] = None, - project_id: Annotated[ - Optional[StrictStr], - Field(description="(Optional) A filter for the project ID")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ids: Annotated[ + Optional[List[StrictStr]], + Field(description="(Optional) Filter on service ids"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -58470,7 +61274,7 @@ List Services - `types` (`List[str]`): (Optional) Filter on service types - `statuses` (`List[str]`): (Optional) Filter on service statuses - `regions` (`List[str]`): (Optional) Filter on regions -- `project_id` (`str`): (Optional) A filter for the project ID +- `ids` (`List[str]`): (Optional) Filter on service ids - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -58499,12 +61303,12 @@ Returns the result object. async def pause_service( id: Annotated[StrictStr, Field(description="The id of the service to pause.")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -58546,12 +61350,12 @@ Returns the result object. async def pause_service_with_http_info( id: Annotated[StrictStr, Field(description="The id of the service to pause.")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -58594,12 +61398,12 @@ Returns the result object. async def pause_service_without_preload_content( id: Annotated[StrictStr, Field(description="The id of the service to pause.")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -58642,12 +61446,12 @@ Returns the result object. async def re_deploy( id: StrictStr, info: RedeployRequestInfo, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -58689,12 +61493,12 @@ Returns the result object. async def re_deploy_with_http_info( id: StrictStr, info: RedeployRequestInfo, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -58736,12 +61540,12 @@ Returns the result object. async def re_deploy_without_preload_content( id: StrictStr, info: RedeployRequestInfo, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -58789,14 +61593,15 @@ async def resume_service( Field( description= "If set to true, the build stage will be skipped and the image coming from the last successful build step will be used instead. The call fails if no previous successful builds happened." - )] = None, + ), + ] = None, use_cache: Optional[StrictBool] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -58845,14 +61650,15 @@ async def resume_service_with_http_info( Field( description= "If set to true, the build stage will be skipped and the image coming from the last successful build step will be used instead. The call fails if no previous successful builds happened." - )] = None, + ), + ] = None, use_cache: Optional[StrictBool] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -58902,14 +61708,15 @@ async def resume_service_without_preload_content( Field( description= "If set to true, the build stage will be skipped and the image coming from the last successful build step will be used instead. The call fails if no previous successful builds happened." - )] = None, + ), + ] = None, use_cache: Optional[StrictBool] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -58959,14 +61766,14 @@ async def update_service( dry_run: Annotated[ Optional[StrictBool], Field(description= - "If set, run validation and check that the service exists" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + "If set, run validation and check that the service exists"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -59015,14 +61822,14 @@ async def update_service_with_http_info( dry_run: Annotated[ Optional[StrictBool], Field(description= - "If set, run validation and check that the service exists" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + "If set, run validation and check that the service exists"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -59071,14 +61878,14 @@ async def update_service_without_preload_content( dry_run: Annotated[ Optional[StrictBool], Field(description= - "If set, run validation and check that the service exists" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + "If set, run validation and check that the service exists"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -59127,14 +61934,14 @@ async def update_service2( dry_run: Annotated[ Optional[StrictBool], Field(description= - "If set, run validation and check that the service exists" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + "If set, run validation and check that the service exists"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -59183,14 +61990,14 @@ async def update_service2_with_http_info( dry_run: Annotated[ Optional[StrictBool], Field(description= - "If set, run validation and check that the service exists" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + "If set, run validation and check that the service exists"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -59239,14 +62046,14 @@ async def update_service2_without_preload_content( dry_run: Annotated[ Optional[StrictBool], Field(description= - "If set, run validation and check that the service exists" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + "If set, run validation and check that the service exists"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -59291,12 +62098,12 @@ async def update_service_scaling( id: Annotated[StrictStr, Field(description="The id of the service to scale")], body: UpdateServiceScalingRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -59340,12 +62147,12 @@ async def update_service_scaling_with_http_info( id: Annotated[StrictStr, Field(description="The id of the service to scale")], body: UpdateServiceScalingRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -59390,12 +62197,12 @@ async def update_service_scaling_without_preload_content( id: Annotated[StrictStr, Field(description="The id of the service to scale")], body: UpdateServiceScalingRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -59465,12 +62272,12 @@ Do not edit the class manually. async def get_organization_summary( organization_id: Annotated[StrictStr, Field(description="Organization ID")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -59511,12 +62318,12 @@ Returns the result object. async def get_organization_summary_with_http_info( organization_id: Annotated[StrictStr, Field(description="Organization ID")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -59557,12 +62364,12 @@ Returns the result object. async def get_organization_summary_without_preload_content( organization_id: Annotated[StrictStr, Field(description="Organization ID")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -59628,12 +62435,12 @@ Do not edit the class manually. @validate_call async def create_persistent_volume( body: CreatePersistentVolumeRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -59673,12 +62480,12 @@ Returns the result object. @validate_call async def create_persistent_volume_with_http_info( body: CreatePersistentVolumeRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -59718,12 +62525,12 @@ Returns the result object. @validate_call async def create_persistent_volume_without_preload_content( body: CreatePersistentVolumeRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -59763,12 +62570,12 @@ Returns the result object. @validate_call async def delete_persistent_volume( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -59808,12 +62615,12 @@ Returns the result object. @validate_call async def delete_persistent_volume_with_http_info( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -59853,12 +62660,12 @@ Returns the result object. @validate_call async def delete_persistent_volume_without_preload_content( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -59898,12 +62705,12 @@ Returns the result object. @validate_call async def get_persistent_volume( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -59943,12 +62750,12 @@ Returns the result object. @validate_call async def get_persistent_volume_with_http_info( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -59988,12 +62795,12 @@ Returns the result object. @validate_call async def get_persistent_volume_without_preload_content( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -60034,30 +62841,35 @@ Returns the result object. async def list_persistent_volume_events( persistent_volume_id: Annotated[ Optional[StrictStr], - Field(description="(Optional) Filter on persistent volume id")] = None, + Field(description="(Optional) Filter on persistent volume id"), + ] = None, types: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on persistent volume event types" - )] = None, + Field( + description="(Optional) Filter on persistent volume event types"), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, order: Annotated[ Optional[StrictStr], Field( description= "(Optional) Sorts the list in the ascending or the descending order" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -60102,30 +62914,35 @@ Returns the result object. async def list_persistent_volume_events_with_http_info( persistent_volume_id: Annotated[ Optional[StrictStr], - Field(description="(Optional) Filter on persistent volume id")] = None, + Field(description="(Optional) Filter on persistent volume id"), + ] = None, types: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on persistent volume event types" - )] = None, + Field( + description="(Optional) Filter on persistent volume event types"), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, order: Annotated[ Optional[StrictStr], Field( description= "(Optional) Sorts the list in the ascending or the descending order" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -60170,30 +62987,35 @@ Returns the result object. async def list_persistent_volume_events_without_preload_content( persistent_volume_id: Annotated[ Optional[StrictStr], - Field(description="(Optional) Filter on persistent volume id")] = None, + Field(description="(Optional) Filter on persistent volume id"), + ] = None, types: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on persistent volume event types" - )] = None, + Field( + description="(Optional) Filter on persistent volume event types"), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, order: Annotated[ Optional[StrictStr], Field( description= "(Optional) Sorts the list in the ascending or the descending order" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -60238,29 +63060,33 @@ Returns the result object. async def list_persistent_volumes( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, service_id: Annotated[ Optional[StrictStr], - Field(description="(Optional) A filter for the service id")] = None, + Field(description="(Optional) A filter for the service id"), + ] = None, region: Annotated[ Optional[StrictStr], Field(description="(Optional) A filter for the region")] = None, name: Annotated[ Optional[StrictStr], Field(description="(Optional) A filter for the name")] = None, - project_id: Annotated[ - Optional[StrictStr], - Field(description="(Optional) A filter for the project ID")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ids: Annotated[ + Optional[List[StrictStr]], + Field(description="(Optional) Filter on volume ids"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -60277,7 +63103,7 @@ List all PersistentVolumes - `service_id` (`str`): (Optional) A filter for the service id - `region` (`str`): (Optional) A filter for the region - `name` (`str`): (Optional) A filter for the name -- `project_id` (`str`): (Optional) A filter for the project ID +- `ids` (`List[str]`): (Optional) Filter on volume ids - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -60306,29 +63132,33 @@ Returns the result object. async def list_persistent_volumes_with_http_info( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, service_id: Annotated[ Optional[StrictStr], - Field(description="(Optional) A filter for the service id")] = None, + Field(description="(Optional) A filter for the service id"), + ] = None, region: Annotated[ Optional[StrictStr], Field(description="(Optional) A filter for the region")] = None, name: Annotated[ Optional[StrictStr], Field(description="(Optional) A filter for the name")] = None, - project_id: Annotated[ - Optional[StrictStr], - Field(description="(Optional) A filter for the project ID")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ids: Annotated[ + Optional[List[StrictStr]], + Field(description="(Optional) Filter on volume ids"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -60345,7 +63175,7 @@ List all PersistentVolumes - `service_id` (`str`): (Optional) A filter for the service id - `region` (`str`): (Optional) A filter for the region - `name` (`str`): (Optional) A filter for the name -- `project_id` (`str`): (Optional) A filter for the project ID +- `ids` (`List[str]`): (Optional) Filter on volume ids - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -60374,29 +63204,33 @@ Returns the result object. async def list_persistent_volumes_without_preload_content( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, service_id: Annotated[ Optional[StrictStr], - Field(description="(Optional) A filter for the service id")] = None, + Field(description="(Optional) A filter for the service id"), + ] = None, region: Annotated[ Optional[StrictStr], Field(description="(Optional) A filter for the region")] = None, name: Annotated[ Optional[StrictStr], Field(description="(Optional) A filter for the name")] = None, - project_id: Annotated[ - Optional[StrictStr], - Field(description="(Optional) A filter for the project ID")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ids: Annotated[ + Optional[List[StrictStr]], + Field(description="(Optional) Filter on volume ids"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -60413,7 +63247,7 @@ List all PersistentVolumes - `service_id` (`str`): (Optional) A filter for the service id - `region` (`str`): (Optional) A filter for the region - `name` (`str`): (Optional) A filter for the name -- `project_id` (`str`): (Optional) A filter for the project ID +- `ids` (`List[str]`): (Optional) Filter on volume ids - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -60442,12 +63276,12 @@ Returns the result object. async def update_persistent_volume( id: StrictStr, body: UpdatePersistentVolumeRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -60489,12 +63323,12 @@ Returns the result object. async def update_persistent_volume_with_http_info( id: StrictStr, body: UpdatePersistentVolumeRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -60536,12 +63370,12 @@ Returns the result object. async def update_persistent_volume_without_preload_content( id: StrictStr, body: UpdatePersistentVolumeRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -60574,9 +63408,9 @@ in the spec for a single request. Returns the result object. - + -# koyeb/api\_async.api.users\_api +# koyeb/api\_async.api.pool\_claims\_api Koyeb Rest API @@ -60587,12 +63421,12 @@ Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. - + -## UsersApi Objects +## PoolClaimsApi Objects ```python -class UsersApi() +class PoolClaimsApi() ``` NOTE: This class is auto generated by OpenAPI Generator @@ -60600,33 +63434,32 @@ Ref: https://openapi-generator.tech Do not edit the class manually. - + -#### delete\_user +#### claim ```python @validate_call -async def delete_user( - id: Annotated[StrictStr, - Field(description="The id of the user")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, +async def claim( + body: PoolClaimRequest, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, - Field(ge=0, le=0)] = 0) -> DeleteUserReply + Field(ge=0, le=0)] = 0) -> PoolClaimReply ``` -Delete user +Claim a sandbox from a service pool **Arguments**: -- `id` (`str`): The id of the user (required) +- `body` (`PoolClaimRequest`): (required) - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -60646,33 +63479,32 @@ in the spec for a single request. Returns the result object. - + -#### delete\_user\_with\_http\_info +#### claim\_with\_http\_info ```python @validate_call -async def delete_user_with_http_info( - id: Annotated[StrictStr, - Field(description="The id of the user")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, +async def claim_with_http_info( + body: PoolClaimRequest, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0 -) -> ApiResponse[DeleteUserReply] +) -> ApiResponse[PoolClaimReply] ``` -Delete user +Claim a sandbox from a service pool **Arguments**: -- `id` (`str`): The id of the user (required) +- `body` (`PoolClaimRequest`): (required) - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -60692,21 +63524,20 @@ in the spec for a single request. Returns the result object. - + -#### delete\_user\_without\_preload\_content +#### claim\_without\_preload\_content ```python @validate_call -async def delete_user_without_preload_content( - id: Annotated[StrictStr, - Field(description="The id of the user")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, +async def claim_without_preload_content( + body: PoolClaimRequest, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -60714,11 +63545,11 @@ async def delete_user_without_preload_content( Field(ge=0, le=0)] = 0) -> RESTResponseType ``` -Delete user +Claim a sandbox from a service pool **Arguments**: -- `id` (`str`): The id of the user (required) +- `body` (`PoolClaimRequest`): (required) - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -60738,33 +63569,32 @@ in the spec for a single request. Returns the result object. - + -#### delete\_user\_v2 +#### get\_claim ```python @validate_call -async def delete_user_v2( - id: Annotated[StrictStr, - Field(description="The id of the user")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, +async def get_claim( + claim_id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, - Field(ge=0, le=0)] = 0) -> DeleteUserReply + Field(ge=0, le=0)] = 0) -> GetPoolClaimReply ``` -V2 Delete user +Get a claim **Arguments**: -- `id` (`str`): The id of the user (required) +- `claim_id` (`str`): (required) - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -60784,33 +63614,32 @@ in the spec for a single request. Returns the result object. - + -#### delete\_user\_v2\_with\_http\_info +#### get\_claim\_with\_http\_info ```python @validate_call -async def delete_user_v2_with_http_info( - id: Annotated[StrictStr, - Field(description="The id of the user")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, +async def get_claim_with_http_info( + claim_id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0 -) -> ApiResponse[DeleteUserReply] +) -> ApiResponse[GetPoolClaimReply] ``` -V2 Delete user +Get a claim **Arguments**: -- `id` (`str`): The id of the user (required) +- `claim_id` (`str`): (required) - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -60830,29 +63659,483 @@ in the spec for a single request. Returns the result object. - + -#### delete\_user\_v2\_without\_preload\_content +#### get\_claim\_without\_preload\_content ```python @validate_call -async def delete_user_v2_without_preload_content( +async def get_claim_without_preload_content( + claim_id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, + Field(ge=0, le=0)] = 0) -> RESTResponseType +``` + +Get a claim + +**Arguments**: + +- `claim_id` (`str`): (required) +- `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one +number provided, it will be total request +timeout. It can also be a pair (tuple) of +(connection, read) timeouts. +- `_request_auth` (`dict, optional`): set to override the auth_settings for an a single +request; this effectively ignores the +authentication in the spec for a single request. +- `_content_type` (`str, Optional`): force content-type for the request. +- `_headers` (`dict, optional`): set to override the headers for a single +request; this effectively ignores the headers +in the spec for a single request. +- `_host_index` (`int, optional`): set to override the host_index for a single +request; this effectively ignores the host_index +in the spec for a single request. + +**Returns**: + +Returns the result object. + + + +#### list\_claim + +```python +@validate_call +async def list_claim( + pool_id: StrictStr, + status: Optional[StrictStr] = None, + limit: Optional[StrictStr] = None, + offset: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0 +) -> ListPoolClaimReply +``` + +List claims of a service pool + +**Arguments**: + +- `pool_id` (`str`): (required) +- `status` (`str`): +- `limit` (`str`): +- `offset` (`str`): +- `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one +number provided, it will be total request +timeout. It can also be a pair (tuple) of +(connection, read) timeouts. +- `_request_auth` (`dict, optional`): set to override the auth_settings for an a single +request; this effectively ignores the +authentication in the spec for a single request. +- `_content_type` (`str, Optional`): force content-type for the request. +- `_headers` (`dict, optional`): set to override the headers for a single +request; this effectively ignores the headers +in the spec for a single request. +- `_host_index` (`int, optional`): set to override the host_index for a single +request; this effectively ignores the host_index +in the spec for a single request. + +**Returns**: + +Returns the result object. + + + +#### list\_claim\_with\_http\_info + +```python +@validate_call +async def list_claim_with_http_info( + pool_id: StrictStr, + status: Optional[StrictStr] = None, + limit: Optional[StrictStr] = None, + offset: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0 +) -> ApiResponse[ListPoolClaimReply] +``` + +List claims of a service pool + +**Arguments**: + +- `pool_id` (`str`): (required) +- `status` (`str`): +- `limit` (`str`): +- `offset` (`str`): +- `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one +number provided, it will be total request +timeout. It can also be a pair (tuple) of +(connection, read) timeouts. +- `_request_auth` (`dict, optional`): set to override the auth_settings for an a single +request; this effectively ignores the +authentication in the spec for a single request. +- `_content_type` (`str, Optional`): force content-type for the request. +- `_headers` (`dict, optional`): set to override the headers for a single +request; this effectively ignores the headers +in the spec for a single request. +- `_host_index` (`int, optional`): set to override the host_index for a single +request; this effectively ignores the host_index +in the spec for a single request. + +**Returns**: + +Returns the result object. + + + +#### list\_claim\_without\_preload\_content + +```python +@validate_call +async def list_claim_without_preload_content( + pool_id: StrictStr, + status: Optional[StrictStr] = None, + limit: Optional[StrictStr] = None, + offset: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, + Field(ge=0, le=0)] = 0) -> RESTResponseType +``` + +List claims of a service pool + +**Arguments**: + +- `pool_id` (`str`): (required) +- `status` (`str`): +- `limit` (`str`): +- `offset` (`str`): +- `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one +number provided, it will be total request +timeout. It can also be a pair (tuple) of +(connection, read) timeouts. +- `_request_auth` (`dict, optional`): set to override the auth_settings for an a single +request; this effectively ignores the +authentication in the spec for a single request. +- `_content_type` (`str, Optional`): force content-type for the request. +- `_headers` (`dict, optional`): set to override the headers for a single +request; this effectively ignores the headers +in the spec for a single request. +- `_host_index` (`int, optional`): set to override the host_index for a single +request; this effectively ignores the host_index +in the spec for a single request. + +**Returns**: + +Returns the result object. + + + +# koyeb/api\_async.api.users\_api + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## UsersApi Objects + +```python +class UsersApi() +``` + +NOTE: This class is auto generated by OpenAPI Generator +Ref: https://openapi-generator.tech + +Do not edit the class manually. + + + +#### delete\_user + +```python +@validate_call +async def delete_user( id: Annotated[StrictStr, Field(description="The id of the user")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, - Field(ge=0, le=0)] = 0) -> RESTResponseType + Field(ge=0, le=0)] = 0) -> DeleteUserReply ``` -V2 Delete user +Delete user + +**Arguments**: + +- `id` (`str`): The id of the user (required) +- `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one +number provided, it will be total request +timeout. It can also be a pair (tuple) of +(connection, read) timeouts. +- `_request_auth` (`dict, optional`): set to override the auth_settings for an a single +request; this effectively ignores the +authentication in the spec for a single request. +- `_content_type` (`str, Optional`): force content-type for the request. +- `_headers` (`dict, optional`): set to override the headers for a single +request; this effectively ignores the headers +in the spec for a single request. +- `_host_index` (`int, optional`): set to override the host_index for a single +request; this effectively ignores the host_index +in the spec for a single request. + +**Returns**: + +Returns the result object. + + + +#### delete\_user\_with\_http\_info + +```python +@validate_call +async def delete_user_with_http_info( + id: Annotated[StrictStr, + Field(description="The id of the user")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0 +) -> ApiResponse[DeleteUserReply] +``` + +Delete user + +**Arguments**: + +- `id` (`str`): The id of the user (required) +- `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one +number provided, it will be total request +timeout. It can also be a pair (tuple) of +(connection, read) timeouts. +- `_request_auth` (`dict, optional`): set to override the auth_settings for an a single +request; this effectively ignores the +authentication in the spec for a single request. +- `_content_type` (`str, Optional`): force content-type for the request. +- `_headers` (`dict, optional`): set to override the headers for a single +request; this effectively ignores the headers +in the spec for a single request. +- `_host_index` (`int, optional`): set to override the host_index for a single +request; this effectively ignores the host_index +in the spec for a single request. + +**Returns**: + +Returns the result object. + + + +#### delete\_user\_without\_preload\_content + +```python +@validate_call +async def delete_user_without_preload_content( + id: Annotated[StrictStr, + Field(description="The id of the user")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, + Field(ge=0, le=0)] = 0) -> RESTResponseType +``` + +Delete user + +**Arguments**: + +- `id` (`str`): The id of the user (required) +- `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one +number provided, it will be total request +timeout. It can also be a pair (tuple) of +(connection, read) timeouts. +- `_request_auth` (`dict, optional`): set to override the auth_settings for an a single +request; this effectively ignores the +authentication in the spec for a single request. +- `_content_type` (`str, Optional`): force content-type for the request. +- `_headers` (`dict, optional`): set to override the headers for a single +request; this effectively ignores the headers +in the spec for a single request. +- `_host_index` (`int, optional`): set to override the host_index for a single +request; this effectively ignores the host_index +in the spec for a single request. + +**Returns**: + +Returns the result object. + + + +#### delete\_user\_v2 + +```python +@validate_call +async def delete_user_v2( + id: Annotated[StrictStr, + Field(description="The id of the user")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, + Field(ge=0, le=0)] = 0) -> DeleteUserReply +``` + +V2 Delete user + +**Arguments**: + +- `id` (`str`): The id of the user (required) +- `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one +number provided, it will be total request +timeout. It can also be a pair (tuple) of +(connection, read) timeouts. +- `_request_auth` (`dict, optional`): set to override the auth_settings for an a single +request; this effectively ignores the +authentication in the spec for a single request. +- `_content_type` (`str, Optional`): force content-type for the request. +- `_headers` (`dict, optional`): set to override the headers for a single +request; this effectively ignores the headers +in the spec for a single request. +- `_host_index` (`int, optional`): set to override the host_index for a single +request; this effectively ignores the host_index +in the spec for a single request. + +**Returns**: + +Returns the result object. + + + +#### delete\_user\_v2\_with\_http\_info + +```python +@validate_call +async def delete_user_v2_with_http_info( + id: Annotated[StrictStr, + Field(description="The id of the user")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0 +) -> ApiResponse[DeleteUserReply] +``` + +V2 Delete user + +**Arguments**: + +- `id` (`str`): The id of the user (required) +- `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one +number provided, it will be total request +timeout. It can also be a pair (tuple) of +(connection, read) timeouts. +- `_request_auth` (`dict, optional`): set to override the auth_settings for an a single +request; this effectively ignores the +authentication in the spec for a single request. +- `_content_type` (`str, Optional`): force content-type for the request. +- `_headers` (`dict, optional`): set to override the headers for a single +request; this effectively ignores the headers +in the spec for a single request. +- `_host_index` (`int, optional`): set to override the host_index for a single +request; this effectively ignores the host_index +in the spec for a single request. + +**Returns**: + +Returns the result object. + + + +#### delete\_user\_v2\_without\_preload\_content + +```python +@validate_call +async def delete_user_v2_without_preload_content( + id: Annotated[StrictStr, + Field(description="The id of the user")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, + Field(ge=0, le=0)] = 0) -> RESTResponseType +``` + +V2 Delete user **Arguments**: @@ -60910,12 +64193,12 @@ Do not edit the class manually. @validate_call async def create_archive( archive: CreateArchive, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -60957,12 +64240,12 @@ Returns the result object. @validate_call async def create_archive_with_http_info( archive: CreateArchive, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -61004,12 +64287,12 @@ Returns the result object. @validate_call async def create_archive_without_preload_content( archive: CreateArchive, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -61081,16 +64364,18 @@ async def get_metrics( Field( description= "ID of the service to query instances metrics for. Ignored if instance_id is set." - )] = None, + ), + ] = None, instance_id: Annotated[ Optional[StrictStr], - Field(description="ID of the instance to query metrics for.")] = None, + Field(description="ID of the instance to query metrics for."), + ] = None, name: Annotated[Optional[StrictStr], Field(description="Metric to query.")] = None, start: Annotated[ Optional[datetime], - Field(description="(Optional) Defaults to an hour prior to end." - )] = None, + Field(description="(Optional) Defaults to an hour prior to end."), + ] = None, end: Annotated[Optional[datetime], Field(description="(Optional) Defaults to now.")] = None, step: Annotated[ @@ -61098,13 +64383,14 @@ async def get_metrics( Field( description= "(Optional) Must be a valid duration in hours (h) or minutes (m). Defaulst to 5m." - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -61153,16 +64439,18 @@ async def get_metrics_with_http_info( Field( description= "ID of the service to query instances metrics for. Ignored if instance_id is set." - )] = None, + ), + ] = None, instance_id: Annotated[ Optional[StrictStr], - Field(description="ID of the instance to query metrics for.")] = None, + Field(description="ID of the instance to query metrics for."), + ] = None, name: Annotated[Optional[StrictStr], Field(description="Metric to query.")] = None, start: Annotated[ Optional[datetime], - Field(description="(Optional) Defaults to an hour prior to end." - )] = None, + Field(description="(Optional) Defaults to an hour prior to end."), + ] = None, end: Annotated[Optional[datetime], Field(description="(Optional) Defaults to now.")] = None, step: Annotated[ @@ -61170,13 +64458,14 @@ async def get_metrics_with_http_info( Field( description= "(Optional) Must be a valid duration in hours (h) or minutes (m). Defaulst to 5m." - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -61225,16 +64514,18 @@ async def get_metrics_without_preload_content( Field( description= "ID of the service to query instances metrics for. Ignored if instance_id is set." - )] = None, + ), + ] = None, instance_id: Annotated[ Optional[StrictStr], - Field(description="ID of the instance to query metrics for.")] = None, + Field(description="ID of the instance to query metrics for."), + ] = None, name: Annotated[Optional[StrictStr], Field(description="Metric to query.")] = None, start: Annotated[ Optional[datetime], - Field(description="(Optional) Defaults to an hour prior to end." - )] = None, + Field(description="(Optional) Defaults to an hour prior to end."), + ] = None, end: Annotated[Optional[datetime], Field(description="(Optional) Defaults to now.")] = None, step: Annotated[ @@ -61242,13 +64533,14 @@ async def get_metrics_without_preload_content( Field( description= "(Optional) Must be a valid duration in hours (h) or minutes (m). Defaulst to 5m." - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -61320,12 +64612,12 @@ Do not edit the class manually. async def confirm_payment_authorization( id: StrictStr, body: Dict[str, Any], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -61367,12 +64659,12 @@ Returns the result object. async def confirm_payment_authorization_with_http_info( id: StrictStr, body: Dict[str, Any], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -61414,12 +64706,12 @@ Returns the result object. async def confirm_payment_authorization_without_preload_content( id: StrictStr, body: Dict[str, Any], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -61460,12 +64752,12 @@ Returns the result object. @validate_call async def create_payment_authorization( body: Dict[str, Any], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -61505,12 +64797,12 @@ Returns the result object. @validate_call async def create_payment_authorization_with_http_info( body: Dict[str, Any], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -61550,12 +64842,12 @@ Returns the result object. @validate_call async def create_payment_authorization_without_preload_content( body: Dict[str, Any], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -61595,12 +64887,12 @@ Returns the result object. @validate_call async def delete_payment_method( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -61639,12 +64931,12 @@ Returns the result object. @validate_call async def delete_payment_method_with_http_info( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -61684,12 +64976,12 @@ Returns the result object. @validate_call async def delete_payment_method_without_preload_content( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -61729,12 +65021,12 @@ Returns the result object. @validate_call async def get_payment_method( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -61774,12 +65066,12 @@ Returns the result object. @validate_call async def get_payment_method_with_http_info( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -61819,12 +65111,12 @@ Returns the result object. @validate_call async def get_payment_method_without_preload_content( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -61865,21 +65157,23 @@ Returns the result object. async def list_payment_methods( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, statuses: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on payment method statuses" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + Field(description="(Optional) Filter on payment method statuses"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -61922,21 +65216,23 @@ Returns the result object. async def list_payment_methods_with_http_info( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, statuses: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on payment method statuses" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + Field(description="(Optional) Filter on payment method statuses"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -61979,21 +65275,23 @@ Returns the result object. async def list_payment_methods_without_preload_content( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, statuses: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on payment method statuses" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + Field(description="(Optional) Filter on payment method statuses"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -62064,12 +65362,12 @@ async def create_stage_attempt( stage: StrictStr, attempt: StrictStr, body: CreateStageAttemptRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -62114,12 +65412,12 @@ async def create_stage_attempt_with_http_info( stage: StrictStr, attempt: StrictStr, body: CreateStageAttemptRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -62165,12 +65463,12 @@ async def create_stage_attempt_without_preload_content( stage: StrictStr, attempt: StrictStr, body: CreateStageAttemptRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -62216,12 +65514,12 @@ async def declare_stage_progress( stage: StrictStr, attempt: StrictStr, body: DeclareStageProgressRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -62266,12 +65564,12 @@ async def declare_stage_progress_with_http_info( stage: StrictStr, attempt: StrictStr, body: DeclareStageProgressRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -62317,12 +65615,12 @@ async def declare_stage_progress_without_preload_content( stage: StrictStr, attempt: StrictStr, body: DeclareStageProgressRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -62369,12 +65667,12 @@ async def declare_step_progress( attempt: StrictStr, step: StrictStr, body: DeclareStepProgressRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -62421,12 +65719,12 @@ async def declare_step_progress_with_http_info( attempt: StrictStr, step: StrictStr, body: DeclareStepProgressRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -62474,12 +65772,12 @@ async def declare_step_progress_without_preload_content( attempt: StrictStr, step: StrictStr, body: DeclareStepProgressRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -62553,12 +65851,12 @@ Do not edit the class manually. @validate_call async def create_organization_invitation( body: CreateOrganizationInvitationRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -62598,12 +65896,12 @@ Returns the result object. @validate_call async def create_organization_invitation_with_http_info( body: CreateOrganizationInvitationRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -62643,12 +65941,12 @@ Returns the result object. @validate_call async def create_organization_invitation_without_preload_content( body: CreateOrganizationInvitationRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -62689,14 +65987,15 @@ Returns the result object. async def delete_organization_invitation( id: Annotated[ StrictStr, - Field(description="The id of the organization invitation to delete" - )], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + Field( + description="The id of the organization invitation to delete"), + ], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -62736,13 +66035,14 @@ Returns the result object. async def delete_organization_invitation_with_http_info( id: Annotated[ StrictStr, - Field(description="The id of the organization invitation to delete")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + Field(description="The id of the organization invitation to delete"), + ], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -62783,13 +66083,14 @@ Returns the result object. async def delete_organization_invitation_without_preload_content( id: Annotated[ StrictStr, - Field(description="The id of the organization invitation to delete")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + Field(description="The id of the organization invitation to delete"), + ], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -62830,12 +66131,12 @@ Returns the result object. async def get_organization_invitation( id: Annotated[StrictStr, Field(description="The id of the invitation to get")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -62876,12 +66177,12 @@ Returns the result object. async def get_organization_invitation_with_http_info( id: Annotated[StrictStr, Field(description="The id of the invitation to get")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -62922,12 +66223,12 @@ Returns the result object. async def get_organization_invitation_without_preload_content( id: Annotated[StrictStr, Field(description="The id of the invitation to get")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -62968,28 +66269,32 @@ Returns the result object. async def list_organization_invitations( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, statuses: Annotated[ Optional[List[StrictStr]], Field( description="(Optional) Filter on organization invitation statuses" - )] = None, + ), + ] = None, user_id: Annotated[ Optional[StrictStr], Field( description= "(Optional) Filter on invitee ID. Will match both invitations sent to that user_id and invitations sent to the email of that user_id. The only valid value is the requester's user_id" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -63033,28 +66338,32 @@ Returns the result object. async def list_organization_invitations_with_http_info( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, statuses: Annotated[ Optional[List[StrictStr]], Field( description="(Optional) Filter on organization invitation statuses" - )] = None, + ), + ] = None, user_id: Annotated[ Optional[StrictStr], Field( description= "(Optional) Filter on invitee ID. Will match both invitations sent to that user_id and invitations sent to the email of that user_id. The only valid value is the requester's user_id" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -63098,28 +66407,32 @@ Returns the result object. async def list_organization_invitations_without_preload_content( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, statuses: Annotated[ Optional[List[StrictStr]], Field( description="(Optional) Filter on organization invitation statuses" - )] = None, + ), + ] = None, user_id: Annotated[ Optional[StrictStr], Field( description= "(Optional) Filter on invitee ID. Will match both invitations sent to that user_id and invitations sent to the email of that user_id. The only valid value is the requester's user_id" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -63163,14 +66476,15 @@ Returns the result object. async def resend_organization_invitation( id: Annotated[ StrictStr, - Field(description="The id of the organization invitation to resend")], + Field(description="The id of the organization invitation to resend"), + ], body: Dict[str, Any], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -63212,14 +66526,15 @@ Returns the result object. async def resend_organization_invitation_with_http_info( id: Annotated[ StrictStr, - Field(description="The id of the organization invitation to resend")], + Field(description="The id of the organization invitation to resend"), + ], body: Dict[str, Any], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -63261,14 +66576,15 @@ Returns the result object. async def resend_organization_invitation_without_preload_content( id: Annotated[ StrictStr, - Field(description="The id of the organization invitation to resend")], + Field(description="The id of the organization invitation to resend"), + ], body: Dict[str, Any], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -63335,12 +66651,12 @@ Do not edit the class manually. @validate_call async def list_usage( region: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -63380,12 +66696,12 @@ Returns the result object. @validate_call async def list_usage_with_http_info( region: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -63425,12 +66741,12 @@ Returns the result object. @validate_call async def list_usage_without_preload_content( region: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -63462,6 +66778,730 @@ in the spec for a single request. Returns the result object. + + +# koyeb/api\_async.api.service\_pools\_api + +Koyeb Rest API + +The Koyeb API allows you to interact with the Koyeb platform in a simple, programmatic way using conventional HTTP requests. + +The version of the OpenAPI document: 1.0.0 +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. + + + +## ServicePoolsApi Objects + +```python +class ServicePoolsApi() +``` + +NOTE: This class is auto generated by OpenAPI Generator +Ref: https://openapi-generator.tech + +Do not edit the class manually. + + + +#### create\_service\_pool + +```python +@validate_call +async def create_service_pool( + service_pool: CreateServicePool, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0 +) -> CreateServicePoolReply +``` + +Create a ServicePool + +**Arguments**: + +- `service_pool` (`CreateServicePool`): (required) +- `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one +number provided, it will be total request +timeout. It can also be a pair (tuple) of +(connection, read) timeouts. +- `_request_auth` (`dict, optional`): set to override the auth_settings for an a single +request; this effectively ignores the +authentication in the spec for a single request. +- `_content_type` (`str, Optional`): force content-type for the request. +- `_headers` (`dict, optional`): set to override the headers for a single +request; this effectively ignores the headers +in the spec for a single request. +- `_host_index` (`int, optional`): set to override the host_index for a single +request; this effectively ignores the host_index +in the spec for a single request. + +**Returns**: + +Returns the result object. + + + +#### create\_service\_pool\_with\_http\_info + +```python +@validate_call +async def create_service_pool_with_http_info( + service_pool: CreateServicePool, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0 +) -> ApiResponse[CreateServicePoolReply] +``` + +Create a ServicePool + +**Arguments**: + +- `service_pool` (`CreateServicePool`): (required) +- `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one +number provided, it will be total request +timeout. It can also be a pair (tuple) of +(connection, read) timeouts. +- `_request_auth` (`dict, optional`): set to override the auth_settings for an a single +request; this effectively ignores the +authentication in the spec for a single request. +- `_content_type` (`str, Optional`): force content-type for the request. +- `_headers` (`dict, optional`): set to override the headers for a single +request; this effectively ignores the headers +in the spec for a single request. +- `_host_index` (`int, optional`): set to override the host_index for a single +request; this effectively ignores the host_index +in the spec for a single request. + +**Returns**: + +Returns the result object. + + + +#### create\_service\_pool\_without\_preload\_content + +```python +@validate_call +async def create_service_pool_without_preload_content( + service_pool: CreateServicePool, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, + Field(ge=0, le=0)] = 0) -> RESTResponseType +``` + +Create a ServicePool + +**Arguments**: + +- `service_pool` (`CreateServicePool`): (required) +- `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one +number provided, it will be total request +timeout. It can also be a pair (tuple) of +(connection, read) timeouts. +- `_request_auth` (`dict, optional`): set to override the auth_settings for an a single +request; this effectively ignores the +authentication in the spec for a single request. +- `_content_type` (`str, Optional`): force content-type for the request. +- `_headers` (`dict, optional`): set to override the headers for a single +request; this effectively ignores the headers +in the spec for a single request. +- `_host_index` (`int, optional`): set to override the host_index for a single +request; this effectively ignores the host_index +in the spec for a single request. + +**Returns**: + +Returns the result object. + + + +#### delete\_service\_pool + +```python +@validate_call +async def delete_service_pool( + id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0) -> object +``` + +Delete a ServicePool + +**Arguments**: + +- `id` (`str`): (required) +- `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one +number provided, it will be total request +timeout. It can also be a pair (tuple) of +(connection, read) timeouts. +- `_request_auth` (`dict, optional`): set to override the auth_settings for an a single +request; this effectively ignores the +authentication in the spec for a single request. +- `_content_type` (`str, Optional`): force content-type for the request. +- `_headers` (`dict, optional`): set to override the headers for a single +request; this effectively ignores the headers +in the spec for a single request. +- `_host_index` (`int, optional`): set to override the host_index for a single +request; this effectively ignores the host_index +in the spec for a single request. + +**Returns**: + +Returns the result object. + + + +#### delete\_service\_pool\_with\_http\_info + +```python +@validate_call +async def delete_service_pool_with_http_info( + id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0 +) -> ApiResponse[object] +``` + +Delete a ServicePool + +**Arguments**: + +- `id` (`str`): (required) +- `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one +number provided, it will be total request +timeout. It can also be a pair (tuple) of +(connection, read) timeouts. +- `_request_auth` (`dict, optional`): set to override the auth_settings for an a single +request; this effectively ignores the +authentication in the spec for a single request. +- `_content_type` (`str, Optional`): force content-type for the request. +- `_headers` (`dict, optional`): set to override the headers for a single +request; this effectively ignores the headers +in the spec for a single request. +- `_host_index` (`int, optional`): set to override the host_index for a single +request; this effectively ignores the host_index +in the spec for a single request. + +**Returns**: + +Returns the result object. + + + +#### delete\_service\_pool\_without\_preload\_content + +```python +@validate_call +async def delete_service_pool_without_preload_content( + id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, + Field(ge=0, le=0)] = 0) -> RESTResponseType +``` + +Delete a ServicePool + +**Arguments**: + +- `id` (`str`): (required) +- `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one +number provided, it will be total request +timeout. It can also be a pair (tuple) of +(connection, read) timeouts. +- `_request_auth` (`dict, optional`): set to override the auth_settings for an a single +request; this effectively ignores the +authentication in the spec for a single request. +- `_content_type` (`str, Optional`): force content-type for the request. +- `_headers` (`dict, optional`): set to override the headers for a single +request; this effectively ignores the headers +in the spec for a single request. +- `_host_index` (`int, optional`): set to override the host_index for a single +request; this effectively ignores the host_index +in the spec for a single request. + +**Returns**: + +Returns the result object. + + + +#### get\_service\_pool + +```python +@validate_call +async def get_service_pool( + id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0 +) -> GetServicePoolReply +``` + +Get a ServicePool + +**Arguments**: + +- `id` (`str`): (required) +- `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one +number provided, it will be total request +timeout. It can also be a pair (tuple) of +(connection, read) timeouts. +- `_request_auth` (`dict, optional`): set to override the auth_settings for an a single +request; this effectively ignores the +authentication in the spec for a single request. +- `_content_type` (`str, Optional`): force content-type for the request. +- `_headers` (`dict, optional`): set to override the headers for a single +request; this effectively ignores the headers +in the spec for a single request. +- `_host_index` (`int, optional`): set to override the host_index for a single +request; this effectively ignores the host_index +in the spec for a single request. + +**Returns**: + +Returns the result object. + + + +#### get\_service\_pool\_with\_http\_info + +```python +@validate_call +async def get_service_pool_with_http_info( + id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0 +) -> ApiResponse[GetServicePoolReply] +``` + +Get a ServicePool + +**Arguments**: + +- `id` (`str`): (required) +- `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one +number provided, it will be total request +timeout. It can also be a pair (tuple) of +(connection, read) timeouts. +- `_request_auth` (`dict, optional`): set to override the auth_settings for an a single +request; this effectively ignores the +authentication in the spec for a single request. +- `_content_type` (`str, Optional`): force content-type for the request. +- `_headers` (`dict, optional`): set to override the headers for a single +request; this effectively ignores the headers +in the spec for a single request. +- `_host_index` (`int, optional`): set to override the host_index for a single +request; this effectively ignores the host_index +in the spec for a single request. + +**Returns**: + +Returns the result object. + + + +#### get\_service\_pool\_without\_preload\_content + +```python +@validate_call +async def get_service_pool_without_preload_content( + id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, + Field(ge=0, le=0)] = 0) -> RESTResponseType +``` + +Get a ServicePool + +**Arguments**: + +- `id` (`str`): (required) +- `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one +number provided, it will be total request +timeout. It can also be a pair (tuple) of +(connection, read) timeouts. +- `_request_auth` (`dict, optional`): set to override the auth_settings for an a single +request; this effectively ignores the +authentication in the spec for a single request. +- `_content_type` (`str, Optional`): force content-type for the request. +- `_headers` (`dict, optional`): set to override the headers for a single +request; this effectively ignores the headers +in the spec for a single request. +- `_host_index` (`int, optional`): set to override the host_index for a single +request; this effectively ignores the host_index +in the spec for a single request. + +**Returns**: + +Returns the result object. + + + +#### list\_service\_pools + +```python +@validate_call +async def list_service_pools( + name: Optional[StrictStr] = None, + limit: Optional[StrictStr] = None, + offset: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0 +) -> ListServicePoolsReply +``` + +List ServicePools + +**Arguments**: + +- `name` (`str`): +- `limit` (`str`): +- `offset` (`str`): +- `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one +number provided, it will be total request +timeout. It can also be a pair (tuple) of +(connection, read) timeouts. +- `_request_auth` (`dict, optional`): set to override the auth_settings for an a single +request; this effectively ignores the +authentication in the spec for a single request. +- `_content_type` (`str, Optional`): force content-type for the request. +- `_headers` (`dict, optional`): set to override the headers for a single +request; this effectively ignores the headers +in the spec for a single request. +- `_host_index` (`int, optional`): set to override the host_index for a single +request; this effectively ignores the host_index +in the spec for a single request. + +**Returns**: + +Returns the result object. + + + +#### list\_service\_pools\_with\_http\_info + +```python +@validate_call +async def list_service_pools_with_http_info( + name: Optional[StrictStr] = None, + limit: Optional[StrictStr] = None, + offset: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0 +) -> ApiResponse[ListServicePoolsReply] +``` + +List ServicePools + +**Arguments**: + +- `name` (`str`): +- `limit` (`str`): +- `offset` (`str`): +- `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one +number provided, it will be total request +timeout. It can also be a pair (tuple) of +(connection, read) timeouts. +- `_request_auth` (`dict, optional`): set to override the auth_settings for an a single +request; this effectively ignores the +authentication in the spec for a single request. +- `_content_type` (`str, Optional`): force content-type for the request. +- `_headers` (`dict, optional`): set to override the headers for a single +request; this effectively ignores the headers +in the spec for a single request. +- `_host_index` (`int, optional`): set to override the host_index for a single +request; this effectively ignores the host_index +in the spec for a single request. + +**Returns**: + +Returns the result object. + + + +#### list\_service\_pools\_without\_preload\_content + +```python +@validate_call +async def list_service_pools_without_preload_content( + name: Optional[StrictStr] = None, + limit: Optional[StrictStr] = None, + offset: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, + Field(ge=0, le=0)] = 0) -> RESTResponseType +``` + +List ServicePools + +**Arguments**: + +- `name` (`str`): +- `limit` (`str`): +- `offset` (`str`): +- `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one +number provided, it will be total request +timeout. It can also be a pair (tuple) of +(connection, read) timeouts. +- `_request_auth` (`dict, optional`): set to override the auth_settings for an a single +request; this effectively ignores the +authentication in the spec for a single request. +- `_content_type` (`str, Optional`): force content-type for the request. +- `_headers` (`dict, optional`): set to override the headers for a single +request; this effectively ignores the headers +in the spec for a single request. +- `_host_index` (`int, optional`): set to override the host_index for a single +request; this effectively ignores the host_index +in the spec for a single request. + +**Returns**: + +Returns the result object. + + + +#### update\_service\_pool + +```python +@validate_call +async def update_service_pool( + id: StrictStr, + service_pool: UpdateServicePool, + update_mask: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0 +) -> UpdateServicePoolReply +``` + +update_service_pool + +**Arguments**: + +- `id` (`str`): (required) +- `service_pool` (`UpdateServicePool`): (required) +- `update_mask` (`str`): +- `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one +number provided, it will be total request +timeout. It can also be a pair (tuple) of +(connection, read) timeouts. +- `_request_auth` (`dict, optional`): set to override the auth_settings for an a single +request; this effectively ignores the +authentication in the spec for a single request. +- `_content_type` (`str, Optional`): force content-type for the request. +- `_headers` (`dict, optional`): set to override the headers for a single +request; this effectively ignores the headers +in the spec for a single request. +- `_host_index` (`int, optional`): set to override the host_index for a single +request; this effectively ignores the host_index +in the spec for a single request. + +**Returns**: + +Returns the result object. + + + +#### update\_service\_pool\_with\_http\_info + +```python +@validate_call +async def update_service_pool_with_http_info( + id: StrictStr, + service_pool: UpdateServicePool, + update_mask: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0 +) -> ApiResponse[UpdateServicePoolReply] +``` + +update_service_pool + +**Arguments**: + +- `id` (`str`): (required) +- `service_pool` (`UpdateServicePool`): (required) +- `update_mask` (`str`): +- `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one +number provided, it will be total request +timeout. It can also be a pair (tuple) of +(connection, read) timeouts. +- `_request_auth` (`dict, optional`): set to override the auth_settings for an a single +request; this effectively ignores the +authentication in the spec for a single request. +- `_content_type` (`str, Optional`): force content-type for the request. +- `_headers` (`dict, optional`): set to override the headers for a single +request; this effectively ignores the headers +in the spec for a single request. +- `_host_index` (`int, optional`): set to override the host_index for a single +request; this effectively ignores the host_index +in the spec for a single request. + +**Returns**: + +Returns the result object. + + + +#### update\_service\_pool\_without\_preload\_content + +```python +@validate_call +async def update_service_pool_without_preload_content( + id: StrictStr, + service_pool: UpdateServicePool, + update_mask: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, + Field(ge=0, le=0)] = 0) -> RESTResponseType +``` + +update_service_pool + +**Arguments**: + +- `id` (`str`): (required) +- `service_pool` (`UpdateServicePool`): (required) +- `update_mask` (`str`): +- `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one +number provided, it will be total request +timeout. It can also be a pair (tuple) of +(connection, read) timeouts. +- `_request_auth` (`dict, optional`): set to override the auth_settings for an a single +request; this effectively ignores the +authentication in the spec for a single request. +- `_content_type` (`str, Optional`): force content-type for the request. +- `_headers` (`dict, optional`): set to override the headers for a single +request; this effectively ignores the headers +in the spec for a single request. +- `_host_index` (`int, optional`): set to override the host_index for a single +request; this effectively ignores the host_index +in the spec for a single request. + +**Returns**: + +Returns the result object. + # koyeb/api\_async.api.intercom\_api @@ -63495,12 +67535,12 @@ Do not edit the class manually. ```python @validate_call async def get_intercom_profile( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -63538,12 +67578,12 @@ Returns the result object. ```python @validate_call async def get_intercom_profile_with_http_info( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -63581,12 +67621,12 @@ Returns the result object. ```python @validate_call async def get_intercom_profile_without_preload_content( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -63651,12 +67691,12 @@ Do not edit the class manually. @validate_call async def create_app( app: CreateApp, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -63696,12 +67736,12 @@ Returns the result object. @validate_call async def create_app_with_http_info( app: CreateApp, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -63741,12 +67781,12 @@ Returns the result object. @validate_call async def create_app_without_preload_content( app: CreateApp, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -63787,12 +67827,12 @@ Returns the result object. async def delete_app( id: Annotated[StrictStr, Field(description="The id of the App to delete")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -63834,12 +67874,12 @@ Returns the result object. async def delete_app_with_http_info( id: Annotated[StrictStr, Field(description="The id of the App to delete")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -63882,12 +67922,12 @@ Returns the result object. async def delete_app_without_preload_content( id: Annotated[StrictStr, Field(description="The id of the App to delete")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -63930,12 +67970,12 @@ Returns the result object. async def get_app( id: Annotated[StrictStr, Field(description="The id of the App")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -63975,12 +68015,12 @@ Returns the result object. @validate_call async def get_app_with_http_info( id: Annotated[StrictStr, Field(description="The id of the App")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -64020,12 +68060,12 @@ Returns the result object. @validate_call async def get_app_without_preload_content( id: Annotated[StrictStr, Field(description="The id of the App")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -64068,26 +68108,30 @@ async def list_app_events( Field(description="(Optional) Filter on app id")] = None, types: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on app event types")] = None, + Field(description="(Optional) Filter on app event types"), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, order: Annotated[ Optional[StrictStr], Field( description= "(Optional) Sorts the list in the ascending or the descending order" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -64134,26 +68178,30 @@ async def list_app_events_with_http_info( Field(description="(Optional) Filter on app id")] = None, types: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on app event types")] = None, + Field(description="(Optional) Filter on app event types"), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, order: Annotated[ Optional[StrictStr], Field( description= "(Optional) Sorts the list in the ascending or the descending order" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -64200,26 +68248,30 @@ async def list_app_events_without_preload_content( Field(description="(Optional) Filter on app id")] = None, types: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on app event types")] = None, + Field(description="(Optional) Filter on app event types"), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, order: Annotated[ Optional[StrictStr], Field( description= "(Optional) Sorts the list in the ascending or the descending order" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -64264,26 +68316,25 @@ Returns the result object. async def list_apps( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return" - )] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field( - description= - "(Optional) The offset in the list of item to return")] = None, + Field(description= + "(Optional) The offset in the list of item to return"), + ] = None, name: Annotated[ Optional[StrictStr], Field(description="(Optional) A filter for name")] = None, - project_id: Annotated[ - Optional[StrictStr], - Field( - description="(Optional) A filter for the project ID")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ids: Annotated[Optional[List[StrictStr]], + Field( + description="(Optional) Filter on app ids")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -64298,7 +68349,7 @@ List App - `limit` (`str`): (Optional) The number of items to return - `offset` (`str`): (Optional) The offset in the list of item to return - `name` (`str`): (Optional) A filter for name -- `project_id` (`str`): (Optional) A filter for the project ID +- `ids` (`List[str]`): (Optional) Filter on app ids - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -64327,22 +68378,23 @@ Returns the result object. async def list_apps_with_http_info( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, name: Annotated[Optional[StrictStr], Field(description="(Optional) A filter for name")] = None, - project_id: Annotated[ - Optional[StrictStr], - Field(description="(Optional) A filter for the project ID")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ids: Annotated[Optional[List[StrictStr]], + Field(description="(Optional) Filter on app ids")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -64357,7 +68409,7 @@ List App - `limit` (`str`): (Optional) The number of items to return - `offset` (`str`): (Optional) The offset in the list of item to return - `name` (`str`): (Optional) A filter for name -- `project_id` (`str`): (Optional) A filter for the project ID +- `ids` (`List[str]`): (Optional) Filter on app ids - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -64386,22 +68438,23 @@ Returns the result object. async def list_apps_without_preload_content( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, name: Annotated[Optional[StrictStr], Field(description="(Optional) A filter for name")] = None, - project_id: Annotated[ - Optional[StrictStr], - Field(description="(Optional) A filter for the project ID")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ids: Annotated[Optional[List[StrictStr]], + Field(description="(Optional) Filter on app ids")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -64416,7 +68469,7 @@ List App - `limit` (`str`): (Optional) The number of items to return - `offset` (`str`): (Optional) The offset in the list of item to return - `name` (`str`): (Optional) A filter for name -- `project_id` (`str`): (Optional) A filter for the project ID +- `ids` (`List[str]`): (Optional) Filter on app ids - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -64445,12 +68498,12 @@ Returns the result object. async def pause_app( id: Annotated[StrictStr, Field(description="The id of the app to pause.")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -64492,12 +68545,12 @@ Returns the result object. async def pause_app_with_http_info( id: Annotated[StrictStr, Field(description="The id of the app to pause.")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -64540,12 +68593,12 @@ Returns the result object. async def pause_app_without_preload_content( id: Annotated[StrictStr, Field(description="The id of the app to pause.")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -64588,12 +68641,12 @@ Returns the result object. async def resume_app( id: Annotated[StrictStr, Field(description="The id of the app to resume.")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -64635,12 +68688,12 @@ Returns the result object. async def resume_app_with_http_info( id: Annotated[StrictStr, Field(description="The id of the app to resume.")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -64683,12 +68736,12 @@ Returns the result object. async def resume_app_without_preload_content( id: Annotated[StrictStr, Field(description="The id of the app to resume.")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -64733,12 +68786,12 @@ async def update_app( Field(description="The id of the app to update.")], app: UpdateApp, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -64783,12 +68836,12 @@ async def update_app_with_http_info( Field(description="The id of the app to update.")], app: UpdateApp, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -64833,12 +68886,12 @@ async def update_app_without_preload_content( Field(description="The id of the app to update.")], app: UpdateApp, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -64883,12 +68936,12 @@ async def update_app2( Field(description="The id of the app to update.")], app: UpdateApp, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -64933,12 +68986,12 @@ async def update_app2_with_http_info( Field(description="The id of the app to update.")], app: UpdateApp, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -64983,12 +69036,12 @@ async def update_app2_without_preload_content( Field(description="The id of the app to update.")], app: UpdateApp, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -65056,12 +69109,12 @@ Do not edit the class manually. @validate_call async def create_invite( body: InviteUserRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -65100,12 +69153,12 @@ Returns the result object. @validate_call async def create_invite_with_http_info( body: InviteUserRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -65145,12 +69198,12 @@ Returns the result object. @validate_call async def create_invite_without_preload_content( body: InviteUserRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -65218,12 +69271,12 @@ async def cancel_deployment( id: Annotated[StrictStr, Field( description="The id of the deployment to cancel.")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -65265,12 +69318,12 @@ Returns the result object. async def cancel_deployment_with_http_info( id: Annotated[StrictStr, Field(description="The id of the deployment to cancel.")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -65313,12 +69366,12 @@ Returns the result object. async def cancel_deployment_without_preload_content( id: Annotated[StrictStr, Field(description="The id of the deployment to cancel.")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -65361,12 +69414,12 @@ Returns the result object. async def get_deployment( id: Annotated[StrictStr, Field(description="The id of the deployment")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -65407,12 +69460,12 @@ Returns the result object. async def get_deployment_with_http_info( id: Annotated[StrictStr, Field(description="The id of the deployment")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -65453,12 +69506,12 @@ Returns the result object. async def get_deployment_without_preload_content( id: Annotated[StrictStr, Field(description="The id of the deployment")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -65503,12 +69556,12 @@ async def get_deployment_scaling( replica_index: Annotated[ Optional[StrictInt], Field(description="(Optional) Filter on replica_index")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -65555,12 +69608,12 @@ async def get_deployment_scaling_with_http_info( replica_index: Annotated[ Optional[StrictInt], Field(description="(Optional) Filter on replica_index")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -65607,12 +69660,12 @@ async def get_deployment_scaling_without_preload_content( replica_index: Annotated[ Optional[StrictInt], Field(description="(Optional) Filter on replica_index")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -65658,27 +69711,30 @@ async def list_deployment_events( Field(description="(Optional) Filter on deployment id")] = None, types: Annotated[ Optional[List[StrictStr]], - Field( - description="(Optional) Filter on deployment event types")] = None, + Field(description="(Optional) Filter on deployment event types"), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, order: Annotated[ Optional[StrictStr], Field( description= "(Optional) Sorts the list in the ascending or the descending order" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -65726,27 +69782,30 @@ async def list_deployment_events_with_http_info( Field(description="(Optional) Filter on deployment id")] = None, types: Annotated[ Optional[List[StrictStr]], - Field( - description="(Optional) Filter on deployment event types")] = None, + Field(description="(Optional) Filter on deployment event types"), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, order: Annotated[ Optional[StrictStr], Field( description= "(Optional) Sorts the list in the ascending or the descending order" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -65794,27 +69853,30 @@ async def list_deployment_events_without_preload_content( Field(description="(Optional) Filter on deployment id")] = None, types: Annotated[ Optional[List[StrictStr]], - Field( - description="(Optional) Filter on deployment event types")] = None, + Field(description="(Optional) Filter on deployment event types"), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, order: Annotated[ Optional[StrictStr], Field( description= "(Optional) Sorts the list in the ascending or the descending order" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -65859,26 +69921,34 @@ Returns the result object. async def list_deployments( app_id: Annotated[ Optional[StrictStr], - Field(description="(Optional) Filter on application id")] = None, + Field(description="(Optional) Filter on application id"), + ] = None, service_id: Annotated[ Optional[StrictStr], Field(description="(Optional) Filter on service id")] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, statuses: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on statuses")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + Field(description="(Optional) Filter on statuses"), + ] = None, + ids: Annotated[ + Optional[List[StrictStr]], + Field(description="(Optional) Filter on deployment ids"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -65895,6 +69965,7 @@ List Deployments - `limit` (`str`): (Optional) The number of items to return - `offset` (`str`): (Optional) The offset in the list of item to return - `statuses` (`List[str]`): (Optional) Filter on statuses +- `ids` (`List[str]`): (Optional) Filter on deployment ids - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -65923,26 +69994,34 @@ Returns the result object. async def list_deployments_with_http_info( app_id: Annotated[ Optional[StrictStr], - Field(description="(Optional) Filter on application id")] = None, + Field(description="(Optional) Filter on application id"), + ] = None, service_id: Annotated[ Optional[StrictStr], Field(description="(Optional) Filter on service id")] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, statuses: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on statuses")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + Field(description="(Optional) Filter on statuses"), + ] = None, + ids: Annotated[ + Optional[List[StrictStr]], + Field(description="(Optional) Filter on deployment ids"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -65959,6 +70038,7 @@ List Deployments - `limit` (`str`): (Optional) The number of items to return - `offset` (`str`): (Optional) The offset in the list of item to return - `statuses` (`List[str]`): (Optional) Filter on statuses +- `ids` (`List[str]`): (Optional) Filter on deployment ids - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -65987,26 +70067,34 @@ Returns the result object. async def list_deployments_without_preload_content( app_id: Annotated[ Optional[StrictStr], - Field(description="(Optional) Filter on application id")] = None, + Field(description="(Optional) Filter on application id"), + ] = None, service_id: Annotated[ Optional[StrictStr], Field(description="(Optional) Filter on service id")] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, statuses: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on statuses")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + Field(description="(Optional) Filter on statuses"), + ] = None, + ids: Annotated[ + Optional[List[StrictStr]], + Field(description="(Optional) Filter on deployment ids"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -66023,6 +70111,7 @@ List Deployments - `limit` (`str`): (Optional) The number of items to return - `offset` (`str`): (Optional) The offset in the list of item to return - `statuses` (`List[str]`): (Optional) Filter on statuses +- `ids` (`List[str]`): (Optional) Filter on deployment ids - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -66076,12 +70165,12 @@ Do not edit the class manually. @validate_call async def create_project( project: CreateProject, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -66121,12 +70210,12 @@ Returns the result object. @validate_call async def create_project_with_http_info( project: CreateProject, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -66166,12 +70255,12 @@ Returns the result object. @validate_call async def create_project_without_preload_content( project: CreateProject, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -66211,12 +70300,12 @@ Returns the result object. @validate_call async def delete_project( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -66255,12 +70344,12 @@ Returns the result object. @validate_call async def delete_project_with_http_info( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -66300,12 +70389,12 @@ Returns the result object. @validate_call async def delete_project_without_preload_content( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -66345,12 +70434,12 @@ Returns the result object. @validate_call async def get_project( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -66390,12 +70479,12 @@ Returns the result object. @validate_call async def get_project_with_http_info( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -66435,12 +70524,12 @@ Returns the result object. @validate_call async def get_project_without_preload_content( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -66481,20 +70570,22 @@ Returns the result object. async def list_projects( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, name: Annotated[ Optional[StrictStr], Field(description="(Optional) Filter by project name")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -66537,20 +70628,22 @@ Returns the result object. async def list_projects_with_http_info( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, name: Annotated[ Optional[StrictStr], Field(description="(Optional) Filter by project name")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -66593,20 +70686,22 @@ Returns the result object. async def list_projects_without_preload_content( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, name: Annotated[ Optional[StrictStr], Field(description="(Optional) Filter by project name")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -66650,12 +70745,12 @@ async def update_project( id: StrictStr, project: Project, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -66699,12 +70794,12 @@ async def update_project_with_http_info( id: StrictStr, project: Project, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -66748,12 +70843,12 @@ async def update_project_without_preload_content( id: StrictStr, project: Project, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -66797,12 +70892,12 @@ async def update_project2( id: StrictStr, project: Project, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -66846,12 +70941,12 @@ async def update_project2_with_http_info( id: StrictStr, project: Project, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -66895,12 +70990,12 @@ async def update_project2_without_preload_content( id: StrictStr, project: Project, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -66969,27 +71064,30 @@ Do not edit the class manually. async def list_organization_members( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, organization_id: Annotated[ Optional[StrictStr], - Field(description="(Optional) Filter for an organization")] = None, + Field(description="(Optional) Filter for an organization"), + ] = None, user_id: Annotated[ Optional[StrictStr], Field(description="(Optional) Filter for an user")] = None, organization_statuses: Annotated[ Optional[List[StrictStr]], - Field( - description="(Optional) Filter for organization statuses")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + Field(description="(Optional) Filter for organization statuses"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -67034,27 +71132,30 @@ Returns the result object. async def list_organization_members_with_http_info( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, organization_id: Annotated[ Optional[StrictStr], - Field(description="(Optional) Filter for an organization")] = None, + Field(description="(Optional) Filter for an organization"), + ] = None, user_id: Annotated[ Optional[StrictStr], Field(description="(Optional) Filter for an user")] = None, organization_statuses: Annotated[ Optional[List[StrictStr]], - Field( - description="(Optional) Filter for organization statuses")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + Field(description="(Optional) Filter for organization statuses"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -67099,27 +71200,30 @@ Returns the result object. async def list_organization_members_without_preload_content( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, organization_id: Annotated[ Optional[StrictStr], - Field(description="(Optional) Filter for an organization")] = None, + Field(description="(Optional) Filter for an organization"), + ] = None, user_id: Annotated[ Optional[StrictStr], Field(description="(Optional) Filter for an user")] = None, organization_statuses: Annotated[ Optional[List[StrictStr]], - Field( - description="(Optional) Filter for organization statuses")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + Field(description="(Optional) Filter for organization statuses"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -67163,12 +71267,12 @@ Returns the result object. @validate_call async def remove_organization_member( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -67208,12 +71312,12 @@ Returns the result object. @validate_call async def remove_organization_member_with_http_info( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -67253,12 +71357,12 @@ Returns the result object. @validate_call async def remove_organization_member_without_preload_content( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -67327,12 +71431,12 @@ async def create_access_token( Field( description="Organization id for ephemeral credential")], body: CreateAccessTokenRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -67378,12 +71482,12 @@ async def create_access_token_with_http_info( Field( description="Organization id for ephemeral credential")], body: CreateAccessTokenRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -67429,12 +71533,12 @@ async def create_access_token_without_preload_content( Field( description="Organization id for ephemeral credential")], body: CreateAccessTokenRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -67478,12 +71582,12 @@ Returns the result object. async def create_budget( organization_id: StrictStr, body: UpdateBudgetRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -67525,12 +71629,12 @@ Returns the result object. async def create_budget_with_http_info( organization_id: StrictStr, body: UpdateBudgetRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -67572,12 +71676,12 @@ Returns the result object. async def create_budget_without_preload_content( organization_id: StrictStr, body: UpdateBudgetRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -67618,12 +71722,12 @@ Returns the result object. @validate_call async def create_organization( body: CreateOrganizationRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -67663,12 +71767,12 @@ Returns the result object. @validate_call async def create_organization_with_http_info( body: CreateOrganizationRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -67708,12 +71812,12 @@ Returns the result object. @validate_call async def create_organization_without_preload_content( body: CreateOrganizationRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -67754,12 +71858,12 @@ Returns the result object. async def deactivate_organization( id: StrictStr, body: DeactivateOrganizationRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -67801,12 +71905,12 @@ Returns the result object. async def deactivate_organization_with_http_info( id: StrictStr, body: DeactivateOrganizationRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -67848,12 +71952,12 @@ Returns the result object. async def deactivate_organization_without_preload_content( id: StrictStr, body: DeactivateOrganizationRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -67894,12 +71998,12 @@ Returns the result object. @validate_call async def delete_budget( organization_id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -67938,12 +72042,12 @@ Returns the result object. @validate_call async def delete_budget_with_http_info( organization_id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -67983,12 +72087,12 @@ Returns the result object. @validate_call async def delete_budget_without_preload_content( organization_id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -68028,12 +72132,12 @@ Returns the result object. @validate_call async def delete_organization( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -68073,12 +72177,12 @@ Returns the result object. @validate_call async def delete_organization_with_http_info( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -68118,12 +72222,12 @@ Returns the result object. @validate_call async def delete_organization_without_preload_content( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -68163,12 +72267,12 @@ Returns the result object. @validate_call async def get_budget( organization_id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -68208,12 +72312,12 @@ Returns the result object. @validate_call async def get_budget_with_http_info( organization_id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -68253,12 +72357,12 @@ Returns the result object. @validate_call async def get_budget_without_preload_content( organization_id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -68297,12 +72401,12 @@ Returns the result object. ```python @validate_call async def get_github_installation( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -68340,12 +72444,12 @@ Returns the result object. ```python @validate_call async def get_github_installation_with_http_info( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -68383,12 +72487,12 @@ Returns the result object. ```python @validate_call async def get_github_installation_without_preload_content( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -68427,12 +72531,12 @@ Returns the result object. @validate_call async def get_organization( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -68472,12 +72576,12 @@ Returns the result object. @validate_call async def get_organization_with_http_info( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -68517,12 +72621,12 @@ Returns the result object. @validate_call async def get_organization_without_preload_content( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -68562,12 +72666,12 @@ Returns the result object. @validate_call async def github_installation( body: GithubInstallationRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -68607,12 +72711,12 @@ Returns the result object. @validate_call async def github_installation_with_http_info( body: GithubInstallationRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -68652,12 +72756,12 @@ Returns the result object. @validate_call async def github_installation_without_preload_content( body: GithubInstallationRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -68698,12 +72802,12 @@ Returns the result object. async def reactivate_organization( id: StrictStr, body: Dict[str, Any], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -68745,12 +72849,12 @@ Returns the result object. async def reactivate_organization_with_http_info( id: StrictStr, body: Dict[str, Any], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -68792,12 +72896,12 @@ Returns the result object. async def reactivate_organization_without_preload_content( id: StrictStr, body: Dict[str, Any], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -68841,12 +72945,12 @@ async def switch_organization( body: Dict[str, Any], seon_fp: Annotated[Optional[StrictStr], Field(description="Seon Fingerprint")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -68891,12 +72995,12 @@ async def switch_organization_with_http_info( body: Dict[str, Any], seon_fp: Annotated[Optional[StrictStr], Field(description="Seon Fingerprint")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -68941,12 +73045,12 @@ async def switch_organization_without_preload_content( body: Dict[str, Any], seon_fp: Annotated[Optional[StrictStr], Field(description="Seon Fingerprint")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -68990,12 +73094,12 @@ async def unscope_organization_token( body: Dict[str, Any], seon_fp: Annotated[Optional[StrictStr], Field(description="Seon Fingerprint")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -69040,12 +73144,12 @@ async def unscope_organization_token_with_http_info( body: Dict[str, Any], seon_fp: Annotated[Optional[StrictStr], Field(description="Seon Fingerprint")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -69090,12 +73194,12 @@ async def unscope_organization_token_without_preload_content( body: Dict[str, Any], seon_fp: Annotated[Optional[StrictStr], Field(description="Seon Fingerprint")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -69139,12 +73243,12 @@ Returns the result object. async def update_budget( organization_id: StrictStr, body: UpdateBudgetRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -69186,12 +73290,12 @@ Returns the result object. async def update_budget_with_http_info( organization_id: StrictStr, body: UpdateBudgetRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -69233,12 +73337,12 @@ Returns the result object. async def update_budget_without_preload_content( organization_id: StrictStr, body: UpdateBudgetRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -69281,12 +73385,12 @@ async def update_organization( id: StrictStr, organization: Organization, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -69330,12 +73434,12 @@ async def update_organization_with_http_info( id: StrictStr, organization: Organization, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -69379,12 +73483,12 @@ async def update_organization_without_preload_content( id: StrictStr, organization: Organization, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -69428,12 +73532,12 @@ async def update_organization2( id: StrictStr, organization: Organization, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -69477,12 +73581,12 @@ async def update_organization2_with_http_info( id: StrictStr, organization: Organization, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -69526,12 +73630,12 @@ async def update_organization2_without_preload_content( id: StrictStr, organization: Organization, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -69574,12 +73678,12 @@ Returns the result object. async def update_organization_default_project( id: StrictStr, body: UpdateOrganizationDefaultProjectRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -69621,12 +73725,12 @@ Returns the result object. async def update_organization_default_project_with_http_info( id: StrictStr, body: UpdateOrganizationDefaultProjectRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -69668,12 +73772,12 @@ Returns the result object. async def update_organization_default_project_without_preload_content( id: StrictStr, body: UpdateOrganizationDefaultProjectRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -69715,12 +73819,12 @@ Returns the result object. async def update_organization_name( id: StrictStr, body: UpdateOrganizationNameRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -69762,12 +73866,12 @@ Returns the result object. async def update_organization_name_with_http_info( id: StrictStr, body: UpdateOrganizationNameRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -69809,12 +73913,12 @@ Returns the result object. async def update_organization_name_without_preload_content( id: StrictStr, body: UpdateOrganizationNameRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -69856,12 +73960,12 @@ Returns the result object. async def update_organization_plan( id: StrictStr, body: UpdateOrganizationPlanRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -69903,12 +74007,12 @@ Returns the result object. async def update_organization_plan_with_http_info( id: StrictStr, body: UpdateOrganizationPlanRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -69950,12 +74054,12 @@ Returns the result object. async def update_organization_plan_without_preload_content( id: StrictStr, body: UpdateOrganizationPlanRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -69997,12 +74101,12 @@ Returns the result object. async def upsert_signup_qualification( id: StrictStr, body: UpsertSignupQualificationRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -70044,12 +74148,12 @@ Returns the result object. async def upsert_signup_qualification_with_http_info( id: StrictStr, body: UpsertSignupQualificationRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -70091,12 +74195,12 @@ Returns the result object. async def upsert_signup_qualification_without_preload_content( id: StrictStr, body: UpsertSignupQualificationRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -70155,6 +74259,141 @@ Ref: https://openapi-generator.tech Do not edit the class manually. + + +#### get\_organization\_quotas\_usage + +```python +@validate_call +async def get_organization_quotas_usage( + organization_id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0 +) -> GetOrganizationQuotasUsageReply +``` + +Return the organization's current quota usage alongside the plan's limits. Response is cached in Redis for 60s. Accept text/plain (or ?format=prometheus) to receive the response rendered as Prometheus text exposition format ("koyeb_quota_" for usage, "koyeb_quota__limit" for the plan limit) suitable for scraping into an external Prometheus. + +**Arguments**: + +- `organization_id` (`str`): (required) +- `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one +number provided, it will be total request +timeout. It can also be a pair (tuple) of +(connection, read) timeouts. +- `_request_auth` (`dict, optional`): set to override the auth_settings for an a single +request; this effectively ignores the +authentication in the spec for a single request. +- `_content_type` (`str, Optional`): force content-type for the request. +- `_headers` (`dict, optional`): set to override the headers for a single +request; this effectively ignores the headers +in the spec for a single request. +- `_host_index` (`int, optional`): set to override the host_index for a single +request; this effectively ignores the host_index +in the spec for a single request. + +**Returns**: + +Returns the result object. + + + +#### get\_organization\_quotas\_usage\_with\_http\_info + +```python +@validate_call +async def get_organization_quotas_usage_with_http_info( + organization_id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0 +) -> ApiResponse[GetOrganizationQuotasUsageReply] +``` + +Return the organization's current quota usage alongside the plan's limits. Response is cached in Redis for 60s. Accept text/plain (or ?format=prometheus) to receive the response rendered as Prometheus text exposition format ("koyeb_quota_" for usage, "koyeb_quota__limit" for the plan limit) suitable for scraping into an external Prometheus. + +**Arguments**: + +- `organization_id` (`str`): (required) +- `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one +number provided, it will be total request +timeout. It can also be a pair (tuple) of +(connection, read) timeouts. +- `_request_auth` (`dict, optional`): set to override the auth_settings for an a single +request; this effectively ignores the +authentication in the spec for a single request. +- `_content_type` (`str, Optional`): force content-type for the request. +- `_headers` (`dict, optional`): set to override the headers for a single +request; this effectively ignores the headers +in the spec for a single request. +- `_host_index` (`int, optional`): set to override the host_index for a single +request; this effectively ignores the host_index +in the spec for a single request. + +**Returns**: + +Returns the result object. + + + +#### get\_organization\_quotas\_usage\_without\_preload\_content + +```python +@validate_call +async def get_organization_quotas_usage_without_preload_content( + organization_id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, + Field(ge=0, le=0)] = 0) -> RESTResponseType +``` + +Return the organization's current quota usage alongside the plan's limits. Response is cached in Redis for 60s. Accept text/plain (or ?format=prometheus) to receive the response rendered as Prometheus text exposition format ("koyeb_quota_" for usage, "koyeb_quota__limit" for the plan limit) suitable for scraping into an external Prometheus. + +**Arguments**: + +- `organization_id` (`str`): (required) +- `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one +number provided, it will be total request +timeout. It can also be a pair (tuple) of +(connection, read) timeouts. +- `_request_auth` (`dict, optional`): set to override the auth_settings for an a single +request; this effectively ignores the +authentication in the spec for a single request. +- `_content_type` (`str, Optional`): force content-type for the request. +- `_headers` (`dict, optional`): set to override the headers for a single +request; this effectively ignores the headers +in the spec for a single request. +- `_host_index` (`int, optional`): set to override the host_index for a single +request; this effectively ignores the host_index +in the spec for a single request. + +**Returns**: + +Returns the result object. + #### review\_organization\_capacity @@ -70163,12 +74402,12 @@ Do not edit the class manually. @validate_call async def review_organization_capacity( body: ReviewOrganizationCapacityRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -70208,12 +74447,12 @@ Returns the result object. @validate_call async def review_organization_capacity_with_http_info( body: ReviewOrganizationCapacityRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -70253,12 +74492,12 @@ Returns the result object. @validate_call async def review_organization_capacity_without_preload_content( body: ReviewOrganizationCapacityRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -70325,18 +74564,18 @@ Do not edit the class manually. async def get_organization_usage( starting_time: Annotated[ Optional[datetime], - Field(description="The starting time of the period to get data from" - )] = None, + Field(description="The starting time of the period to get data from"), + ] = None, ending_time: Annotated[ Optional[datetime], - Field(description="The ending time of the period to get data from" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + Field(description="The ending time of the period to get data from"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -70378,18 +74617,18 @@ Returns the result object. async def get_organization_usage_with_http_info( starting_time: Annotated[ Optional[datetime], - Field(description="The starting time of the period to get data from" - )] = None, + Field(description="The starting time of the period to get data from"), + ] = None, ending_time: Annotated[ Optional[datetime], - Field(description="The ending time of the period to get data from" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + Field(description="The ending time of the period to get data from"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -70431,18 +74670,18 @@ Returns the result object. async def get_organization_usage_without_preload_content( starting_time: Annotated[ Optional[datetime], - Field(description="The starting time of the period to get data from" - )] = None, + Field(description="The starting time of the period to get data from"), + ] = None, ending_time: Annotated[ Optional[datetime], - Field(description="The ending time of the period to get data from" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + Field(description="The ending time of the period to get data from"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -70484,36 +74723,39 @@ Returns the result object. async def get_organization_usage_details( starting_time: Annotated[ Optional[datetime], - Field(description="The starting time of the period to get data from" - )] = None, + Field(description="The starting time of the period to get data from"), + ] = None, ending_time: Annotated[ Optional[datetime], - Field(description="The ending time of the period to get data from" - )] = None, + Field(description="The ending time of the period to get data from"), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, order: Annotated[ Optional[StrictStr], Field( description= "(Optional) Sorts the list in the ascending or the descending order" - )] = None, + ), + ] = None, accept: Annotated[ Optional[StrictStr], Field(description= - "If defined with the value 'text/csv', a csv file is returned" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + "If defined with the value 'text/csv', a csv file is returned"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -70559,36 +74801,39 @@ Returns the result object. async def get_organization_usage_details_with_http_info( starting_time: Annotated[ Optional[datetime], - Field(description="The starting time of the period to get data from" - )] = None, + Field(description="The starting time of the period to get data from"), + ] = None, ending_time: Annotated[ Optional[datetime], - Field(description="The ending time of the period to get data from" - )] = None, + Field(description="The ending time of the period to get data from"), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, order: Annotated[ Optional[StrictStr], Field( description= "(Optional) Sorts the list in the ascending or the descending order" - )] = None, + ), + ] = None, accept: Annotated[ Optional[StrictStr], Field(description= - "If defined with the value 'text/csv', a csv file is returned" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + "If defined with the value 'text/csv', a csv file is returned"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -70634,36 +74879,39 @@ Returns the result object. async def get_organization_usage_details_without_preload_content( starting_time: Annotated[ Optional[datetime], - Field(description="The starting time of the period to get data from" - )] = None, + Field(description="The starting time of the period to get data from"), + ] = None, ending_time: Annotated[ Optional[datetime], - Field(description="The ending time of the period to get data from" - )] = None, + Field(description="The ending time of the period to get data from"), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, order: Annotated[ Optional[StrictStr], Field( description= "(Optional) Sorts the list in the ascending or the descending order" - )] = None, + ), + ] = None, accept: Annotated[ Optional[StrictStr], Field(description= - "If defined with the value 'text/csv', a csv file is returned" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + "If defined with the value 'text/csv', a csv file is returned"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -70736,12 +74984,12 @@ async def login( body: LoginRequest, seon_fp: Annotated[Optional[StrictStr], Field(description="Seon Fingerprint")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -70784,12 +75032,12 @@ async def login_with_http_info( body: LoginRequest, seon_fp: Annotated[Optional[StrictStr], Field(description="Seon Fingerprint")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -70832,12 +75080,12 @@ async def login_without_preload_content( body: LoginRequest, seon_fp: Annotated[Optional[StrictStr], Field(description="Seon Fingerprint")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -70877,12 +75125,12 @@ Returns the result object. ```python @validate_call async def logout( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -70919,12 +75167,12 @@ Returns the result object. ```python @validate_call async def logout_with_http_info( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -70962,12 +75210,12 @@ Returns the result object. ```python @validate_call async def logout_without_preload_content( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -71005,12 +75253,12 @@ Returns the result object. ```python @validate_call async def new_session( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -71050,12 +75298,12 @@ Returns the result object. ```python @validate_call async def new_session_with_http_info( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -71095,12 +75343,12 @@ Returns the result object. ```python @validate_call async def new_session_without_preload_content( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -71140,12 +75388,12 @@ Returns the result object. ```python @validate_call async def refresh_token( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -71183,12 +75431,12 @@ Returns the result object. ```python @validate_call async def refresh_token_with_http_info( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -71226,12 +75474,12 @@ Returns the result object. ```python @validate_call async def refresh_token_without_preload_content( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -71296,12 +75544,12 @@ Do not edit the class manually. @validate_call async def create_secret( secret: CreateSecret, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -71341,12 +75589,12 @@ Returns the result object. @validate_call async def create_secret_with_http_info( secret: CreateSecret, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -71386,12 +75634,12 @@ Returns the result object. @validate_call async def create_secret_without_preload_content( secret: CreateSecret, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -71431,12 +75679,12 @@ Returns the result object. @validate_call async def delete_secret( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -71475,12 +75723,12 @@ Returns the result object. @validate_call async def delete_secret_with_http_info( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -71520,12 +75768,12 @@ Returns the result object. @validate_call async def delete_secret_without_preload_content( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -71565,12 +75813,12 @@ Returns the result object. @validate_call async def get_secret( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -71610,12 +75858,12 @@ Returns the result object. @validate_call async def get_secret_with_http_info( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -71655,12 +75903,12 @@ Returns the result object. @validate_call async def get_secret_without_preload_content( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -71704,15 +75952,16 @@ async def list_secrets( offset: Optional[StrictStr] = None, types: Annotated[Optional[List[StrictStr]], Field(description="Filter by secret types")] = None, - project_id: Annotated[ - Optional[StrictStr], - Field(description="(Optional) A filter for the project ID")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ids: Annotated[ + Optional[List[StrictStr]], + Field(description="(Optional) Filter on secret ids"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -71728,7 +75977,7 @@ List Secrets - `limit` (`str`): - `offset` (`str`): - `types` (`List[str]`): Filter by secret types -- `project_id` (`str`): (Optional) A filter for the project ID +- `ids` (`List[str]`): (Optional) Filter on secret ids - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -71760,15 +76009,16 @@ async def list_secrets_with_http_info( offset: Optional[StrictStr] = None, types: Annotated[Optional[List[StrictStr]], Field(description="Filter by secret types")] = None, - project_id: Annotated[ - Optional[StrictStr], - Field(description="(Optional) A filter for the project ID")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ids: Annotated[ + Optional[List[StrictStr]], + Field(description="(Optional) Filter on secret ids"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -71784,7 +76034,7 @@ List Secrets - `limit` (`str`): - `offset` (`str`): - `types` (`List[str]`): Filter by secret types -- `project_id` (`str`): (Optional) A filter for the project ID +- `ids` (`List[str]`): (Optional) Filter on secret ids - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -71816,15 +76066,16 @@ async def list_secrets_without_preload_content( offset: Optional[StrictStr] = None, types: Annotated[Optional[List[StrictStr]], Field(description="Filter by secret types")] = None, - project_id: Annotated[ - Optional[StrictStr], - Field(description="(Optional) A filter for the project ID")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ids: Annotated[ + Optional[List[StrictStr]], + Field(description="(Optional) Filter on secret ids"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -71840,7 +76091,7 @@ List Secrets - `limit` (`str`): - `offset` (`str`): - `types` (`List[str]`): Filter by secret types -- `project_id` (`str`): (Optional) A filter for the project ID +- `ids` (`List[str]`): (Optional) Filter on secret ids - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -71869,12 +76120,12 @@ Returns the result object. async def reveal_secret( id: StrictStr, body: Dict[str, Any], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -71916,12 +76167,12 @@ Returns the result object. async def reveal_secret_with_http_info( id: StrictStr, body: Dict[str, Any], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -71963,12 +76214,12 @@ Returns the result object. async def reveal_secret_without_preload_content( id: StrictStr, body: Dict[str, Any], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -72011,12 +76262,12 @@ async def update_secret( id: StrictStr, secret: Secret, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -72060,12 +76311,12 @@ async def update_secret_with_http_info( id: StrictStr, secret: Secret, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -72109,12 +76360,12 @@ async def update_secret_without_preload_content( id: StrictStr, secret: Secret, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -72158,12 +76409,12 @@ async def update_secret2( id: StrictStr, secret: Secret, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -72207,12 +76458,12 @@ async def update_secret2_with_http_info( id: StrictStr, secret: Secret, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -72256,12 +76507,12 @@ async def update_secret2_without_preload_content( id: StrictStr, secret: Secret, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -72330,14 +76581,15 @@ Do not edit the class manually. async def accept_organization_invitation( id: Annotated[ StrictStr, - Field(description="The id of the organization invitation to accept")], + Field(description="The id of the organization invitation to accept"), + ], body: Dict[str, Any], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -72379,14 +76631,15 @@ Returns the result object. async def accept_organization_invitation_with_http_info( id: Annotated[ StrictStr, - Field(description="The id of the organization invitation to accept")], + Field(description="The id of the organization invitation to accept"), + ], body: Dict[str, Any], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -72428,14 +76681,15 @@ Returns the result object. async def accept_organization_invitation_without_preload_content( id: Annotated[ StrictStr, - Field(description="The id of the organization invitation to accept")], + Field(description="The id of the organization invitation to accept"), + ], body: Dict[str, Any], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -72476,12 +76730,12 @@ Returns the result object. @validate_call async def clear_idenfy_verification_result( body: ClearIdenfyVerificationResultRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -72520,12 +76774,12 @@ Returns the result object. @validate_call async def clear_idenfy_verification_result_with_http_info( body: ClearIdenfyVerificationResultRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -72565,12 +76819,12 @@ Returns the result object. @validate_call async def clear_idenfy_verification_result_without_preload_content( body: ClearIdenfyVerificationResultRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -72611,14 +76865,15 @@ Returns the result object. async def decline_organization_invitation( id: Annotated[ StrictStr, - Field(description="The id of the organization invitation to decline")], + Field(description="The id of the organization invitation to decline"), + ], body: Dict[str, Any], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -72660,14 +76915,15 @@ Returns the result object. async def decline_organization_invitation_with_http_info( id: Annotated[ StrictStr, - Field(description="The id of the organization invitation to decline")], + Field(description="The id of the organization invitation to decline"), + ], body: Dict[str, Any], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -72709,14 +76965,15 @@ Returns the result object. async def decline_organization_invitation_without_preload_content( id: Annotated[ StrictStr, - Field(description="The id of the organization invitation to decline")], + Field(description="The id of the organization invitation to decline"), + ], body: Dict[str, Any], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -72756,12 +77013,12 @@ Returns the result object. ```python @validate_call async def get_current_organization( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -72799,12 +77056,12 @@ Returns the result object. ```python @validate_call async def get_current_organization_with_http_info( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -72842,12 +77099,12 @@ Returns the result object. ```python @validate_call async def get_current_organization_without_preload_content( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -72887,12 +77144,12 @@ Returns the result object. async def get_current_user( seon_fp: Annotated[Optional[StrictStr], Field(description="Seon Fingerprint")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -72932,12 +77189,12 @@ Returns the result object. async def get_current_user_with_http_info( seon_fp: Annotated[Optional[StrictStr], Field(description="Seon Fingerprint")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -72978,12 +77235,12 @@ Returns the result object. async def get_current_user_without_preload_content( seon_fp: Annotated[Optional[StrictStr], Field(description="Seon Fingerprint")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -73022,12 +77279,12 @@ Returns the result object. ```python @validate_call async def get_idenfy_token( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -73065,12 +77322,12 @@ Returns the result object. ```python @validate_call async def get_idenfy_token_with_http_info( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -73108,12 +77365,12 @@ Returns the result object. ```python @validate_call async def get_idenfy_token_without_preload_content( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -73153,20 +77410,21 @@ Returns the result object. async def get_o_auth_options( action: Annotated[ Optional[StrictStr], - Field(description="Which authentication flow is being initiated" - )] = None, + Field(description="Which authentication flow is being initiated"), + ] = None, metadata: Annotated[ Optional[StrictStr], Field( description= "A small (limited to 400 characters) string of arbitrary metadata which will be encoded in the state" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -73208,20 +77466,21 @@ Returns the result object. async def get_o_auth_options_with_http_info( action: Annotated[ Optional[StrictStr], - Field(description="Which authentication flow is being initiated" - )] = None, + Field(description="Which authentication flow is being initiated"), + ] = None, metadata: Annotated[ Optional[StrictStr], Field( description= "A small (limited to 400 characters) string of arbitrary metadata which will be encoded in the state" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -73263,20 +77522,21 @@ Returns the result object. async def get_o_auth_options_without_preload_content( action: Annotated[ Optional[StrictStr], - Field(description="Which authentication flow is being initiated" - )] = None, + Field(description="Which authentication flow is being initiated"), + ] = None, metadata: Annotated[ Optional[StrictStr], Field( description= "A small (limited to 400 characters) string of arbitrary metadata which will be encoded in the state" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -73319,12 +77579,12 @@ async def get_user_organization_invitation( id: Annotated[ StrictStr, Field(description="The id of the organization invitation to get")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -73366,12 +77626,12 @@ async def get_user_organization_invitation_with_http_info( id: Annotated[ StrictStr, Field(description="The id of the organization invitation to get")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -73413,12 +77673,12 @@ async def get_user_organization_invitation_without_preload_content( id: Annotated[ StrictStr, Field(description="The id of the organization invitation to get")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -73457,12 +77717,12 @@ Returns the result object. ```python @validate_call async def get_user_settings( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -73500,12 +77760,12 @@ Returns the result object. ```python @validate_call async def get_user_settings_with_http_info( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -73543,12 +77803,12 @@ Returns the result object. ```python @validate_call async def get_user_settings_without_preload_content( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -73588,22 +77848,25 @@ Returns the result object. async def list_user_organization_invitations( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, statuses: Annotated[ Optional[List[StrictStr]], Field( description="(Optional) Filter on organization invitation statuses" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -73646,22 +77909,25 @@ Returns the result object. async def list_user_organization_invitations_with_http_info( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, statuses: Annotated[ Optional[List[StrictStr]], Field( description="(Optional) Filter on organization invitation statuses" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -73704,22 +77970,25 @@ Returns the result object. async def list_user_organization_invitations_without_preload_content( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, statuses: Annotated[ Optional[List[StrictStr]], Field( description="(Optional) Filter on organization invitation statuses" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -73765,31 +78034,35 @@ async def list_user_organizations( Field(description="(Optional) Define pagination limit")] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) Define pagination offset")] = None, + Field(description="(Optional) Define pagination offset"), + ] = None, order: Annotated[ Optional[StrictStr], Field( description= "(Optional) Sorts the list in the ascending or the descending order" - )] = None, + ), + ] = None, search: Annotated[ Optional[StrictStr], Field( description= "(Optional) Fuzzy case-insensitive search based on organization name or organization id" - )] = None, + ), + ] = None, statuses: Annotated[ Optional[List[StrictStr]], Field( description= "(Optional) Only return organizations which status match one in the list" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -73839,31 +78112,35 @@ async def list_user_organizations_with_http_info( Field(description="(Optional) Define pagination limit")] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) Define pagination offset")] = None, + Field(description="(Optional) Define pagination offset"), + ] = None, order: Annotated[ Optional[StrictStr], Field( description= "(Optional) Sorts the list in the ascending or the descending order" - )] = None, + ), + ] = None, search: Annotated[ Optional[StrictStr], Field( description= "(Optional) Fuzzy case-insensitive search based on organization name or organization id" - )] = None, + ), + ] = None, statuses: Annotated[ Optional[List[StrictStr]], Field( description= "(Optional) Only return organizations which status match one in the list" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -73913,31 +78190,35 @@ async def list_user_organizations_without_preload_content( Field(description="(Optional) Define pagination limit")] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) Define pagination offset")] = None, + Field(description="(Optional) Define pagination offset"), + ] = None, order: Annotated[ Optional[StrictStr], Field( description= "(Optional) Sorts the list in the ascending or the descending order" - )] = None, + ), + ] = None, search: Annotated[ Optional[StrictStr], Field( description= "(Optional) Fuzzy case-insensitive search based on organization name or organization id" - )] = None, + ), + ] = None, statuses: Annotated[ Optional[List[StrictStr]], Field( description= "(Optional) Only return organizations which status match one in the list" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -73983,12 +78264,12 @@ Returns the result object. @validate_call async def login_method( email: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -74028,12 +78309,12 @@ Returns the result object. @validate_call async def login_method_with_http_info( email: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -74073,12 +78354,12 @@ Returns the result object. @validate_call async def login_method_without_preload_content( email: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -74120,12 +78401,12 @@ async def o_auth_callback( body: OAuthCallbackRequest, seon_fp: Annotated[Optional[StrictStr], Field(description="Seon Fingerprint")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -74168,12 +78449,12 @@ async def o_auth_callback_with_http_info( body: OAuthCallbackRequest, seon_fp: Annotated[Optional[StrictStr], Field(description="Seon Fingerprint")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -74216,12 +78497,12 @@ async def o_auth_callback_without_preload_content( body: OAuthCallbackRequest, seon_fp: Annotated[Optional[StrictStr], Field(description="Seon Fingerprint")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -74262,12 +78543,12 @@ Returns the result object. @validate_call async def resend_email_validation( body: Dict[str, Any], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -74306,12 +78587,12 @@ Returns the result object. @validate_call async def resend_email_validation_with_http_info( body: Dict[str, Any], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -74351,12 +78632,12 @@ Returns the result object. @validate_call async def resend_email_validation_without_preload_content( body: Dict[str, Any], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -74396,12 +78677,12 @@ Returns the result object. @validate_call async def reset_password( body: ResetPasswordRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -74440,12 +78721,12 @@ Returns the result object. @validate_call async def reset_password_with_http_info( body: ResetPasswordRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -74485,12 +78766,12 @@ Returns the result object. @validate_call async def reset_password_without_preload_content( body: ResetPasswordRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -74533,12 +78814,12 @@ async def signup( Field(description="Create new account")], seon_fp: Annotated[Optional[StrictStr], Field(description="Seon Fingerprint")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -74582,12 +78863,12 @@ async def signup_with_http_info( Field(description="Create new account")], seon_fp: Annotated[Optional[StrictStr], Field(description="Seon Fingerprint")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -74631,12 +78912,12 @@ async def signup_without_preload_content( Field(description="Create new account")], seon_fp: Annotated[Optional[StrictStr], Field(description="Seon Fingerprint")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -74679,12 +78960,12 @@ async def update_password( body: UpdatePasswordRequest, seon_fp: Annotated[Optional[StrictStr], Field(description="Seon Fingerprint")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -74727,12 +79008,12 @@ async def update_password_with_http_info( body: UpdatePasswordRequest, seon_fp: Annotated[Optional[StrictStr], Field(description="Seon Fingerprint")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -74775,12 +79056,12 @@ async def update_password_without_preload_content( body: UpdatePasswordRequest, seon_fp: Annotated[Optional[StrictStr], Field(description="Seon Fingerprint")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -74822,12 +79103,12 @@ Returns the result object. async def update_user( user: UpdateUserRequestUserUpdateBody, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -74868,12 +79149,12 @@ Returns the result object. async def update_user_with_http_info( user: UpdateUserRequestUserUpdateBody, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -74915,12 +79196,12 @@ Returns the result object. async def update_user_without_preload_content( user: UpdateUserRequestUserUpdateBody, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -74962,12 +79243,12 @@ Returns the result object. async def update_user2( user: UpdateUserRequestUserUpdateBody, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -75008,12 +79289,12 @@ Returns the result object. async def update_user2_with_http_info( user: UpdateUserRequestUserUpdateBody, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -75055,12 +79336,12 @@ Returns the result object. async def update_user2_without_preload_content( user: UpdateUserRequestUserUpdateBody, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -75101,12 +79382,12 @@ Returns the result object. @validate_call async def update_user_settings( body: UpdateUserSettingsRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -75146,12 +79427,12 @@ Returns the result object. @validate_call async def update_user_settings_with_http_info( body: UpdateUserSettingsRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -75191,12 +79472,12 @@ Returns the result object. @validate_call async def update_user_settings_without_preload_content( body: UpdateUserSettingsRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -75237,12 +79518,12 @@ Returns the result object. async def update_user_v2( user: UpdateUserRequestUserUpdateBody, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -75283,12 +79564,12 @@ Returns the result object. async def update_user_v2_with_http_info( user: UpdateUserRequestUserUpdateBody, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -75330,12 +79611,12 @@ Returns the result object. async def update_user_v2_without_preload_content( user: UpdateUserRequestUserUpdateBody, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -75377,12 +79658,12 @@ Returns the result object. async def update_user_v22( user: UpdateUserRequestUserUpdateBody, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -75423,12 +79704,12 @@ Returns the result object. async def update_user_v22_with_http_info( user: UpdateUserRequestUserUpdateBody, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -75470,12 +79751,12 @@ Returns the result object. async def update_user_v22_without_preload_content( user: UpdateUserRequestUserUpdateBody, update_mask: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -75518,12 +79799,12 @@ async def validate( id: StrictStr, seon_fp: Annotated[Optional[StrictStr], Field(description="Seon Fingerprint")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -75566,12 +79847,12 @@ async def validate_with_http_info( id: StrictStr, seon_fp: Annotated[Optional[StrictStr], Field(description="Seon Fingerprint")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -75614,12 +79895,12 @@ async def validate_without_preload_content( id: StrictStr, seon_fp: Annotated[Optional[StrictStr], Field(description="Seon Fingerprint")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -75685,12 +79966,12 @@ Do not edit the class manually. ```python @validate_call async def test_anon( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -75727,12 +80008,12 @@ Returns the result object. ```python @validate_call async def test_anon_with_http_info( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -75770,12 +80051,12 @@ Returns the result object. ```python @validate_call async def test_anon_without_preload_content( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -75814,12 +80095,12 @@ Returns the result object. @validate_call async def test_auth( body: KtestTestAuthRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -75859,12 +80140,12 @@ Returns the result object. @validate_call async def test_auth_with_http_info( body: KtestTestAuthRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -75904,12 +80185,12 @@ Returns the result object. @validate_call async def test_auth_without_preload_content( body: KtestTestAuthRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -75976,12 +80257,12 @@ Do not edit the class manually. async def get_catalog_instance( id: Annotated[StrictStr, Field(description="The name of the instance")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -76022,12 +80303,12 @@ Returns the result object. async def get_catalog_instance_with_http_info( id: Annotated[StrictStr, Field(description="The name of the instance")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -76068,12 +80349,12 @@ Returns the result object. async def get_catalog_instance_without_preload_content( id: Annotated[StrictStr, Field(description="The name of the instance")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -76114,20 +80395,22 @@ Returns the result object. async def list_catalog_instances( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, id: Annotated[Optional[StrictStr], Field( description="(Optional) A filter for instances")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -76170,20 +80453,22 @@ Returns the result object. async def list_catalog_instances_with_http_info( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, id: Annotated[Optional[StrictStr], Field( description="(Optional) A filter for instances")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -76226,20 +80511,22 @@ Returns the result object. async def list_catalog_instances_without_preload_content( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, id: Annotated[Optional[StrictStr], Field( description="(Optional) A filter for instances")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -76310,33 +80597,36 @@ async def exec_command( Field(description="ID of the resource to exec on.")] = None, body_command: Annotated[ Optional[List[StrictStr]], - Field(description="Command to exec. Mandatory in the first frame sent" - )] = None, + Field( + description="Command to exec. Mandatory in the first frame sent"), + ] = None, body_tty_size_height: Optional[StrictInt] = None, body_tty_size_width: Optional[StrictInt] = None, body_stdin_data: Annotated[ Optional[Union[StrictBytes, StrictStr]], - Field(description="Data is base64 encoded")] = None, + Field(description="Data is base64 encoded"), + ] = None, body_stdin_close: Annotated[ Optional[StrictBool], Field(description="Indicate last data frame")] = None, body_disable_tty: Annotated[ Optional[StrictBool], Field(description= - "Disable TTY. It's enough to specify it in the first frame" - )] = None, + "Disable TTY. It's enough to specify it in the first frame"), + ] = None, id_type: Annotated[ Optional[StrictStr], Field( description= "When specified, it is used to determine if the kind of resource the id refers to. If missing, defaults to the instance id." - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -76388,33 +80678,36 @@ async def exec_command_with_http_info( Field(description="ID of the resource to exec on.")] = None, body_command: Annotated[ Optional[List[StrictStr]], - Field(description="Command to exec. Mandatory in the first frame sent" - )] = None, + Field( + description="Command to exec. Mandatory in the first frame sent"), + ] = None, body_tty_size_height: Optional[StrictInt] = None, body_tty_size_width: Optional[StrictInt] = None, body_stdin_data: Annotated[ Optional[Union[StrictBytes, StrictStr]], - Field(description="Data is base64 encoded")] = None, + Field(description="Data is base64 encoded"), + ] = None, body_stdin_close: Annotated[ Optional[StrictBool], Field(description="Indicate last data frame")] = None, body_disable_tty: Annotated[ Optional[StrictBool], Field(description= - "Disable TTY. It's enough to specify it in the first frame" - )] = None, + "Disable TTY. It's enough to specify it in the first frame"), + ] = None, id_type: Annotated[ Optional[StrictStr], Field( description= "When specified, it is used to determine if the kind of resource the id refers to. If missing, defaults to the instance id." - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -76466,33 +80759,36 @@ async def exec_command_without_preload_content( Field(description="ID of the resource to exec on.")] = None, body_command: Annotated[ Optional[List[StrictStr]], - Field(description="Command to exec. Mandatory in the first frame sent" - )] = None, + Field( + description="Command to exec. Mandatory in the first frame sent"), + ] = None, body_tty_size_height: Optional[StrictInt] = None, body_tty_size_width: Optional[StrictInt] = None, body_stdin_data: Annotated[ Optional[Union[StrictBytes, StrictStr]], - Field(description="Data is base64 encoded")] = None, + Field(description="Data is base64 encoded"), + ] = None, body_stdin_close: Annotated[ Optional[StrictBool], Field(description="Indicate last data frame")] = None, body_disable_tty: Annotated[ Optional[StrictBool], Field(description= - "Disable TTY. It's enough to specify it in the first frame" - )] = None, + "Disable TTY. It's enough to specify it in the first frame"), + ] = None, id_type: Annotated[ Optional[StrictStr], Field( description= "When specified, it is used to determine if the kind of resource the id refers to. If missing, defaults to the instance id." - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -76542,12 +80838,12 @@ Returns the result object. async def get_instance( id: Annotated[StrictStr, Field(description="The id of the instance")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -76588,12 +80884,12 @@ Returns the result object. async def get_instance_with_http_info( id: Annotated[StrictStr, Field(description="The id of the instance")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -76634,12 +80930,12 @@ Returns the result object. async def get_instance_without_preload_content( id: Annotated[StrictStr, Field(description="The id of the instance")], - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -76680,29 +80976,34 @@ Returns the result object. async def list_instance_events( instance_ids: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on list of instance id")] = None, + Field(description="(Optional) Filter on list of instance id"), + ] = None, types: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on instance event types")] = None, + Field(description="(Optional) Filter on instance event types"), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, order: Annotated[ Optional[StrictStr], Field( description= "(Optional) Sorts the list in the ascending or the descending order" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -76747,29 +81048,34 @@ Returns the result object. async def list_instance_events_with_http_info( instance_ids: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on list of instance id")] = None, + Field(description="(Optional) Filter on list of instance id"), + ] = None, types: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on instance event types")] = None, + Field(description="(Optional) Filter on instance event types"), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, order: Annotated[ Optional[StrictStr], Field( description= "(Optional) Sorts the list in the ascending or the descending order" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -76814,29 +81120,34 @@ Returns the result object. async def list_instance_events_without_preload_content( instance_ids: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on list of instance id")] = None, + Field(description="(Optional) Filter on list of instance id"), + ] = None, types: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on instance event types")] = None, + Field(description="(Optional) Filter on instance event types"), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, order: Annotated[ Optional[StrictStr], Field( description= "(Optional) Sorts the list in the ascending or the descending order" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -76881,7 +81192,8 @@ Returns the result object. async def list_instances( app_id: Annotated[ Optional[StrictStr], - Field(description="(Optional) Filter on application id")] = None, + Field(description="(Optional) Filter on application id"), + ] = None, service_id: Annotated[ Optional[StrictStr], Field(description="(Optional) Filter on service id")] = None, @@ -76890,8 +81202,8 @@ async def list_instances( Field(description="(Optional) Filter on deployment id")] = None, regional_deployment_id: Annotated[ Optional[StrictStr], - Field( - description="(Optional) Filter on regional deployment id")] = None, + Field(description="(Optional) Filter on regional deployment id"), + ] = None, allocation_id: Annotated[ Optional[StrictStr], Field(description="(Optional) Filter on allocation id")] = None, @@ -76900,36 +81212,45 @@ async def list_instances( Field(description="(Optional) Filter on replica index")] = None, statuses: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on instance statuses")] = None, + Field(description="(Optional) Filter on instance statuses"), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, order: Annotated[ Optional[StrictStr], Field( description= "(Optional) Sorts the list in the ascending or the descending order" - )] = None, + ), + ] = None, starting_time: Annotated[ Optional[datetime], - Field(description= - "(Optional) The starting time of the period of running instance" - )] = None, + Field( + description= + "(Optional) The starting time of the period of running instance"), + ] = None, ending_time: Annotated[ Optional[datetime], Field(description= - "(Optional) The ending time of the period of running instance" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + "(Optional) The ending time of the period of running instance"), + ] = None, + ids: Annotated[ + Optional[List[StrictStr]], + Field(description="(Optional) Filter on instance ids"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -76953,6 +81274,7 @@ List Instances - `order` (`str`): (Optional) Sorts the list in the ascending or the descending order - `starting_time` (`datetime`): (Optional) The starting time of the period of running instance - `ending_time` (`datetime`): (Optional) The ending time of the period of running instance +- `ids` (`List[str]`): (Optional) Filter on instance ids - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -76981,7 +81303,8 @@ Returns the result object. async def list_instances_with_http_info( app_id: Annotated[ Optional[StrictStr], - Field(description="(Optional) Filter on application id")] = None, + Field(description="(Optional) Filter on application id"), + ] = None, service_id: Annotated[ Optional[StrictStr], Field(description="(Optional) Filter on service id")] = None, @@ -76990,8 +81313,8 @@ async def list_instances_with_http_info( Field(description="(Optional) Filter on deployment id")] = None, regional_deployment_id: Annotated[ Optional[StrictStr], - Field( - description="(Optional) Filter on regional deployment id")] = None, + Field(description="(Optional) Filter on regional deployment id"), + ] = None, allocation_id: Annotated[ Optional[StrictStr], Field(description="(Optional) Filter on allocation id")] = None, @@ -77000,36 +81323,45 @@ async def list_instances_with_http_info( Field(description="(Optional) Filter on replica index")] = None, statuses: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on instance statuses")] = None, + Field(description="(Optional) Filter on instance statuses"), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, order: Annotated[ Optional[StrictStr], Field( description= "(Optional) Sorts the list in the ascending or the descending order" - )] = None, + ), + ] = None, starting_time: Annotated[ Optional[datetime], - Field(description= - "(Optional) The starting time of the period of running instance" - )] = None, + Field( + description= + "(Optional) The starting time of the period of running instance"), + ] = None, ending_time: Annotated[ Optional[datetime], Field(description= - "(Optional) The ending time of the period of running instance" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + "(Optional) The ending time of the period of running instance"), + ] = None, + ids: Annotated[ + Optional[List[StrictStr]], + Field(description="(Optional) Filter on instance ids"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -77053,6 +81385,7 @@ List Instances - `order` (`str`): (Optional) Sorts the list in the ascending or the descending order - `starting_time` (`datetime`): (Optional) The starting time of the period of running instance - `ending_time` (`datetime`): (Optional) The ending time of the period of running instance +- `ids` (`List[str]`): (Optional) Filter on instance ids - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -77081,7 +81414,8 @@ Returns the result object. async def list_instances_without_preload_content( app_id: Annotated[ Optional[StrictStr], - Field(description="(Optional) Filter on application id")] = None, + Field(description="(Optional) Filter on application id"), + ] = None, service_id: Annotated[ Optional[StrictStr], Field(description="(Optional) Filter on service id")] = None, @@ -77090,8 +81424,8 @@ async def list_instances_without_preload_content( Field(description="(Optional) Filter on deployment id")] = None, regional_deployment_id: Annotated[ Optional[StrictStr], - Field( - description="(Optional) Filter on regional deployment id")] = None, + Field(description="(Optional) Filter on regional deployment id"), + ] = None, allocation_id: Annotated[ Optional[StrictStr], Field(description="(Optional) Filter on allocation id")] = None, @@ -77100,36 +81434,45 @@ async def list_instances_without_preload_content( Field(description="(Optional) Filter on replica index")] = None, statuses: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on instance statuses")] = None, + Field(description="(Optional) Filter on instance statuses"), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, order: Annotated[ Optional[StrictStr], Field( description= "(Optional) Sorts the list in the ascending or the descending order" - )] = None, + ), + ] = None, starting_time: Annotated[ Optional[datetime], - Field(description= - "(Optional) The starting time of the period of running instance" - )] = None, + Field( + description= + "(Optional) The starting time of the period of running instance"), + ] = None, ending_time: Annotated[ Optional[datetime], Field(description= - "(Optional) The ending time of the period of running instance" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + "(Optional) The ending time of the period of running instance"), + ] = None, + ids: Annotated[ + Optional[List[StrictStr]], + Field(description="(Optional) Filter on instance ids"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -77153,6 +81496,7 @@ List Instances - `order` (`str`): (Optional) Sorts the list in the ascending or the descending order - `starting_time` (`datetime`): (Optional) The starting time of the period of running instance - `ending_time` (`datetime`): (Optional) The ending time of the period of running instance +- `ids` (`List[str]`): (Optional) Filter on instance ids - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -77206,12 +81550,12 @@ Do not edit the class manually. @validate_call async def compose( compose: CreateCompose, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -77251,12 +81595,12 @@ Returns the result object. @validate_call async def compose_with_http_info( compose: CreateCompose, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -77296,12 +81640,12 @@ Returns the result object. @validate_call async def compose_without_preload_content( compose: CreateCompose, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -77366,12 +81710,12 @@ Do not edit the class manually. ```python @validate_call async def has_unpaid_invoices( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -77411,12 +81755,12 @@ Returns the result object. ```python @validate_call async def has_unpaid_invoices_with_http_info( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -77456,12 +81800,12 @@ Returns the result object. ```python @validate_call async def has_unpaid_invoices_without_preload_content( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -77501,12 +81845,12 @@ Returns the result object. ```python @validate_call async def manage( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -77544,12 +81888,12 @@ Returns the result object. ```python @validate_call async def manage_with_http_info( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -77587,12 +81931,12 @@ Returns the result object. ```python @validate_call async def manage_without_preload_content( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -77630,12 +81974,12 @@ Returns the result object. ```python @validate_call async def next_invoice( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -77675,12 +82019,12 @@ Returns the result object. ```python @validate_call async def next_invoice_with_http_info( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -77720,12 +82064,12 @@ Returns the result object. ```python @validate_call async def next_invoice_without_preload_content( - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -77793,12 +82137,12 @@ Do not edit the class manually. async def search( query: Annotated[Optional[StrictStr], Field(description="(Optional) Search query")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -77839,12 +82183,12 @@ Returns the result object. async def search_with_http_info( query: Annotated[Optional[StrictStr], Field(description="(Optional) Search query")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -77885,12 +82229,12 @@ Returns the result object. async def search_without_preload_content( query: Annotated[Optional[StrictStr], Field(description="(Optional) Search query")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -77957,27 +82301,31 @@ Do not edit the class manually. async def list_branches( repository_id: Annotated[ Optional[StrictStr], - Field(description="(Optional) Filter on one repository.")] = None, + Field(description="(Optional) Filter on one repository."), + ] = None, name: Annotated[ Optional[StrictStr], Field( description= "(Optional) Filter on branch name using a fuzzy search. Repository filter is required to enable this filter." - )] = None, + ), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return.")] = None, + Field(description="(Optional) The number of items to return."), + ] = None, offset: Annotated[ Optional[StrictStr], Field( description="(Optional) The offset in the list of item to return." - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -78021,27 +82369,31 @@ Returns the result object. async def list_branches_with_http_info( repository_id: Annotated[ Optional[StrictStr], - Field(description="(Optional) Filter on one repository.")] = None, + Field(description="(Optional) Filter on one repository."), + ] = None, name: Annotated[ Optional[StrictStr], Field( description= "(Optional) Filter on branch name using a fuzzy search. Repository filter is required to enable this filter." - )] = None, + ), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return.")] = None, + Field(description="(Optional) The number of items to return."), + ] = None, offset: Annotated[ Optional[StrictStr], Field( description="(Optional) The offset in the list of item to return." - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -78085,27 +82437,31 @@ Returns the result object. async def list_branches_without_preload_content( repository_id: Annotated[ Optional[StrictStr], - Field(description="(Optional) Filter on one repository.")] = None, + Field(description="(Optional) Filter on one repository."), + ] = None, name: Annotated[ Optional[StrictStr], Field( description= "(Optional) Filter on branch name using a fuzzy search. Repository filter is required to enable this filter." - )] = None, + ), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return.")] = None, + Field(description="(Optional) The number of items to return."), + ] = None, offset: Annotated[ Optional[StrictStr], Field( description="(Optional) The offset in the list of item to return." - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -78150,28 +82506,31 @@ async def list_repositories( name: Annotated[ Optional[StrictStr], Field(description= - "(Optional) Filter on repository name using a fuzzy search." - )] = None, + "(Optional) Filter on repository name using a fuzzy search."), + ] = None, name_search_op: Annotated[ Optional[StrictStr], Field( description= - "(Optional) Define search operation for repository name. Accept either \"fuzzy\" or \"equality\", use \"fuzzy\" by default." - )] = None, + '(Optional) Define search operation for repository name. Accept either "fuzzy" or "equality", use "fuzzy" by default.' + ), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return.")] = None, + Field(description="(Optional) The number of items to return."), + ] = None, offset: Annotated[ Optional[StrictStr], Field( description="(Optional) The offset in the list of item to return." - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -78216,28 +82575,31 @@ async def list_repositories_with_http_info( name: Annotated[ Optional[StrictStr], Field(description= - "(Optional) Filter on repository name using a fuzzy search." - )] = None, + "(Optional) Filter on repository name using a fuzzy search."), + ] = None, name_search_op: Annotated[ Optional[StrictStr], Field( description= - "(Optional) Define search operation for repository name. Accept either \"fuzzy\" or \"equality\", use \"fuzzy\" by default." - )] = None, + '(Optional) Define search operation for repository name. Accept either "fuzzy" or "equality", use "fuzzy" by default.' + ), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return.")] = None, + Field(description="(Optional) The number of items to return."), + ] = None, offset: Annotated[ Optional[StrictStr], Field( description="(Optional) The offset in the list of item to return." - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -78282,28 +82644,31 @@ async def list_repositories_without_preload_content( name: Annotated[ Optional[StrictStr], Field(description= - "(Optional) Filter on repository name using a fuzzy search." - )] = None, + "(Optional) Filter on repository name using a fuzzy search."), + ] = None, name_search_op: Annotated[ Optional[StrictStr], Field( description= - "(Optional) Define search operation for repository name. Accept either \"fuzzy\" or \"equality\", use \"fuzzy\" by default." - )] = None, + '(Optional) Define search operation for repository name. Accept either "fuzzy" or "equality", use "fuzzy" by default.' + ), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return.")] = None, + Field(description="(Optional) The number of items to return."), + ] = None, offset: Annotated[ Optional[StrictStr], Field( description="(Optional) The offset in the list of item to return." - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -78346,12 +82711,12 @@ Returns the result object. @validate_call async def resync_organization( organization_id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -78390,12 +82755,12 @@ Returns the result object. @validate_call async def resync_organization_with_http_info( organization_id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -78435,12 +82800,12 @@ Returns the result object. @validate_call async def resync_organization_without_preload_content( organization_id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -78506,12 +82871,12 @@ Do not edit the class manually. @validate_call async def create_instance_snapshot( body: CreateInstanceSnapshotRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -78551,12 +82916,12 @@ Returns the result object. @validate_call async def create_instance_snapshot_with_http_info( body: CreateInstanceSnapshotRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -78596,12 +82961,12 @@ Returns the result object. @validate_call async def create_instance_snapshot_without_preload_content( body: CreateInstanceSnapshotRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -78641,12 +83006,12 @@ Returns the result object. @validate_call async def delete_instance_snapshot( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -78686,12 +83051,12 @@ Returns the result object. @validate_call async def delete_instance_snapshot_with_http_info( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -78731,12 +83096,12 @@ Returns the result object. @validate_call async def delete_instance_snapshot_without_preload_content( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -78776,12 +83141,12 @@ Returns the result object. @validate_call async def get_instance_snapshot( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -78821,12 +83186,12 @@ Returns the result object. @validate_call async def get_instance_snapshot_with_http_info( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -78866,12 +83231,12 @@ Returns the result object. @validate_call async def get_instance_snapshot_without_preload_content( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -78912,30 +83277,35 @@ Returns the result object. async def list_instance_snapshot_events( instance_snapshot_id: Annotated[ Optional[StrictStr], - Field(description="(Optional) Filter on instance snapshot id")] = None, + Field(description="(Optional) Filter on instance snapshot id"), + ] = None, types: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on instance snapshot event types" - )] = None, + Field( + description="(Optional) Filter on instance snapshot event types"), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, order: Annotated[ Optional[StrictStr], Field( description= "(Optional) Sorts the list in the ascending or the descending order" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -78980,30 +83350,35 @@ Returns the result object. async def list_instance_snapshot_events_with_http_info( instance_snapshot_id: Annotated[ Optional[StrictStr], - Field(description="(Optional) Filter on instance snapshot id")] = None, + Field(description="(Optional) Filter on instance snapshot id"), + ] = None, types: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on instance snapshot event types" - )] = None, + Field( + description="(Optional) Filter on instance snapshot event types"), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, order: Annotated[ Optional[StrictStr], Field( description= "(Optional) Sorts the list in the ascending or the descending order" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -79048,30 +83423,35 @@ Returns the result object. async def list_instance_snapshot_events_without_preload_content( instance_snapshot_id: Annotated[ Optional[StrictStr], - Field(description="(Optional) Filter on instance snapshot id")] = None, + Field(description="(Optional) Filter on instance snapshot id"), + ] = None, types: Annotated[ Optional[List[StrictStr]], - Field(description="(Optional) Filter on instance snapshot event types" - )] = None, + Field( + description="(Optional) Filter on instance snapshot event types"), + ] = None, limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, order: Annotated[ Optional[StrictStr], Field( description= "(Optional) Sorts the list in the ascending or the descending order" - )] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -79119,12 +83499,13 @@ async def list_instance_snapshots( name: Optional[StrictStr] = None, statuses: Optional[List[StrictStr]] = None, type: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ids: Optional[List[StrictStr]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -79141,6 +83522,7 @@ list_instance_snapshots - `name` (`str`): - `statuses` (`List[str]`): - `type` (`str`): +- `ids` (`List[str]`): - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -79172,12 +83554,13 @@ async def list_instance_snapshots_with_http_info( name: Optional[StrictStr] = None, statuses: Optional[List[StrictStr]] = None, type: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ids: Optional[List[StrictStr]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -79194,6 +83577,7 @@ list_instance_snapshots - `name` (`str`): - `statuses` (`List[str]`): - `type` (`str`): +- `ids` (`List[str]`): - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -79225,12 +83609,13 @@ async def list_instance_snapshots_without_preload_content( name: Optional[StrictStr] = None, statuses: Optional[List[StrictStr]] = None, type: Optional[StrictStr] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ids: Optional[List[StrictStr]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -79247,6 +83632,7 @@ list_instance_snapshots - `name` (`str`): - `statuses` (`List[str]`): - `type` (`str`): +- `ids` (`List[str]`): - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -79300,12 +83686,12 @@ Do not edit the class manually. @validate_call async def create_snapshot( body: CreateSnapshotRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -79345,12 +83731,12 @@ Returns the result object. @validate_call async def create_snapshot_with_http_info( body: CreateSnapshotRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -79390,12 +83776,12 @@ Returns the result object. @validate_call async def create_snapshot_without_preload_content( body: CreateSnapshotRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -79435,12 +83821,12 @@ Returns the result object. @validate_call async def delete_snapshot( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -79480,12 +83866,12 @@ Returns the result object. @validate_call async def delete_snapshot_with_http_info( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -79525,12 +83911,12 @@ Returns the result object. @validate_call async def delete_snapshot_without_preload_content( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -79570,12 +83956,12 @@ Returns the result object. @validate_call async def get_snapshot( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -79615,12 +84001,12 @@ Returns the result object. @validate_call async def get_snapshot_with_http_info( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -79660,12 +84046,12 @@ Returns the result object. @validate_call async def get_snapshot_without_preload_content( id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -79706,29 +84092,37 @@ Returns the result object. async def list_snapshots( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, organization_id: Annotated[ Optional[StrictStr], - Field(description="(Optional) Filter by organization_id")] = None, + Field(description="(Optional) Filter by organization_id"), + ] = None, statuses: Annotated[ Optional[List[StrictStr]], Field( description= "(Optional) Filter by status - SNAPSHOT_STATUS_INVALID: zero value, invalid - SNAPSHOT_STATUS_CREATING: the snapshot is being created - SNAPSHOT_STATUS_AVAILABLE: the snapshot is complete and available - SNAPSHOT_STATUS_MIGRATING: the snapshot is being migrated - SNAPSHOT_STATUS_DELETING: the snapshot is being deleted - SNAPSHOT_STATUS_DELETED: the snapshot is deleted" - )] = None, + ), + ] = None, region: Annotated[ Optional[StrictStr], Field(description="(Optional) A filter for the region")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ids: Annotated[ + Optional[List[StrictStr]], + Field(description="(Optional) Filter on snapshot ids"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -79745,6 +84139,7 @@ List all Snapshots - `organization_id` (`str`): (Optional) Filter by organization_id - `statuses` (`List[str]`): (Optional) Filter by status - SNAPSHOT_STATUS_INVALID: zero value, invalid - SNAPSHOT_STATUS_CREATING: the snapshot is being created - SNAPSHOT_STATUS_AVAILABLE: the snapshot is complete and available - SNAPSHOT_STATUS_MIGRATING: the snapshot is being migrated - SNAPSHOT_STATUS_DELETING: the snapshot is being deleted - SNAPSHOT_STATUS_DELETED: the snapshot is deleted - `region` (`str`): (Optional) A filter for the region +- `ids` (`List[str]`): (Optional) Filter on snapshot ids - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -79773,29 +84168,37 @@ Returns the result object. async def list_snapshots_with_http_info( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, organization_id: Annotated[ Optional[StrictStr], - Field(description="(Optional) Filter by organization_id")] = None, + Field(description="(Optional) Filter by organization_id"), + ] = None, statuses: Annotated[ Optional[List[StrictStr]], Field( description= "(Optional) Filter by status - SNAPSHOT_STATUS_INVALID: zero value, invalid - SNAPSHOT_STATUS_CREATING: the snapshot is being created - SNAPSHOT_STATUS_AVAILABLE: the snapshot is complete and available - SNAPSHOT_STATUS_MIGRATING: the snapshot is being migrated - SNAPSHOT_STATUS_DELETING: the snapshot is being deleted - SNAPSHOT_STATUS_DELETED: the snapshot is deleted" - )] = None, + ), + ] = None, region: Annotated[ Optional[StrictStr], Field(description="(Optional) A filter for the region")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ids: Annotated[ + Optional[List[StrictStr]], + Field(description="(Optional) Filter on snapshot ids"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -79812,6 +84215,7 @@ List all Snapshots - `organization_id` (`str`): (Optional) Filter by organization_id - `statuses` (`List[str]`): (Optional) Filter by status - SNAPSHOT_STATUS_INVALID: zero value, invalid - SNAPSHOT_STATUS_CREATING: the snapshot is being created - SNAPSHOT_STATUS_AVAILABLE: the snapshot is complete and available - SNAPSHOT_STATUS_MIGRATING: the snapshot is being migrated - SNAPSHOT_STATUS_DELETING: the snapshot is being deleted - SNAPSHOT_STATUS_DELETED: the snapshot is deleted - `region` (`str`): (Optional) A filter for the region +- `ids` (`List[str]`): (Optional) Filter on snapshot ids - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -79840,29 +84244,37 @@ Returns the result object. async def list_snapshots_without_preload_content( limit: Annotated[ Optional[StrictStr], - Field(description="(Optional) The number of items to return")] = None, + Field(description="(Optional) The number of items to return"), + ] = None, offset: Annotated[ Optional[StrictStr], - Field(description="(Optional) The offset in the list of item to return" - )] = None, + Field( + description="(Optional) The offset in the list of item to return"), + ] = None, organization_id: Annotated[ Optional[StrictStr], - Field(description="(Optional) Filter by organization_id")] = None, + Field(description="(Optional) Filter by organization_id"), + ] = None, statuses: Annotated[ Optional[List[StrictStr]], Field( description= "(Optional) Filter by status - SNAPSHOT_STATUS_INVALID: zero value, invalid - SNAPSHOT_STATUS_CREATING: the snapshot is being created - SNAPSHOT_STATUS_AVAILABLE: the snapshot is complete and available - SNAPSHOT_STATUS_MIGRATING: the snapshot is being migrated - SNAPSHOT_STATUS_DELETING: the snapshot is being deleted - SNAPSHOT_STATUS_DELETED: the snapshot is deleted" - )] = None, + ), + ] = None, region: Annotated[ Optional[StrictStr], Field(description="(Optional) A filter for the region")] = None, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + ids: Annotated[ + Optional[List[StrictStr]], + Field(description="(Optional) Filter on snapshot ids"), + ] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -79879,6 +84291,7 @@ List all Snapshots - `organization_id` (`str`): (Optional) Filter by organization_id - `statuses` (`List[str]`): (Optional) Filter by status - SNAPSHOT_STATUS_INVALID: zero value, invalid - SNAPSHOT_STATUS_CREATING: the snapshot is being created - SNAPSHOT_STATUS_AVAILABLE: the snapshot is complete and available - SNAPSHOT_STATUS_MIGRATING: the snapshot is being migrated - SNAPSHOT_STATUS_DELETING: the snapshot is being deleted - SNAPSHOT_STATUS_DELETED: the snapshot is deleted - `region` (`str`): (Optional) A filter for the region +- `ids` (`List[str]`): (Optional) Filter on snapshot ids - `_request_timeout` (`int, tuple(int, int), optional`): timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -79908,12 +84321,12 @@ async def update_snapshot( id: Annotated[StrictStr, Field(description="The id of the snapshot")], body: UpdateSnapshotRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -79956,12 +84369,12 @@ async def update_snapshot_with_http_info( id: Annotated[StrictStr, Field(description="The id of the snapshot")], body: UpdateSnapshotRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -80004,12 +84417,12 @@ async def update_snapshot_without_preload_content( id: Annotated[StrictStr, Field(description="The id of the snapshot")], body: UpdateSnapshotRequest, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -80076,12 +84489,12 @@ Do not edit the class manually. @validate_call async def get_quotas( organization_id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -80121,12 +84534,12 @@ Returns the result object. @validate_call async def get_quotas_with_http_info( organization_id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, @@ -80166,12 +84579,12 @@ Returns the result object. @validate_call async def get_quotas_without_preload_content( organization_id: StrictStr, - _request_timeout: Union[None, Annotated[StrictFloat, - Field(gt=0)], - Tuple[Annotated[StrictFloat, - Field(gt=0)], - Annotated[StrictFloat, - Field(gt=0)]]] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, + Field(gt=0)]], + ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, diff --git a/docs/sandbox.md b/docs/sandbox.md index d5d1a9bc..2df279e7 100644 --- a/docs/sandbox.md +++ b/docs/sandbox.md @@ -4,6 +4,10 @@ Koyeb Sandbox - Interactive execution environment for running arbitrary code on Koyeb + + +# koyeb/sandbox.test\_service\_pool + # koyeb/sandbox.test\_utils @@ -28,6 +32,16 @@ class TestBuildEgressPolicy(unittest.TestCase) Tests for build_network_policy validation and normalization. + + +## TestGetApiClients Objects + +```python +class TestGetApiClients(unittest.TestCase) +``` + +The shared client factory wires the service pool and claim APIs. + # koyeb/sandbox.test\_egress\_policy @@ -1074,7 +1088,9 @@ def create(cls, args: Optional[List[str]] = None, host: Optional[str] = None, block_network: bool = False, - outbound_allowlist: Optional[List[str]] = None) -> Sandbox + outbound_allowlist: Optional[List[str]] = None, + snapshot: Optional[Union[str, "Snapshot"]] = None, + sandbox_secret: Optional[str] = None) -> Sandbox ``` Create a new sandbox instance. @@ -1121,6 +1137,10 @@ Create a new sandbox instance. - `outbound_allowlist` - List of IPs/CIDRs allowed as outbound destinations; all other outbound traffic is blocked. Bare IPs are normalized to /32 (IPv4) or /128 (IPv6). Mutually exclusive with block_network. +- `snapshot` - Optional. A Snapshot object or snapshot name/ID string to create the sandbox from. + If provided, the sandbox will be initialized from this snapshot. + Can be either a Snapshot object (e.g., snapshot=my_snapshot) or a snapshot name/ID string (e.g., snapshot="my snapshot"). +- `sandbox_secret` - Optional sandbox secret to use for executor authentication. If not provided, a new one will be generated. **Returns**: @@ -1146,6 +1166,22 @@ Create a new sandbox instance. ... image="ghcr.io/myorg/myimage:latest", ... registry_secret="my-ghcr-secret" ... ) + + >>> # Create from a Snapshot object + >>> from koyeb.sandbox import Snapshot + >>> snapshot = Snapshot.get("my-snapshot-id") + >>> sandbox = Sandbox.create(snapshot=snapshot) + + >>> # Create from a snapshot ID string + >>> sandbox = Sandbox.create(snapshot="my-snapshot-id") + + >>> # Create from a snapshot with custom parameters + >>> sandbox = Sandbox.create( + ... snapshot="my-snapshot-id", + ... image="python:3.12", + ... instance_type="nano", + ... env={"MY_VAR": "value"} + ... ) @@ -1178,6 +1214,116 @@ Get a sandbox by service ID. - `ValueError` - If API token is not provided or id is invalid - `SandboxError` - If sandbox is not found or retrieval fails + + +#### snapshot + +```python +def snapshot(name: str, + snapshot_type: "SnapshotType" = None, + wait_available: bool = True, + timeout: int = 600) -> "Snapshot" +``` + +Create a snapshot of this sandbox. + +Captures the current state of the sandbox's filesystem (and optionally +running processes for FULL type) so it can be restored later. + +**Arguments**: + +- `name` - Name for the snapshot +- `snapshot_type` - Type of snapshot to create (FILESYSTEM or FULL). + Defaults to FILESYSTEM. +- `wait_available` - Whether to wait for snapshot to become available +- `timeout` - Timeout in seconds for waiting + + +**Returns**: + +- `Snapshot` - The created snapshot object + + +**Raises**: + +- `SandboxError` - If snapshot creation fails + + + +#### create\_from\_snapshot + +```python +@classmethod +def create_from_snapshot(cls, + snapshot: Union["Snapshot", str], + name: Optional[str] = None, + wait_ready: bool = True, + timeout: int = 300, + **create_kwargs) -> "Sandbox" +``` + +Create a new sandbox from a snapshot. + +**Arguments**: + +- `snapshot` - Snapshot object or snapshot ID string +- `name` - Name for the new sandbox +- `wait_ready` - Whether to wait for sandbox to be ready +- `timeout` - Timeout in seconds +- `**create_kwargs` - Additional arguments to pass to create() + + +**Returns**: + +- `Sandbox` - A new sandbox instance + + + +#### template + +```python +@classmethod +def template(cls, + name: str, + image: str, + workdir: Optional[str] = None, + api_token: Optional[str] = None, + host: Optional[str] = None, + delete_builder: bool = True) -> "DeclarativeSnapshot" +``` + +Create a declarative snapshot builder. + +Use this to build a reusable snapshot by declaratively defining +the sandbox environment (files, packages, etc.) and then building +a snapshot that can be used to spawn pre-configured sandboxes. + +**Arguments**: + +- `name` - Name for the template +- `image` - Docker image to use +- `workdir` - Working directory in the sandbox +- `api_token` - Koyeb API token +- `host` - Koyeb API host +- `delete_builder` - Whether to delete the builder sandbox after creating the snapshot (default: True) + + +**Returns**: + +- `DeclarativeSnapshot` - Fluent builder for creating snapshots + + +**Example**: + + snapshot = ( + Sandbox.template("python-ci", image="python:3.12", workdir="/workspace") + .file("requirements.txt", "pytest\nrequests") + .run("pip install -r requirements.txt") + .build(snapshot_name="python-ci-env") + ) + + sbx = snapshot.spawn(name="test-runner") + #### wait\_ready @@ -1549,7 +1695,10 @@ Update the sandbox's network policy. Warning: applying a new network policy triggers a redeployment of the sandbox service. The sandbox is restarted and any in-memory or non-persisted state is lost. This method does not wait for the -redeployment to finish. +redeployment to finish; it repoints the sandbox at the new deployment +and clears cached connection state, so call wait_ready() afterwards to +block until the replacement deployment is healthy before issuing further +operations. **Arguments**: @@ -1643,35 +1792,36 @@ Get a sandbox by service ID asynchronously. ```python @classmethod -async def create( - cls, - image: str = "koyeb/sandbox", - name: str = "quick-sandbox", - wait_ready: bool = True, - instance_type: str = "micro", - exposed_port_protocol: Optional[str] = None, - env: Optional[Dict[str, Any]] = None, - config_files: Optional[Dict[str, Any]] = None, - region: Optional[str] = None, - api_token: Optional[str] = None, - timeout: int = 300, - idle_timeout: int = 0, - enable_tcp_proxy: bool = False, - privileged: bool = False, - registry_secret: Optional[str] = None, - _experimental_enable_light_sleep: bool = False, - _experimental_deep_sleep_value: int = 3900, - delete_after_delay: int = 0, - delete_after_inactivity_delay: int = 0, - app_id: Optional[str] = None, - enable_mesh: bool = False, - poll_interval: float = DEFAULT_POLL_INTERVAL, - entrypoint: Optional[List[str]] = None, - command: Optional[str] = None, - args: Optional[List[str]] = None, - host: Optional[str] = None, - block_network: bool = False, - outbound_allowlist: Optional[List[str]] = None) -> AsyncSandbox +async def create(cls, + image: str = "koyeb/sandbox", + name: str = "quick-sandbox", + wait_ready: bool = True, + instance_type: str = "micro", + exposed_port_protocol: Optional[str] = None, + env: Optional[Dict[str, Any]] = None, + config_files: Optional[Dict[str, Any]] = None, + region: Optional[str] = None, + api_token: Optional[str] = None, + timeout: int = 300, + idle_timeout: int = 0, + enable_tcp_proxy: bool = False, + privileged: bool = False, + registry_secret: Optional[str] = None, + _experimental_enable_light_sleep: bool = False, + _experimental_deep_sleep_value: int = 3900, + delete_after_delay: int = 0, + delete_after_inactivity_delay: int = 0, + app_id: Optional[str] = None, + enable_mesh: bool = False, + poll_interval: float = DEFAULT_POLL_INTERVAL, + entrypoint: Optional[List[str]] = None, + command: Optional[str] = None, + args: Optional[List[str]] = None, + host: Optional[str] = None, + block_network: bool = False, + outbound_allowlist: Optional[List[str]] = None, + snapshot: Optional[Union[str, "Snapshot"]] = None, + sandbox_secret: Optional[str] = None) -> AsyncSandbox ``` Create a new sandbox instance with async support. @@ -1720,6 +1870,10 @@ Create a new sandbox instance with async support. - `outbound_allowlist` - List of IPs/CIDRs allowed as outbound destinations; all other outbound traffic is blocked. Bare IPs are normalized to /32 (IPv4) or /128 (IPv6). Mutually exclusive with block_network. +- `snapshot` - Optional. A Snapshot object or snapshot name/ID string to create the sandbox from. + If provided, the sandbox will be initialized from this snapshot. + Can be either a Snapshot object (e.g., snapshot=my_snapshot) or a snapshot name/ID string (e.g., snapshot="my snapshot"). +- `sandbox_secret` - Optional sandbox secret to use for executor authentication. If not provided, a new one will be generated. **Returns**: @@ -1794,6 +1948,69 @@ async def delete() -> None Delete the sandbox instance asynchronously. + + +#### snapshot + +```python +async def snapshot(name: str, + snapshot_type: "SnapshotType" = None, + wait_available: bool = True, + timeout: int = 600) -> "Snapshot" +``` + +Create a snapshot of this sandbox asynchronously. + +Captures the current state of the sandbox's filesystem (and optionally +running processes for FULL type) so it can be restored later. + +**Arguments**: + +- `name` - Name for the snapshot +- `snapshot_type` - Type of snapshot to create (FILESYSTEM or FULL). + Defaults to FILESYSTEM. +- `wait_available` - Whether to wait for snapshot to become available +- `timeout` - Timeout in seconds for waiting + + +**Returns**: + +- `Snapshot` - The created snapshot object + + +**Raises**: + +- `SandboxError` - If snapshot creation fails + + + +#### create\_from\_snapshot + +```python +@classmethod +async def create_from_snapshot(cls, + snapshot: Union["Snapshot", str], + name: Optional[str] = None, + wait_ready: bool = True, + timeout: int = 300, + **create_kwargs) -> "AsyncSandbox" +``` + +Create a new async sandbox from a snapshot. + +**Arguments**: + +- `snapshot` - Snapshot object or snapshot ID string +- `name` - Name for the new sandbox +- `wait_ready` - Whether to wait for sandbox to be ready +- `timeout` - Timeout in seconds +- `**create_kwargs` - Additional arguments to pass to create() + + +**Returns**: + +- `AsyncSandbox` - A new async sandbox instance + #### is\_healthy @@ -1915,7 +2132,10 @@ Update the sandbox's network policy asynchronously. Warning: applying a new network policy triggers a redeployment of the sandbox service. The sandbox is restarted and any in-memory or non-persisted state is lost. This method does not wait for the -redeployment to finish. +redeployment to finish; it repoints the sandbox at the new deployment +and clears cached connection state, so call wait_ready() afterwards to +block until the replacement deployment is healthy before issuing further +operations. See Sandbox.update_network_policy for full documentation. @@ -2362,7 +2582,7 @@ Used by Sandbox, SandboxExecutor, and SandboxFilesystem to avoid duplication. #### create\_async\_sandbox\_client ```python -def create_async_sandbox_client(conn_info: Optional['ConnectionInfo'], +def create_async_sandbox_client(conn_info: Optional["ConnectionInfo"], existing_client: Optional[Any] = None) -> Any ``` @@ -2416,6 +2636,26 @@ class SandboxDeploymentError(SandboxError) Raised when a sandbox deployment reaches an error state + + +## SandboxClaimError Objects + +```python +class SandboxClaimError(SandboxError) +``` + +Raised when claiming a sandbox from a service pool fails + + + +## ServicePoolError Objects + +```python +class ServicePoolError(SandboxError) +``` + +Raised when a service pool operation (create/get/list/update/delete) fails + ## SandboxServiceError Objects @@ -2436,6 +2676,88 @@ class EgressPolicyError(SandboxError) Raised when egress policy arguments are invalid or conflicting + + +# koyeb/sandbox.test\_sandbox\_client + + + +## TestGetClientWhenUrlUnavailable Objects + +```python +class TestGetClientWhenUrlUnavailable(unittest.TestCase) +``` + +A gone sandbox makes _get_sandbox_url() return None (the metadata/domain +lookups swallow NotFound and return None). _get_client/_get_async_client must +raise SandboxError in that case, as their docstring promises, rather than +letting a raw ``TypeError: cannot unpack non-iterable NoneType object`` escape. + + + +## TestRunStreamingConnectionLoss Objects + +```python +class TestRunStreamingConnectionLoss(unittest.TestCase) +``` + +A dropped connection mid-stream (e.g. the instance is torn down during a +redeployment) must surface as SandboxError, not a raw httpx transport error. + + + +# koyeb/sandbox.test\_pool\_claim + + + +## TestPoolClaim Objects + +```python +class TestPoolClaim(unittest.TestCase) +``` + +PoolClaim.claim: request_id handling, retries, and result mapping. + + + +## TestPoolClaimGetClaim Objects + +```python +class TestPoolClaimGetClaim(unittest.TestCase) +``` + +PoolClaim.get_claim: fetch a claim resource by id. + + + +## TestPoolClaimWaitReady Objects + +```python +class TestPoolClaimWaitReady(unittest.TestCase) +``` + +PoolClaim.wait_ready: Get Service polling until ready or terminal. + + + +## TestAsyncPoolClaim Objects + +```python +class TestAsyncPoolClaim(unittest.TestCase) +``` + +AsyncPoolClaim: async claim retries and wait_ready polling. + + + +## TestServiceStatusClassification Objects + +```python +class TestServiceStatusClassification(unittest.TestCase) +``` + +The classifier is the single source of truth for the state mapping. + # koyeb/sandbox.executor\_client @@ -3315,3 +3637,1057 @@ processes. This includes both active processes and processes that have completed >>> for process in result.get("processes", []): ... print(f"{process['id']}: {process['command']} - {process['status']}") + + +# koyeb/sandbox.pool + +Koyeb Sandbox Pool Claim - claim pre-provisioned sandboxes from service pools. + +Claiming hands out a sandbox from a pool of pre-provisioned services. When a +warm service is available the claim is fulfilled immediately (``prewarmed`` is +True); on the cold path the claimed service is still provisioning and must be +waited on before use. + +Service status mapping for the cold path: + +- HEALTHY, DEGRADED -> ready +- STARTING, RESUMING -> in progress (keep polling) +- UNHEALTHY (claim-flow policy), DELETING, DELETED, PAUSING, PAUSED, and any + unknown/forward-compat value -> terminal failure (fail-closed; a status the + SDK cannot classify fails closed the same way) +- Get Service errors, including 404, are treated as transient: keep polling + until the timeout + + + +## PoolClaim Objects + +```python +class PoolClaim() +``` + +A claim on a sandbox from a Koyeb service pool. + +Synchronous entry point for the pool claim workflow. Use +:class:`AsyncPoolClaim` for the async variant. + +The claim API is idempotent per ``(pool_id, request_id)``: replaying a +claim with the same pair returns the same claim instead of consuming +another sandbox. + + + +#### claim + +```python +@classmethod +def claim(cls, + pool_id: str, + request_id: Optional[str] = None, + wait_ready: bool = True, + api_token: Optional[str] = None, + host: Optional[str] = None, + timeout: int = _CLAIM_WAIT_TIMEOUT, + poll_interval: float = DEFAULT_POLL_INTERVAL) -> PoolClaim +``` + +Claim a sandbox from a service pool. + +If ``request_id`` is not provided, one is generated once and reused +for every internal retry, so a retried claim never consumes a second +sandbox. Calling ``claim`` again with the same ``(pool_id, +request_id)`` replays the same claim. + +**Arguments**: + +- `pool_id` - ID of the service pool to claim from +- `request_id` - Idempotency key for the claim. If not provided (None + or empty), a random one is generated. Reuse the same value to + replay a claim. +- `wait_ready` - Wait for the claimed service to become ready +- `(default` - True). Warm claims confirm on the first poll; + cold claims poll until ready or ``timeout`` expires. +- `api_token` - Koyeb API token (if None, will try to get from KOYEB_API_TOKEN env var) +- `host` - Koyeb API host URL. If not provided, will try to get from KOYEB_API_HOST env var (defaults to https://app.koyeb.com) +- `timeout` - Maximum time to wait for the claimed service to become + ready when wait_ready is True (default: 300 seconds — a + cold-path claim provisions a service on demand, so budget + like Sandbox.create) +- `poll_interval` - Maximum time between status polls in seconds when + wait_ready is True (default: 0.5) + + +**Returns**: + +- `PoolClaim` - The fulfilled claim. ``claim_id``, ``service_id`` and + ``prewarmed`` are always set. + + +**Raises**: + +- `ValueError` - If pool_id is not provided, poll_interval is not + greater than 0, or no API token is configured +- `SandboxClaimError` - If the claim fails, or the claimed service + reaches a terminal state while waiting +- `SandboxTimeoutError` - If wait_ready is True and the claimed service + does not become ready within timeout + + +**Example**: + + >>> claim = PoolClaim.claim(pool_id="my-pool-id") + >>> claim.service_id, claim.prewarmed + ('fd9422ce-...', True) + >>> # Replay the same claim (e.g. after a crash): same pair, same sandbox + >>> claim = PoolClaim.claim(pool_id="my-pool-id", request_id=claim.request_id) + + + +#### get\_claim + +```python +@classmethod +def get_claim(cls, + claim_id: str, + api_token: Optional[str] = None, + host: Optional[str] = None) -> ClaimResource +``` + +Fetch a claim's current state by id. + +**Arguments**: + +- `claim_id` - ID of the claim to fetch +- `api_token` - Koyeb API token (if None, will try to get from KOYEB_API_TOKEN env var) +- `host` - Koyeb API host URL. If not provided, will try to get from KOYEB_API_HOST env var (defaults to https://app.koyeb.com) + + +**Returns**: + + The claim resource: ``id``, ``pool_id``, ``service_id``, + ``request_id``, ``status`` (PENDING, FULFILLED, FAILED or + RELEASED) and timestamps. + + +**Raises**: + +- `ValueError` - If claim_id is not provided or no API token is + configured +- `SandboxClaimError` - If the reply carries no claim resource + + + +#### wait\_ready + +```python +def wait_ready(timeout: int = DEFAULT_INSTANCE_WAIT_TIMEOUT, + poll_interval: Optional[float] = None, + cancel: Optional[threading.Event] = None) -> bool +``` + +Wait for the claimed service to become ready. + +Cold-path polling helper: polls Get Service with exponential backoff +until the service is ready (HEALTHY or DEGRADED), reaches a terminal +state (UNHEALTHY, DELETING, DELETED, PAUSING, PAUSED, or an unknown +value — fail-closed) or the timeout expires. Warm claims are usually +confirmed on the first poll. Transient Get Service errors, including +404, keep polling until the timeout. A set ``cancel`` event stops +waiting early. + +**Arguments**: + +- `timeout` - Maximum time to wait in seconds (default: 60, the + instance-wait budget; claim() passes its own 300s cold-path + budget) +- `poll_interval` - Maximum time between status polls in seconds + (defaults to this claim's poll_interval) +- `cancel` - Event that stops waiting when set; an already-set event + returns False immediately without polling + + +**Returns**: + +- `bool` - True if the service became ready, False if timeout or + cancelled + + +**Raises**: + +- `ValueError` - If poll_interval is not greater than 0 +- `SandboxClaimError` - If the service reaches a terminal state, + including a status the SDK cannot classify + + + +## AsyncPoolClaim Objects + +```python +class AsyncPoolClaim(PoolClaim) +``` + +Asynchronous claim on a sandbox from a Koyeb service pool. + +Mirrors :class:`PoolClaim` with awaitable ``claim`` and ``wait_ready``. + + + +#### claim + +```python +@classmethod +async def claim( + cls, + pool_id: str, + request_id: Optional[str] = None, + wait_ready: bool = True, + api_token: Optional[str] = None, + host: Optional[str] = None, + timeout: int = _CLAIM_WAIT_TIMEOUT, + poll_interval: float = DEFAULT_POLL_INTERVAL) -> AsyncPoolClaim +``` + +Claim a sandbox from a service pool asynchronously. + +If ``request_id`` is not provided, one is generated once and reused +for every internal retry, so a retried claim never consumes a second +sandbox. Calling ``claim`` again with the same ``(pool_id, +request_id)`` replays the same claim. + +**Arguments**: + +- `pool_id` - ID of the service pool to claim from +- `request_id` - Idempotency key for the claim. If not provided (None + or empty), a random one is generated. Reuse the same value to + replay a claim. +- `wait_ready` - Wait for the claimed service to become ready +- `(default` - True). Warm claims confirm on the first poll; + cold claims poll until ready or ``timeout`` expires. +- `api_token` - Koyeb API token (if None, will try to get from KOYEB_API_TOKEN env var) +- `host` - Koyeb API host URL. If not provided, will try to get from KOYEB_API_HOST env var (defaults to https://app.koyeb.com) +- `timeout` - Maximum time to wait for the claimed service to become + ready when wait_ready is True (default: 300 seconds — a + cold-path claim provisions a service on demand, so budget + like Sandbox.create) +- `poll_interval` - Maximum time between status polls in seconds when + wait_ready is True (default: 0.5) + + +**Returns**: + +- `AsyncPoolClaim` - The fulfilled claim. ``claim_id``, ``service_id`` + and ``prewarmed`` are always set. + + +**Raises**: + +- `ValueError` - If pool_id is not provided, poll_interval is not + greater than 0, or no API token is configured +- `SandboxClaimError` - If the claim fails, or the claimed service + reaches a terminal state while waiting +- `SandboxTimeoutError` - If wait_ready is True and the claimed service + does not become ready within timeout + + +**Example**: + + >>> claim = await AsyncPoolClaim.claim(pool_id="my-pool-id") + >>> claim.service_id, claim.prewarmed + ('fd9422ce-...', True) + + + +#### get\_claim + +```python +@classmethod +async def get_claim(cls, + claim_id: str, + api_token: Optional[str] = None, + host: Optional[str] = None) -> AsyncClaimResource +``` + +Fetch a claim's current state by id asynchronously. + +**Arguments**: + +- `claim_id` - ID of the claim to fetch +- `api_token` - Koyeb API token (if None, will try to get from KOYEB_API_TOKEN env var) +- `host` - Koyeb API host URL. If not provided, will try to get from KOYEB_API_HOST env var (defaults to https://app.koyeb.com) + + +**Returns**: + + The claim resource: ``id``, ``pool_id``, ``service_id``, + ``request_id``, ``status`` (PENDING, FULFILLED, FAILED or + RELEASED) and timestamps. + + +**Raises**: + +- `ValueError` - If claim_id is not provided or no API token is + configured +- `SandboxClaimError` - If the reply carries no claim resource + + + +#### wait\_ready + +```python +async def wait_ready(timeout: int = DEFAULT_INSTANCE_WAIT_TIMEOUT, + poll_interval: Optional[float] = None, + cancel: Optional[asyncio.Event] = None) -> bool +``` + +Wait for the claimed service to become ready asynchronously. + +Cold-path polling helper: polls Get Service with exponential backoff +until the service is ready (HEALTHY or DEGRADED), reaches a terminal +state (UNHEALTHY, DELETING, DELETED, PAUSING, PAUSED, or an unknown +value — fail-closed) or the timeout expires. Warm claims are usually +confirmed on the first poll. Transient Get Service errors, including +404, keep polling until the timeout. A set ``cancel`` event stops +waiting early, and cancelling the asyncio task stops it as well. + +**Arguments**: + +- `timeout` - Maximum time to wait in seconds (default: 60, the + instance-wait budget; claim() passes its own 300s cold-path + budget) +- `poll_interval` - Maximum time between status polls in seconds + (defaults to this claim's poll_interval) +- `cancel` - Event that stops waiting when set; an already-set event + returns False immediately without polling + + +**Returns**: + +- `bool` - True if the service became ready, False if timeout or + cancelled + + +**Raises**: + +- `ValueError` - If poll_interval is not greater than 0 +- `SandboxClaimError` - If the service reaches a terminal state, + including a status the SDK cannot classify + + + +# koyeb/sandbox.service\_pool + +Koyeb Service Pool - manage pools of pre-provisioned sandboxes. + +A service pool keeps a target number of warm sandboxes ready so that claiming +hands out a pre-provisioned service instead of provisioning one on demand. + +This module wraps the generated ServicePools API with the same ergonomics as +the rest of the sandbox layer (``Sandbox``, ``PoolClaim``): plain classes, +sync + async twins, errors in ``utils.py``, and a per-instance ``api_token`` / +``host`` so follow-up calls (``refresh``, ``update``, ``delete``) reuse the +caller's credentials. + + + +## ServicePool Objects + +```python +class ServicePool() +``` + +A handle on a Koyeb service pool. + +Instances are cheap value objects bound to a pool id; the classmethods +``create`` / ``get`` / ``list`` build them from API replies. Mutating +methods (``update``, ``delete``, ``refresh``) reuse the ``api_token`` and +``host`` captured at construction. + + + +#### create + +```python +@classmethod +def create(cls, + name: str, + size: int, + definition: DefinitionInput = None, + *, + api_token: Optional[str] = None, + host: Optional[str] = None) -> "ServicePool" +``` + +Create a service pool. + +**Arguments**: + +- `name` - Human-readable name of the pool (unique per workspace). +- `size` - Target number of warm sandboxes to keep ready (>= 0). +- `definition` - Deployment definition describing the sandbox image + the pool pre-provisions. A dict is accepted and upgraded to + the generated ``DeploymentDefinition`` model. +- `api_token` - Koyeb API token (if None, reads KOYEB_API_TOKEN). +- `host` - Koyeb API host (if None, reads KOYEB_API_HOST; defaults to + https://app.koyeb.com). + + +**Returns**: + +- `ServicePool` - The created pool. + + +**Raises**: + +- `ValueError` - If name or size is not provided, or size is negative. +- `ServicePoolError` - If the API rejects the request. + + +**Example**: + + >>> pool = ServicePool.create("my-pool", 3, + ... definition={"docker": {"image": "koyeb/sandbox"}}) + >>> pool.pool_id, pool.size + ('fd9422ce-...', 3) + + + +#### get + +```python +@classmethod +def get(cls, + pool_id: str, + *, + api_token: Optional[str] = None, + host: Optional[str] = None) -> "ServicePool" +``` + +Fetch a single service pool by id. + +**Arguments**: + +- `pool_id` - ID of the service pool to fetch. +- `api_token` - Koyeb API token (if None, reads KOYEB_API_TOKEN). +- `host` - Koyeb API host (if None, reads KOYEB_API_HOST; defaults to + https://app.koyeb.com). + + +**Returns**: + +- `ServicePool` - The fetched pool. + + +**Raises**: + +- `ValueError` - If pool_id is not provided. +- `ServicePoolError` - If the API rejects the request. + + + +#### list + +```python +@classmethod +def list(cls, + *, + name: Optional[str] = None, + limit: Optional[int] = None, + offset: Optional[int] = None, + api_token: Optional[str] = None, + host: Optional[str] = None) -> List["ServicePool"] +``` + +List service pools visible to the caller (one paginated call). + +**Arguments**: + +- `name` - Filter pools by name (case-sensitive, server-side). +- `limit` - Maximum number of pools to return. +- `offset` - Pagination offset. +- `api_token` - Koyeb API token (if None, reads KOYEB_API_TOKEN). +- `host` - Koyeb API host (if None, reads KOYEB_API_HOST; defaults to + https://app.koyeb.com). + + +**Returns**: + +- `List[ServicePool]` - Pools visible to the caller. Entries without + an id are dropped. + + +**Raises**: + +- `ServicePoolError` - If the API rejects the request. + + + +#### update + +```python +def update(*, + definition: DefinitionInput, + size: Optional[int] = None) -> "ServicePool" +``` + +Replace this service pool's configuration (full PUT-replace). + +The server does not support field masks: every update replaces the +pool's ``definition`` and, when given, ``size``. ``definition`` is +required by the API; ``size`` defaults to the server's current value +when omitted. + +**Arguments**: + +- `definition` - New deployment definition (dict accepted). Required. +- `size` - New target number of warm sandboxes (optional, >= 0). + + +**Returns**: + +- `ServicePool` - self, refreshed from the reply. + + +**Raises**: + +- `ValueError` - If definition is not provided or size is negative. +- `ServicePoolError` - If the API rejects the request. + + + +#### delete + +```python +def delete() -> None +``` + +Delete this service pool. + +The pool is fenced server-side until outstanding claims drain; the +handle is stale after this. + +**Raises**: + +- `ServicePoolError` - If the API rejects the request. + + + +#### refresh + +```python +def refresh() -> "ServicePool" +``` + +Re-fetch this pool from the API and update the handle in place. + +**Returns**: + +- `ServicePool` - self, refreshed. + + +**Raises**: + +- `ServicePoolError` - If the API rejects the request. + + + +## AsyncServicePool Objects + +```python +class AsyncServicePool(ServicePool) +``` + +Asynchronous handle on a Koyeb service pool. + +Mirrors :class:`ServicePool` with awaitable CRUD methods. + + + +#### create + +```python +@classmethod +async def create(cls, + name: str, + size: int, + definition: DefinitionInput = None, + *, + api_token: Optional[str] = None, + host: Optional[str] = None) -> "AsyncServicePool" +``` + +Create a service pool asynchronously. + +**Arguments**: + +- `name` - Human-readable name of the pool (unique per workspace). +- `size` - Target number of warm sandboxes to keep ready (>= 0). +- `definition` - Deployment definition describing the sandbox image + the pool pre-provisions. A dict is accepted and upgraded to + the generated ``DeploymentDefinition`` model. +- `api_token` - Koyeb API token (if None, reads KOYEB_API_TOKEN). +- `host` - Koyeb API host (if None, reads KOYEB_API_HOST; defaults to + https://app.koyeb.com). + + +**Returns**: + +- `AsyncServicePool` - The created pool. + + +**Raises**: + +- `ValueError` - If name or size is not provided, or size is negative. +- `ServicePoolError` - If the API rejects the request. + + + +#### get + +```python +@classmethod +async def get(cls, + pool_id: str, + *, + api_token: Optional[str] = None, + host: Optional[str] = None) -> "AsyncServicePool" +``` + +Fetch a single service pool by id asynchronously. + +**Arguments**: + +- `pool_id` - ID of the service pool to fetch. +- `api_token` - Koyeb API token (if None, reads KOYEB_API_TOKEN). +- `host` - Koyeb API host (if None, reads KOYEB_API_HOST; defaults to + https://app.koyeb.com). + + +**Returns**: + +- `AsyncServicePool` - The fetched pool. + + +**Raises**: + +- `ValueError` - If pool_id is not provided. +- `ServicePoolError` - If the API rejects the request. + + + +#### list + +```python +@classmethod +async def list(cls, + *, + name: Optional[str] = None, + limit: Optional[int] = None, + offset: Optional[int] = None, + api_token: Optional[str] = None, + host: Optional[str] = None) -> List["AsyncServicePool"] +``` + +List service pools visible to the caller asynchronously. + +**Arguments**: + +- `name` - Filter pools by name (case-sensitive, server-side). +- `limit` - Maximum number of pools to return. +- `offset` - Pagination offset. +- `api_token` - Koyeb API token (if None, reads KOYEB_API_TOKEN). +- `host` - Koyeb API host (if None, reads KOYEB_API_HOST; defaults to + https://app.koyeb.com). + + +**Returns**: + +- `List[AsyncServicePool]` - Pools visible to the caller. Entries + without an id are dropped. + + +**Raises**: + +- `ServicePoolError` - If the API rejects the request. + + + +#### update + +```python +async def update(*, + definition: DefinitionInput, + size: Optional[int] = None) -> "AsyncServicePool" +``` + +Replace this service pool's configuration asynchronously (full PUT-replace). + +The server does not support field masks: every update replaces the +pool's ``definition`` and, when given, ``size``. ``definition`` is +required by the API; ``size`` defaults to the server's current value +when omitted. + +**Arguments**: + +- `definition` - New deployment definition (dict accepted). Required. +- `size` - New target number of warm sandboxes (optional, >= 0). + + +**Returns**: + +- `AsyncServicePool` - self, refreshed from the reply. + + +**Raises**: + +- `ValueError` - If definition is not provided or size is negative. +- `ServicePoolError` - If the API rejects the request. + + + +#### delete + +```python +async def delete() -> None +``` + +Delete this service pool asynchronously. + +The pool is fenced server-side until outstanding claims drain; the +handle is stale after this. + +**Raises**: + +- `ServicePoolError` - If the API rejects the request. + + + +#### refresh + +```python +async def refresh() -> "AsyncServicePool" +``` + +Re-fetch this pool from the API and update the handle in place. + +**Returns**: + +- `AsyncServicePool` - self, refreshed. + + +**Raises**: + +- `ServicePoolError` - If the API rejects the request. + + + +# koyeb/sandbox.snapshot + +Koyeb Sandbox Snapshot - Snapshot functionality for Koyeb sandboxes + + + +## SnapshotType Objects + +```python +class SnapshotType(Enum) +``` + +Types of sandbox snapshots. + + + +## SnapshotStatus Objects + +```python +class SnapshotStatus(Enum) +``` + +Status of a sandbox snapshot. + + + +## Snapshot Objects + +```python +@dataclass +class Snapshot() +``` + +Represents a sandbox snapshot resource. + +A snapshot captures the state of a sandbox at a specific point in time, +including its filesystem and optionally running processes. Sandboxes can +be spawned from snapshots to create pre-configured environments. + + + +#### get + +```python +@classmethod +def get(cls, + snapshot_id: str, + api_token: Optional[str] = None, + host: Optional[str] = None) -> Snapshot +``` + +Get a snapshot by ID. + +Uses the InstanceSnapshots API which is for sandbox/service instance snapshots. + +**Arguments**: + +- `snapshot_id` - The ID of the snapshot to retrieve +- `api_token` - Koyeb API token (falls back to KOYEB_API_TOKEN env var) +- `host` - Koyeb API host + + +**Returns**: + +- `Snapshot` - The snapshot object + + +**Raises**: + +- `SandboxError` - If snapshot cannot be retrieved + + + +#### list + +```python +@classmethod +def list(cls, + service_id: Optional[str] = None, + snapshot_type: Optional[SnapshotType] = None, + status: Optional[SnapshotStatus] = None, + limit: int = 50, + offset: int = 0, + api_token: Optional[str] = None, + host: Optional[str] = None) -> List[Snapshot] +``` + +List snapshots with optional filters. + +Uses the InstanceSnapshots API which is for sandbox/service instance snapshots. + +**Arguments**: + +- `service_id` - Filter by service ID +- `snapshot_type` - Filter by snapshot type +- `status` - Filter by snapshot status +- `limit` - Maximum number of snapshots to return +- `offset` - Offset for pagination +- `api_token` - Koyeb API token +- `host` - Koyeb API host + + +**Returns**: + + List of Snapshot objects + + + +#### refresh + +```python +def refresh() -> None +``` + +Refresh snapshot state from the API. + + + +#### wait\_available + +```python +def wait_available(timeout: int = 600, poll_interval: float = 5.0) -> bool +``` + +Wait for snapshot to become available. + +**Arguments**: + +- `timeout` - Maximum time to wait in seconds +- `poll_interval` - Time between status checks in seconds + + +**Returns**: + + True if snapshot became available, False if timeout + + + +#### delete + +```python +def delete() -> bool +``` + +Delete this snapshot. + +Uses the InstanceSnapshots API which is for sandbox/service instance snapshots. + +**Returns**: + + True if deletion was successful + + + +#### spawn + +```python +def spawn(name: Optional[str] = None, + wait_ready: bool = True, + timeout: int = 300, + **create_kwargs) -> Sandbox +``` + +Spawn a new sandbox from this snapshot. + +**Arguments**: + +- `name` - Name for the new sandbox +- `wait_ready` - Whether to wait for sandbox to be ready +- `timeout` - Timeout for sandbox creation in seconds +- `**create_kwargs` - Additional arguments to pass to Sandbox.create() + + +**Returns**: + +- `Sandbox` - A new sandbox instance initialized from this snapshot + + + +## DeclarativeSnapshot Objects + +```python +class DeclarativeSnapshot() +``` + +Fluent builder for creating sandbox snapshots declaratively. + +This builder allows you to define a sandbox environment by: +- Writing files +- Copying local files/directories +- Running setup commands +- Setting environment variables + +Then builds a snapshot that can be used to spawn pre-configured sandboxes. + + + +#### \_\_init\_\_ + +```python +def __init__(name: str, + image: str, + workdir: Optional[str] = None, + api_token: Optional[str] = None, + host: Optional[str] = None, + delete_builder: bool = True) +``` + +Initialize the declarative snapshot builder. + +**Arguments**: + +- `name` - Name for the template/builder +- `image` - Docker image to use for the sandbox +- `workdir` - Working directory in the sandbox +- `api_token` - Koyeb API token +- `host` - Koyeb API host +- `delete_builder` - Whether to delete the builder sandbox after creating the snapshot (default: True) + + + +#### file + +```python +def file(path: str, content: str) -> DeclarativeSnapshot +``` + +Write a file to the sandbox during build. + +**Arguments**: + +- `path` - Path in the sandbox (e.g., "/workspace/requirements.txt") +- `content` - File content as string + + +**Returns**: + + self for method chaining + + + +#### copy + +```python +def copy(src: str, dst: str) -> DeclarativeSnapshot +``` + +Copy a local file or directory to the sandbox during build. + +**Arguments**: + +- `src` - Local source path (file or directory) +- `dst` - Destination path in the sandbox + + +**Returns**: + + self for method chaining + + + +#### run + +```python +def run(command: str, cwd: Optional[str] = None) -> DeclarativeSnapshot +``` + +Run a command during build. + +**Arguments**: + +- `command` - Command to execute +- `cwd` - Working directory for the command + + +**Returns**: + + self for method chaining + + + +#### build + +```python +def build(snapshot_name: Optional[str] = None) -> Snapshot +``` + +Build the snapshot by creating a temporary sandbox, +applying all configurations, and creating a snapshot. + +The builder sandbox is automatically deleted after the snapshot is created. + +**Arguments**: + +- `snapshot_name` - Name for the snapshot (defaults to builder name) + + +**Returns**: + +- `Snapshot` - The created snapshot + + + +#### get\_operations + +```python +def get_operations() -> List[str] +``` + +Get list of operations recorded during build. + diff --git a/examples/28_service_pool.py b/examples/28_service_pool.py new file mode 100644 index 00000000..3c694bc3 --- /dev/null +++ b/examples/28_service_pool.py @@ -0,0 +1,49 @@ +"""Service pool lifecycle: create, list, update, and delete a pool. + +A service pool keeps a target number of warm sandboxes ready so that +claiming (see examples/29_pool_claim.py) hands out a pre-provisioned +service instead of provisioning one on demand. +""" + +import os +import sys + +from koyeb import ServicePool + + +def main() -> int: + api_token = os.environ.get("KOYEB_API_TOKEN") + if not api_token: + print("KOYEB_API_TOKEN is not set", file=sys.stderr) + return 1 + + # Create a pool of 3 warm sandboxes from the default sandbox image. + pool = ServicePool.create( + name="my-pool", + size=3, + definition={"docker": {"image": "koyeb/sandbox"}}, + api_token=api_token, + ) + print(f"✓ Created {pool}") + + # List every pool the caller can see. + pools = ServicePool.list(api_token=api_token) + print(f"✓ Listed {len(pools)} pool(s)") + + # Update the pool: a full PUT-replace (the server does not support field + # masks). definition is required; size is optional. + pool.update(definition={"docker": {"image": "koyeb/sandbox"}}, size=5) + print(f"✓ Updated: size={pool.size}") + + # Refresh re-fetches the pool (status, ready_count, ...). + pool.refresh() + print(f"✓ Refreshed, ready_count={pool.ready_count}, status={pool.status}") + + # Delete the pool. The server fences it until outstanding claims drain. + pool.delete() + print("✓ Deleted") + return 0 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/examples/29_pool_claim.py b/examples/29_pool_claim.py new file mode 100644 index 00000000..9fcf1322 --- /dev/null +++ b/examples/29_pool_claim.py @@ -0,0 +1,72 @@ +#!/usr/bin/env python3 +"""Claim a sandbox from a service pool (sync)""" + +import os +import sys + +from koyeb import PoolClaim, Sandbox +from koyeb.sandbox import SandboxClaimError, SandboxError + + +def main(): + api_token = os.getenv("KOYEB_API_TOKEN") + pool_id = os.getenv("KOYEB_POOL_ID") + if not api_token: + print("Error: KOYEB_API_TOKEN not set") + return 1 + if not pool_id: + print("Error: KOYEB_POOL_ID not set (create a service pool first)") + return 1 + + try: + # Claim a sandbox from the pool. The request id is generated once and + # preserved across internal retries; replaying the same + # (pool_id, request_id) pair returns the same claim. + print(f"Claiming a sandbox from pool {pool_id}...") + claim = PoolClaim.claim( + pool_id=pool_id, + api_token=api_token, + ) + + print("✓ Claim fulfilled") + print(f" Claim ID: {claim.claim_id}") + print(f" Service ID: {claim.service_id}") + print(f" Prewarmed: {claim.prewarmed}") + print(f" Request ID: {claim.request_id}") + + if not claim.prewarmed: + # Cold path: no warm sandbox was available, so the claimed service + # was provisioned on demand. claim(wait_ready=True) already waited + # for it; for manual control use claim(wait_ready=False) and + # claim.wait_ready() yourself. + print(" (cold path: the service was provisioned on demand)") + + # Attach a Sandbox to the claimed service and use it like any other + # sandbox. The pool owns the claimed sandbox's lifecycle — no delete + # here (unlike examples/01). + sandbox = Sandbox.get_from_id(id=claim.service_id, api_token=api_token) + result = sandbox.exec("echo 'Hello from a claimed sandbox!'") + print(f" Output: {result.stdout.strip()}") + + # Replay demo: the same (pool_id, request_id) returns the same claim + replay = PoolClaim.claim( + pool_id=pool_id, + request_id=claim.request_id, + api_token=api_token, + ) + assert replay.service_id == claim.service_id + print("✓ Replay with the same request_id returned the same service") + + return 0 + except SandboxClaimError as e: + # Claim failed (pool missing, request id collision on another pool, + # claimed service reached a terminal state, ...) + print(f"Claim failed: {e}") + return 1 + except SandboxError as e: + print(f"Sandbox error: {e}") + return 1 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/examples/29_pool_claim_async.py b/examples/29_pool_claim_async.py new file mode 100644 index 00000000..a328f88b --- /dev/null +++ b/examples/29_pool_claim_async.py @@ -0,0 +1,75 @@ +#!/usr/bin/env python3 +"""Claim a sandbox from a service pool (async variant)""" + +import asyncio +import os +import sys + +from koyeb import AsyncPoolClaim, AsyncSandbox +from koyeb.sandbox import SandboxClaimError, SandboxError + + +async def main(): + api_token = os.getenv("KOYEB_API_TOKEN") + pool_id = os.getenv("KOYEB_POOL_ID") + if not api_token: + print("Error: KOYEB_API_TOKEN not set") + return 1 + if not pool_id: + print("Error: KOYEB_POOL_ID not set (create a service pool first)") + return 1 + + try: + # Claim a sandbox from the pool. The request id is generated once and + # preserved across internal retries; replaying the same + # (pool_id, request_id) pair returns the same claim. + print(f"Claiming a sandbox from pool {pool_id}...") + claim = await AsyncPoolClaim.claim( + pool_id=pool_id, + api_token=api_token, + ) + + print("✓ Claim fulfilled") + print(f" Claim ID: {claim.claim_id}") + print(f" Service ID: {claim.service_id}") + print(f" Prewarmed: {claim.prewarmed}") + print(f" Request ID: {claim.request_id}") + + if not claim.prewarmed: + # Cold path: no warm sandbox was available, so the claimed service + # was provisioned on demand. claim(wait_ready=True) already waited + # for it; for manual control use claim(wait_ready=False) and + # await claim.wait_ready() yourself. + print(" (cold path: the service was provisioned on demand)") + + # Attach a Sandbox to the claimed service and use it like any other + # sandbox. The pool owns the claimed sandbox's lifecycle — no delete + # here (unlike examples/01). + sandbox = await AsyncSandbox.get_from_id( + id=claim.service_id, api_token=api_token + ) + result = await sandbox.exec("echo 'Hello from a claimed sandbox!'") + print(f" Output: {result.stdout.strip()}") + + # Replay demo: the same (pool_id, request_id) returns the same claim + replay = await AsyncPoolClaim.claim( + pool_id=pool_id, + request_id=claim.request_id, + api_token=api_token, + ) + assert replay.service_id == claim.service_id + print("✓ Replay with the same request_id returned the same service") + + return 0 + except SandboxClaimError as e: + # Claim failed (pool missing, request id collision on another pool, + # claimed service reached a terminal state, ...) + print(f"Claim failed: {e}") + return 1 + except SandboxError as e: + print(f"Sandbox error: {e}") + return 1 + + +if __name__ == "__main__": + sys.exit(asyncio.run(main())) diff --git a/examples/README.md b/examples/README.md index a12cb8ff..de496b2e 100644 --- a/examples/README.md +++ b/examples/README.md @@ -40,7 +40,9 @@ uv run python examples/01_create_sandbox.py - **24_declarative_snapshot_builder.py** - Declarative snapshot building - **25_full_snapshot_and_spawn.py** - Full snapshots with process state preservation - **26_snapshot_boot_benchmark.py** - Benchmark snapshot boot times (sync) -- **27_docker_in_docker.py** - Run containers inside a sandbox (docker-in-docker), building an image from scratch with no registry pull +- **28_service_pool.py** - Service pool lifecycle: create, list, update, and delete a pool +- **29_pool_claim.py** - Claim a sandbox from a service pool, then attach and use it +- **29_pool_claim_async.py** - Claim a sandbox from a service pool (async variant) ## Basic Usage diff --git a/koyeb/__init__.py b/koyeb/__init__.py index 6f1ca46e..84b2ad66 100644 --- a/koyeb/__init__.py +++ b/koyeb/__init__.py @@ -3,6 +3,24 @@ __version__ = "1.5.4" # Make Sandbox available at package level -from .sandbox import Sandbox, AsyncSandbox, ConfigFile, Secret +from .sandbox import ( + Sandbox, + AsyncSandbox, + ConfigFile, + Secret, + PoolClaim, + AsyncPoolClaim, + ServicePool, + AsyncServicePool, +) -__all__ = ["Sandbox", "AsyncSandbox", "ConfigFile", "Secret"] +__all__ = [ + "Sandbox", + "AsyncSandbox", + "ConfigFile", + "Secret", + "PoolClaim", + "AsyncPoolClaim", + "ServicePool", + "AsyncServicePool", +] diff --git a/koyeb/sandbox/__init__.py b/koyeb/sandbox/__init__.py index d84e5bf6..7c69a012 100644 --- a/koyeb/sandbox/__init__.py +++ b/koyeb/sandbox/__init__.py @@ -18,14 +18,18 @@ SandboxExecutor, ) from .filesystem import FileInfo, SandboxFilesystem +from .pool import AsyncPoolClaim, PoolClaim from .sandbox import AsyncSandbox, ExposedPort, ProcessInfo, Sandbox +from .service_pool import AsyncServicePool, ServicePool from .snapshot import DeclarativeSnapshot, Snapshot, SnapshotStatus, SnapshotType from .utils import ( EgressPolicyError, + SandboxClaimError, SandboxDeploymentError, SandboxError, SandboxServiceError, SandboxTimeoutError, + ServicePoolError, ) __all__ = [ @@ -33,6 +37,10 @@ "AsyncSandbox", "ConfigFile", "Secret", + "PoolClaim", + "AsyncPoolClaim", + "ServicePool", + "AsyncServicePool", "SandboxFilesystem", "SandboxExecutor", "AsyncSandboxExecutor", @@ -43,6 +51,8 @@ "SandboxError", "SandboxServiceError", "SandboxTimeoutError", + "SandboxClaimError", + "ServicePoolError", "CommandResult", "CommandStatus", "SandboxCommandError", diff --git a/koyeb/sandbox/pool.py b/koyeb/sandbox/pool.py new file mode 100644 index 00000000..cf5c7786 --- /dev/null +++ b/koyeb/sandbox/pool.py @@ -0,0 +1,693 @@ +# coding: utf-8 + +""" +Koyeb Sandbox Pool Claim - claim pre-provisioned sandboxes from service pools. + +Claiming hands out a sandbox from a pool of pre-provisioned services. When a +warm service is available the claim is fulfilled immediately (``prewarmed`` is +True); on the cold path the claimed service is still provisioning and must be +waited on before use. + +Service status mapping for the cold path: + +- HEALTHY, DEGRADED -> ready +- STARTING, RESUMING -> in progress (keep polling) +- UNHEALTHY (claim-flow policy), DELETING, DELETED, PAUSING, PAUSED, and any + unknown/forward-compat value -> terminal failure (fail-closed; a status the + SDK cannot classify fails closed the same way) +- Get Service errors, including 404, are treated as transient: keep polling + until the timeout +""" + +from __future__ import annotations + +import asyncio +import secrets +import threading +import time +from typing import Literal, Optional, Union + +import httpx +import urllib3 +from pydantic import ValidationError + +from koyeb.api.exceptions import ApiException +from koyeb.api.models.pool_claim import PoolClaim as ClaimResource +from koyeb.api.models.pool_claim_request import PoolClaimRequest +from koyeb.api.models.service_status import ServiceStatus +from koyeb.api_async.exceptions import ( + ApiException as AsyncApiException, +) +from koyeb.api_async.models.pool_claim import PoolClaim as AsyncClaimResource +from koyeb.api_async.models.pool_claim_request import ( + PoolClaimRequest as AsyncPoolClaimRequest, +) + +from .utils import ( + DEFAULT_HTTP_TIMEOUT, + DEFAULT_INSTANCE_WAIT_TIMEOUT, + DEFAULT_POLL_INTERVAL, + SandboxClaimError, + SandboxTimeoutError, + get_api_clients, + get_async_api_clients, + logger, +) + +# The claim endpoint is idempotent per (pool_id, request_id), so replaying the +# same request after a transient failure is safe. +_RETRYABLE_STATUSES = frozenset({408, 429, 500, 502, 503, 504}) + +# Number of attempts for the claim call before giving up, and the delay +# between attempts (doubling up to the cap). +_CLAIM_MAX_ATTEMPTS = 3 +_CLAIM_RETRY_BASE_DELAY = 0.5 +_CLAIM_RETRY_MAX_DELAY = 5.0 + +# A cold-path claim provisions a service on demand, which can take as long +# as a fresh sandbox; budget the wait like Sandbox.create. +_CLAIM_WAIT_TIMEOUT = 300 + +# Exponential poll backoff seed for wait_ready (doubles up to poll_interval). +_WAIT_BACKOFF_START = 0.1 + +# Service states that mean "ready, use it". DEGRADED is usable for a claim: +# its active deployment is healthy and serving traffic; callers that need a +# pristine state can check status == HEALTHY themselves. +_SERVICE_READY_STATES = frozenset({ServiceStatus.HEALTHY, ServiceStatus.DEGRADED}) +# States that mean "not ready yet, keep polling". +_SERVICE_IN_PROGRESS_STATES = frozenset( + {ServiceStatus.STARTING, ServiceStatus.RESUMING} +) +# Everything else — UNHEALTHY (claim-flow policy: fail fast instead of +# polling a service that may never recover), DELETING, DELETED, PAUSING, +# PAUSED, and any unknown/forward-compat value — is terminal (fail-closed). + + +def _classify_service_status( + status: ServiceStatus, +) -> Literal["ready", "in_progress", "terminal"]: + """Classify a Service.Status for the cold-path claim poll.""" + if status in _SERVICE_READY_STATES: + return "ready" + if status in _SERVICE_IN_PROGRESS_STATES: + return "in_progress" + return "terminal" + + +def _is_status_field_error(e: ValidationError) -> bool: + """True when pydantic rejected the Service.Status field itself (an + unknown/forward-compat enum value) rather than some other field.""" + return any("status" in err.get("loc", ()) for err in e.errors()) + + +def _new_request_id() -> str: + """Generate a request id usable as a claim idempotency key.""" + return secrets.token_urlsafe(16) + + +def _api_error_detail(e: Union[ApiException, AsyncApiException]) -> str: + """Human-readable detail from an ApiException: reason plus response body.""" + body = e.body + if isinstance(body, bytes): + body = body.decode("utf-8", errors="replace") + detail = e.reason or "" + if body: + detail = f"{detail}: {body}" if detail else str(body) + return detail + + +def _claim_failed_error( + pool_id: str, request_id: str, e: Union[ApiException, AsyncApiException] +) -> SandboxClaimError: + """Non-retryable claim failure: surface the HTTP error immediately.""" + return SandboxClaimError( + f"Failed to claim from pool '{pool_id}' with request_id " + f"'{request_id}' (HTTP {e.status}): {_api_error_detail(e)}", + request_id=request_id, + ) + + +def _claim_exhausted_error( + pool_id: str, + request_id: str, + attempts: int, + last_error: Optional[BaseException], +) -> SandboxClaimError: + """Every claim attempt failed: surface the last error with its cause.""" + detail = str(last_error) if last_error is not None else "no error recorded" + return SandboxClaimError( + f"Failed to claim from pool '{pool_id}' with request_id " + f"'{request_id}' after {attempts} attempts: {detail}", + request_id=request_id, + ) + + +def _claim_missing_field_error( + pool_id: str, request_id: str, field: str +) -> SandboxClaimError: + """Malformed claim reply: a contract-required field is absent.""" + return SandboxClaimError( + f"Claim from pool '{pool_id}' with request_id '{request_id}' " + f"returned no {field}", + request_id=request_id, + ) + + +def _wait_timeout_error( + service_id: str, pool_id: str, request_id: str, timeout: int +) -> SandboxTimeoutError: + """The claimed service did not become ready within the budget.""" + return SandboxTimeoutError( + f"Claimed service '{service_id}' from pool '{pool_id}' with " + f"request_id '{request_id}' did not become ready within {timeout} " + f"seconds. The claim succeeded but the service may still be " + f"provisioning. To recover, claim again with the same request_id and " + f"wait_ready=False, then call wait_ready()." + ) + + +class PoolClaim: + """ + A claim on a sandbox from a Koyeb service pool. + + Synchronous entry point for the pool claim workflow. Use + :class:`AsyncPoolClaim` for the async variant. + + The claim API is idempotent per ``(pool_id, request_id)``: replaying a + claim with the same pair returns the same claim instead of consuming + another sandbox. + """ + + def __init__( + self, + pool_id: str, + service_id: str, + request_id: str, + prewarmed: bool, + claim_id: Optional[str] = None, + api_token: Optional[str] = None, + host: Optional[str] = None, + poll_interval: float = DEFAULT_POLL_INTERVAL, + ): + self.pool_id = pool_id + self.claim_id = claim_id + self.service_id = service_id + self.request_id = request_id + self.prewarmed = prewarmed + self.api_token = api_token + self.host = host + self.poll_interval = poll_interval + + def __repr__(self) -> str: + return ( + f"PoolClaim(pool_id={self.pool_id!r}, claim_id={self.claim_id!r}, " + f"service_id={self.service_id!r}, request_id={self.request_id!r}, " + f"prewarmed={self.prewarmed})" + ) + + @classmethod + def claim( + cls, + pool_id: str, + request_id: Optional[str] = None, + wait_ready: bool = True, + api_token: Optional[str] = None, + host: Optional[str] = None, + timeout: int = _CLAIM_WAIT_TIMEOUT, + poll_interval: float = DEFAULT_POLL_INTERVAL, + ) -> PoolClaim: + """ + Claim a sandbox from a service pool. + + If ``request_id`` is not provided, one is generated once and reused + for every internal retry, so a retried claim never consumes a second + sandbox. Calling ``claim`` again with the same ``(pool_id, + request_id)`` replays the same claim. + + Args: + pool_id: ID of the service pool to claim from + request_id: Idempotency key for the claim. If not provided (None + or empty), a random one is generated. Reuse the same value to + replay a claim. + wait_ready: Wait for the claimed service to become ready + (default: True). Warm claims confirm on the first poll; + cold claims poll until ready or ``timeout`` expires. + api_token: Koyeb API token (if None, will try to get from KOYEB_API_TOKEN env var) + host: Koyeb API host URL. If not provided, will try to get from KOYEB_API_HOST env var (defaults to https://app.koyeb.com) + timeout: Maximum time to wait for the claimed service to become + ready when wait_ready is True (default: 300 seconds — a + cold-path claim provisions a service on demand, so budget + like Sandbox.create) + poll_interval: Maximum time between status polls in seconds when + wait_ready is True (default: 0.5) + + Returns: + PoolClaim: The fulfilled claim. ``claim_id``, ``service_id`` and + ``prewarmed`` are always set. + + Raises: + ValueError: If pool_id is not provided, poll_interval is not + greater than 0, or no API token is configured + SandboxClaimError: If the claim fails, or the claimed service + reaches a terminal state while waiting + SandboxTimeoutError: If wait_ready is True and the claimed service + does not become ready within timeout + + Example: + >>> claim = PoolClaim.claim(pool_id="my-pool-id") + >>> claim.service_id, claim.prewarmed + ('fd9422ce-...', True) + >>> # Replay the same claim (e.g. after a crash): same pair, same sandbox + >>> claim = PoolClaim.claim(pool_id="my-pool-id", request_id=claim.request_id) + """ + if not pool_id: + raise ValueError("pool_id is required") + if poll_interval <= 0: + raise ValueError("poll_interval must be greater than 0") + if not request_id: + request_id = _new_request_id() + + clients = get_api_clients(api_token, host) + body = PoolClaimRequest(pool_id=pool_id, request_id=request_id) + + reply = None + last_error: Optional[BaseException] = None + for attempt in range(_CLAIM_MAX_ATTEMPTS): + try: + reply = clients.pool_claims.claim( + body=body, _request_timeout=DEFAULT_HTTP_TIMEOUT + ) + break + except ApiException as e: + last_error = e + if e.status not in _RETRYABLE_STATUSES: + raise _claim_failed_error(pool_id, request_id, e) from e + except urllib3.exceptions.HTTPError as e: + # Transport-level failure (connection error, timeout, DNS): + # replay the same request, the API deduplicates on request_id. + last_error = e + if attempt < _CLAIM_MAX_ATTEMPTS - 1: + delay = min( + _CLAIM_RETRY_BASE_DELAY * (2**attempt), _CLAIM_RETRY_MAX_DELAY + ) + time.sleep(delay) + + if reply is None: + raise _claim_exhausted_error( + pool_id, request_id, _CLAIM_MAX_ATTEMPTS, last_error + ) from last_error + + if not reply.claim_id: + raise _claim_missing_field_error(pool_id, request_id, "claim_id") + service_id = reply.service_id + if not service_id: + raise _claim_missing_field_error(pool_id, request_id, "service_id") + + claim = cls( + pool_id=pool_id, + claim_id=reply.claim_id, + service_id=service_id, + request_id=request_id, + prewarmed=bool(reply.prewarmed), + api_token=api_token, + host=host, + poll_interval=poll_interval, + ) + + if wait_ready: + if not claim.wait_ready(timeout=timeout): + raise _wait_timeout_error(service_id, pool_id, request_id, timeout) + return claim + + @classmethod + def get_claim( + cls, + claim_id: str, + api_token: Optional[str] = None, + host: Optional[str] = None, + ) -> ClaimResource: + """ + Fetch a claim's current state by id. + + Args: + claim_id: ID of the claim to fetch + api_token: Koyeb API token (if None, will try to get from KOYEB_API_TOKEN env var) + host: Koyeb API host URL. If not provided, will try to get from KOYEB_API_HOST env var (defaults to https://app.koyeb.com) + + Returns: + The claim resource: ``id``, ``pool_id``, ``service_id``, + ``request_id``, ``status`` (PENDING, FULFILLED, FAILED or + RELEASED) and timestamps. + + Raises: + ValueError: If claim_id is not provided or no API token is + configured + SandboxClaimError: If the reply carries no claim resource + """ + if not claim_id: + raise ValueError("claim_id is required") + clients = get_api_clients(api_token, host) + reply = clients.pool_claims.get_claim( + claim_id=claim_id, + _request_timeout=DEFAULT_HTTP_TIMEOUT, + ) + if reply.claim is None: + raise SandboxClaimError(f"Get claim '{claim_id}' returned no claim") + return reply.claim + + def wait_ready( + self, + timeout: int = DEFAULT_INSTANCE_WAIT_TIMEOUT, + poll_interval: Optional[float] = None, + cancel: Optional[threading.Event] = None, + ) -> bool: + """ + Wait for the claimed service to become ready. + + Cold-path polling helper: polls Get Service with exponential backoff + until the service is ready (HEALTHY or DEGRADED), reaches a terminal + state (UNHEALTHY, DELETING, DELETED, PAUSING, PAUSED, or an unknown + value — fail-closed) or the timeout expires. Warm claims are usually + confirmed on the first poll. Transient Get Service errors, including + 404, keep polling until the timeout. A set ``cancel`` event stops + waiting early. + + Args: + timeout: Maximum time to wait in seconds (default: 60, the + instance-wait budget; claim() passes its own 300s cold-path + budget) + poll_interval: Maximum time between status polls in seconds + (defaults to this claim's poll_interval) + cancel: Event that stops waiting when set; an already-set event + returns False immediately without polling + + Returns: + bool: True if the service became ready, False if timeout or + cancelled + + Raises: + ValueError: If poll_interval is not greater than 0 + SandboxClaimError: If the service reaches a terminal state, + including a status the SDK cannot classify + """ + if poll_interval is None: + poll_interval = self.poll_interval + if poll_interval <= 0: + raise ValueError("poll_interval must be greater than 0") + start_time = time.time() + current_interval = _WAIT_BACKOFF_START + + while time.time() - start_time < timeout: + if cancel is not None and cancel.is_set(): + return False + status = self._service_status() + if status is not None: + kind = _classify_service_status(status) + if kind == "ready": + return True + if kind == "terminal": + raise SandboxClaimError( + f"Claimed service '{self.service_id}' reached terminal " + f"status {status.value}. The sandbox will not become ready.", + request_id=self.request_id, + ) + time.sleep(current_interval) + current_interval = min(current_interval * 2, poll_interval) + + return False + + def _service_status(self) -> Optional[ServiceStatus]: + """Fetch the claimed service's status via Get Service. + + Errors — including 404 — are treated as transient: None is returned so + polling can continue until the timeout. An unknown Service.Status + fails deserialization before reaching the classifier and fails closed. + """ + try: + clients = get_api_clients(self.api_token, self.host) + response = clients.services.get_service( + self.service_id, _request_timeout=DEFAULT_HTTP_TIMEOUT + ) + service = response.service + return service.status if service else None + except ValidationError as e: + if _is_status_field_error(e): + raise SandboxClaimError( + f"Claimed service '{self.service_id}' returned an unknown " + f"service status (fail-closed): {e}", + request_id=self.request_id, + ) from e + logger.debug(f"Could not get service {self.service_id}: {e}") + return None + except Exception as e: + logger.debug(f"Could not get service {self.service_id}: {e}") + return None + + +class AsyncPoolClaim(PoolClaim): + """ + Asynchronous claim on a sandbox from a Koyeb service pool. + + Mirrors :class:`PoolClaim` with awaitable ``claim`` and ``wait_ready``. + """ + + @classmethod + async def claim( + cls, + pool_id: str, + request_id: Optional[str] = None, + wait_ready: bool = True, + api_token: Optional[str] = None, + host: Optional[str] = None, + timeout: int = _CLAIM_WAIT_TIMEOUT, + poll_interval: float = DEFAULT_POLL_INTERVAL, + ) -> AsyncPoolClaim: + """ + Claim a sandbox from a service pool asynchronously. + + If ``request_id`` is not provided, one is generated once and reused + for every internal retry, so a retried claim never consumes a second + sandbox. Calling ``claim`` again with the same ``(pool_id, + request_id)`` replays the same claim. + + Args: + pool_id: ID of the service pool to claim from + request_id: Idempotency key for the claim. If not provided (None + or empty), a random one is generated. Reuse the same value to + replay a claim. + wait_ready: Wait for the claimed service to become ready + (default: True). Warm claims confirm on the first poll; + cold claims poll until ready or ``timeout`` expires. + api_token: Koyeb API token (if None, will try to get from KOYEB_API_TOKEN env var) + host: Koyeb API host URL. If not provided, will try to get from KOYEB_API_HOST env var (defaults to https://app.koyeb.com) + timeout: Maximum time to wait for the claimed service to become + ready when wait_ready is True (default: 300 seconds — a + cold-path claim provisions a service on demand, so budget + like Sandbox.create) + poll_interval: Maximum time between status polls in seconds when + wait_ready is True (default: 0.5) + + Returns: + AsyncPoolClaim: The fulfilled claim. ``claim_id``, ``service_id`` + and ``prewarmed`` are always set. + + Raises: + ValueError: If pool_id is not provided, poll_interval is not + greater than 0, or no API token is configured + SandboxClaimError: If the claim fails, or the claimed service + reaches a terminal state while waiting + SandboxTimeoutError: If wait_ready is True and the claimed service + does not become ready within timeout + + Example: + >>> claim = await AsyncPoolClaim.claim(pool_id="my-pool-id") + >>> claim.service_id, claim.prewarmed + ('fd9422ce-...', True) + """ + if not pool_id: + raise ValueError("pool_id is required") + if poll_interval <= 0: + raise ValueError("poll_interval must be greater than 0") + if not request_id: + request_id = _new_request_id() + + clients = get_async_api_clients(api_token, host) + body = AsyncPoolClaimRequest(pool_id=pool_id, request_id=request_id) + + reply = None + last_error: Optional[BaseException] = None + for attempt in range(_CLAIM_MAX_ATTEMPTS): + try: + reply = await clients.pool_claims.claim( + body=body, _request_timeout=DEFAULT_HTTP_TIMEOUT + ) + break + except AsyncApiException as e: + last_error = e + if e.status not in _RETRYABLE_STATUSES: + raise _claim_failed_error(pool_id, request_id, e) from e + except httpx.HTTPError as e: + # Transport-level failure (connection error, timeout, DNS): + # replay the same request, the API deduplicates on request_id. + last_error = e + if attempt < _CLAIM_MAX_ATTEMPTS - 1: + delay = min( + _CLAIM_RETRY_BASE_DELAY * (2**attempt), _CLAIM_RETRY_MAX_DELAY + ) + await asyncio.sleep(delay) + + if reply is None: + raise _claim_exhausted_error( + pool_id, request_id, _CLAIM_MAX_ATTEMPTS, last_error + ) from last_error + + if not reply.claim_id: + raise _claim_missing_field_error(pool_id, request_id, "claim_id") + service_id = reply.service_id + if not service_id: + raise _claim_missing_field_error(pool_id, request_id, "service_id") + + claim = cls( + pool_id=pool_id, + claim_id=reply.claim_id, + service_id=service_id, + request_id=request_id, + prewarmed=bool(reply.prewarmed), + api_token=api_token, + host=host, + poll_interval=poll_interval, + ) + + if wait_ready: + if not await claim.wait_ready(timeout=timeout): + raise _wait_timeout_error(service_id, pool_id, request_id, timeout) + return claim + + @classmethod + async def get_claim( + cls, + claim_id: str, + api_token: Optional[str] = None, + host: Optional[str] = None, + ) -> AsyncClaimResource: + """ + Fetch a claim's current state by id asynchronously. + + Args: + claim_id: ID of the claim to fetch + api_token: Koyeb API token (if None, will try to get from KOYEB_API_TOKEN env var) + host: Koyeb API host URL. If not provided, will try to get from KOYEB_API_HOST env var (defaults to https://app.koyeb.com) + + Returns: + The claim resource: ``id``, ``pool_id``, ``service_id``, + ``request_id``, ``status`` (PENDING, FULFILLED, FAILED or + RELEASED) and timestamps. + + Raises: + ValueError: If claim_id is not provided or no API token is + configured + SandboxClaimError: If the reply carries no claim resource + """ + if not claim_id: + raise ValueError("claim_id is required") + clients = get_async_api_clients(api_token, host) + reply = await clients.pool_claims.get_claim( + claim_id=claim_id, + _request_timeout=DEFAULT_HTTP_TIMEOUT, + ) + if reply.claim is None: + raise SandboxClaimError(f"Get claim '{claim_id}' returned no claim") + return reply.claim + + async def wait_ready( + self, + timeout: int = DEFAULT_INSTANCE_WAIT_TIMEOUT, + poll_interval: Optional[float] = None, + cancel: Optional[asyncio.Event] = None, + ) -> bool: + """ + Wait for the claimed service to become ready asynchronously. + + Cold-path polling helper: polls Get Service with exponential backoff + until the service is ready (HEALTHY or DEGRADED), reaches a terminal + state (UNHEALTHY, DELETING, DELETED, PAUSING, PAUSED, or an unknown + value — fail-closed) or the timeout expires. Warm claims are usually + confirmed on the first poll. Transient Get Service errors, including + 404, keep polling until the timeout. A set ``cancel`` event stops + waiting early, and cancelling the asyncio task stops it as well. + + Args: + timeout: Maximum time to wait in seconds (default: 60, the + instance-wait budget; claim() passes its own 300s cold-path + budget) + poll_interval: Maximum time between status polls in seconds + (defaults to this claim's poll_interval) + cancel: Event that stops waiting when set; an already-set event + returns False immediately without polling + + Returns: + bool: True if the service became ready, False if timeout or + cancelled + + Raises: + ValueError: If poll_interval is not greater than 0 + SandboxClaimError: If the service reaches a terminal state, + including a status the SDK cannot classify + """ + if poll_interval is None: + poll_interval = self.poll_interval + if poll_interval <= 0: + raise ValueError("poll_interval must be greater than 0") + start_time = time.time() + current_interval = _WAIT_BACKOFF_START + + while time.time() - start_time < timeout: + if cancel is not None and cancel.is_set(): + return False + status = await self._service_status() + if status is not None: + kind = _classify_service_status(status) + if kind == "ready": + return True + if kind == "terminal": + raise SandboxClaimError( + f"Claimed service '{self.service_id}' reached terminal " + f"status {status.value}. The sandbox will not become ready.", + request_id=self.request_id, + ) + await asyncio.sleep(current_interval) + current_interval = min(current_interval * 2, poll_interval) + + return False + + async def _service_status(self) -> Optional[ServiceStatus]: + """Fetch the claimed service's status via Get Service. + + The async client's status enum is canonicalized to the sync one used + for the classification. Errors — including 404 — are treated as + transient: None is returned so polling can continue until the + timeout. An unknown Service.Status fails deserialization before + reaching the classifier and fails closed. + """ + try: + clients = get_async_api_clients(self.api_token, self.host) + response = await clients.services.get_service( + self.service_id, _request_timeout=DEFAULT_HTTP_TIMEOUT + ) + service = response.service + if service and service.status is not None: + return ServiceStatus(service.status.value) + return None + except ValidationError as e: + if _is_status_field_error(e): + raise SandboxClaimError( + f"Claimed service '{self.service_id}' returned an unknown " + f"service status (fail-closed): {e}", + request_id=self.request_id, + ) from e + logger.debug(f"Could not get service {self.service_id}: {e}") + return None + except Exception as e: + logger.debug(f"Could not get service {self.service_id}: {e}") + return None diff --git a/koyeb/sandbox/service_pool.py b/koyeb/sandbox/service_pool.py new file mode 100644 index 00000000..e1fc7aec --- /dev/null +++ b/koyeb/sandbox/service_pool.py @@ -0,0 +1,646 @@ +# coding: utf-8 + +""" +Koyeb Service Pool - manage pools of pre-provisioned sandboxes. + +A service pool keeps a target number of warm sandboxes ready so that claiming +hands out a pre-provisioned service instead of provisioning one on demand. + +This module wraps the generated ServicePools API with the same ergonomics as +the rest of the sandbox layer (``Sandbox``, ``PoolClaim``): plain classes, +sync + async twins, errors in ``utils.py``, and a per-instance ``api_token`` / +``host`` so follow-up calls (``refresh``, ``update``, ``delete``) reuse the +caller's credentials. +""" + +from __future__ import annotations + +from typing import Any, Dict, List, Optional, Type, TypeVar, Union + +from koyeb.api.exceptions import ApiException +from koyeb.api.models.create_service_pool import CreateServicePool +from koyeb.api.models.deployment_definition import DeploymentDefinition +from koyeb.api.models.update_service_pool import UpdateServicePool +from koyeb.api_async.exceptions import ApiException as AsyncApiException +from koyeb.api_async.models.create_service_pool import ( + CreateServicePool as AsyncCreateServicePool, +) +from koyeb.api_async.models.deployment_definition import ( + DeploymentDefinition as AsyncDeploymentDefinition, +) +from koyeb.api_async.models.update_service_pool import ( + UpdateServicePool as AsyncUpdateServicePool, +) + +from .utils import ( + DEFAULT_HTTP_TIMEOUT, + ServicePoolError, + get_api_clients, + get_async_api_clients, + logger, +) + +# Definition accepted as a generated model (sync or async flavor, which are +# structurally equivalent) or a dict that is upgraded to one. +DefinitionInput = Optional[ + Union[DeploymentDefinition, AsyncDeploymentDefinition, Dict[str, Any]] +] + +_PoolT = TypeVar("_PoolT", bound="ServicePool") + + +def _normalize_definition( + definition: DefinitionInput, + model_cls: type, +) -> Optional[Any]: + """Coerce a user-supplied definition into the generated model the call needs. + + A dict is upgraded to the model; an existing model is passed through + (the sync and async flavors are structurally equivalent); None stays None. + A malformed dict raises ``ServicePoolError`` rather than a raw pydantic + ``ValidationError``. + """ + if definition is None or isinstance(definition, dict): + try: + return model_cls(**definition) if definition else None + except Exception as e: + raise ServicePoolError(f"invalid deployment definition: {e}") from e + return definition + + +def _api_error_detail(e: Union[ApiException, AsyncApiException]) -> str: + """Human-readable detail from an ApiException: reason plus response body.""" + body = e.body + if isinstance(body, bytes): + body = body.decode("utf-8", errors="replace") + detail = e.reason or "" + if body: + detail = f"{detail}: {body}" if detail else str(body) + return detail + + +class ServicePool: + """A handle on a Koyeb service pool. + + Instances are cheap value objects bound to a pool id; the classmethods + ``create`` / ``get`` / ``list`` build them from API replies. Mutating + methods (``update``, ``delete``, ``refresh``) reuse the ``api_token`` and + ``host`` captured at construction. + """ + + def __init__( + self, + pool_id: str, + name: Optional[str] = None, + size: Optional[int] = None, + definition: DefinitionInput = None, + ready_count: Optional[int] = None, + status: Optional[str] = None, + api_token: Optional[str] = None, + host: Optional[str] = None, + ): + self.pool_id = pool_id + self.name = name + self.size = size + self.definition = definition + self.ready_count = ready_count + self.status = status + self.api_token = api_token + self.host = host + + def __repr__(self) -> str: + return ( + f"ServicePool(pool_id={self.pool_id!r}, name={self.name!r}, " + f"size={self.size}, ready_count={self.ready_count}, " + f"status={self.status!r})" + ) + + # -- construction helpers ------------------------------------------------- + + @classmethod + def _from_reply( + cls: Type[_PoolT], + reply: Any, + api_token: Optional[str], + host: Optional[str], + ) -> _PoolT: + pool = reply.service_pool + if pool is None or pool.id is None: + raise ServicePoolError("service pool reply had no service_pool.id") + return cls( + pool_id=pool.id, + name=pool.name, + size=pool.size, + definition=pool.definition, + ready_count=pool.ready_count, + status=pool.status.value if pool.status is not None else None, + api_token=api_token, + host=host, + ) + + def _apply(self, refreshed: "ServicePool") -> None: + """Copy mutable fields from a refreshed handle onto this one in place.""" + self.name = refreshed.name + self.size = refreshed.size + self.definition = refreshed.definition + self.ready_count = refreshed.ready_count + self.status = refreshed.status + + # -- CRUD ----------------------------------------------------------------- + + @classmethod + def create( + cls, + name: str, + size: int, + definition: DefinitionInput = None, + *, + api_token: Optional[str] = None, + host: Optional[str] = None, + ) -> "ServicePool": + """ + Create a service pool. + + Args: + name: Human-readable name of the pool (unique per workspace). + size: Target number of warm sandboxes to keep ready (>= 0). + definition: Deployment definition describing the sandbox image + the pool pre-provisions. A dict is accepted and upgraded to + the generated ``DeploymentDefinition`` model. + api_token: Koyeb API token (if None, reads KOYEB_API_TOKEN). + host: Koyeb API host (if None, reads KOYEB_API_HOST; defaults to + https://app.koyeb.com). + + Returns: + ServicePool: The created pool. + + Raises: + ValueError: If name or size is not provided, or size is negative. + ServicePoolError: If the API rejects the request. + + Example: + >>> pool = ServicePool.create("my-pool", 3, + ... definition={"docker": {"image": "koyeb/sandbox"}}) + >>> pool.pool_id, pool.size + ('fd9422ce-...', 3) + """ + if not name: + raise ValueError("name is required") + if size is None: + raise ValueError("size is required") + if size < 0: + raise ValueError("size must not be negative") + + clients = get_api_clients(api_token, host) + body = CreateServicePool( + name=name, + size=size, + definition=_normalize_definition(definition, DeploymentDefinition), + ) + try: + reply = clients.service_pools.create_service_pool( + service_pool=body, _request_timeout=DEFAULT_HTTP_TIMEOUT + ) + except ApiException as e: + raise ServicePoolError( + f"Failed to create service pool '{name}': {_api_error_detail(e)}" + ) from e + return cls._from_reply(reply, api_token, host) + + @classmethod + def get( + cls, + pool_id: str, + *, + api_token: Optional[str] = None, + host: Optional[str] = None, + ) -> "ServicePool": + """Fetch a single service pool by id. + + Args: + pool_id: ID of the service pool to fetch. + api_token: Koyeb API token (if None, reads KOYEB_API_TOKEN). + host: Koyeb API host (if None, reads KOYEB_API_HOST; defaults to + https://app.koyeb.com). + + Returns: + ServicePool: The fetched pool. + + Raises: + ValueError: If pool_id is not provided. + ServicePoolError: If the API rejects the request. + """ + if not pool_id: + raise ValueError("pool_id is required") + clients = get_api_clients(api_token, host) + try: + reply = clients.service_pools.get_service_pool( + pool_id, _request_timeout=DEFAULT_HTTP_TIMEOUT + ) + except ApiException as e: + raise ServicePoolError( + f"Failed to get service pool '{pool_id}': {_api_error_detail(e)}" + ) from e + return cls._from_reply(reply, api_token, host) + + @classmethod + def list( + cls, + *, + name: Optional[str] = None, + limit: Optional[int] = None, + offset: Optional[int] = None, + api_token: Optional[str] = None, + host: Optional[str] = None, + ) -> List["ServicePool"]: + """List service pools visible to the caller (one paginated call). + + Args: + name: Filter pools by name (case-sensitive, server-side). + limit: Maximum number of pools to return. + offset: Pagination offset. + api_token: Koyeb API token (if None, reads KOYEB_API_TOKEN). + host: Koyeb API host (if None, reads KOYEB_API_HOST; defaults to + https://app.koyeb.com). + + Returns: + List[ServicePool]: Pools visible to the caller. Entries without + an id are dropped. + + Raises: + ServicePoolError: If the API rejects the request. + """ + clients = get_api_clients(api_token, host) + kwargs: Dict[str, Any] = {"_request_timeout": DEFAULT_HTTP_TIMEOUT} + if name is not None: + kwargs["name"] = name + if limit is not None: + kwargs["limit"] = str(limit) + if offset is not None: + kwargs["offset"] = str(offset) + try: + reply = clients.service_pools.list_service_pools(**kwargs) + except ApiException as e: + raise ServicePoolError( + f"Failed to list service pools: {_api_error_detail(e)}" + ) from e + pools = reply.service_pools or [] + if any(p.id is None for p in pools): + logger.debug( + "dropping %d service pool(s) with no id", + sum(1 for p in pools if p.id is None), + ) + return [ + cls( + pool_id=p.id, + name=p.name, + size=p.size, + definition=p.definition, + ready_count=p.ready_count, + status=p.status.value if p.status is not None else None, + api_token=api_token, + host=host, + ) + for p in pools + if p.id is not None + ] + + def update( + self, + *, + definition: DefinitionInput, + size: Optional[int] = None, + ) -> "ServicePool": + """ + Replace this service pool's configuration (full PUT-replace). + + The server does not support field masks: every update replaces the + pool's ``definition`` and, when given, ``size``. ``definition`` is + required by the API; ``size`` defaults to the server's current value + when omitted. + + Args: + definition: New deployment definition (dict accepted). Required. + size: New target number of warm sandboxes (optional, >= 0). + + Returns: + ServicePool: self, refreshed from the reply. + + Raises: + ValueError: If definition is not provided or size is negative. + ServicePoolError: If the API rejects the request. + """ + if definition is None: + raise ValueError("definition is required") + if size is not None and size < 0: + raise ValueError("size must not be negative") + clients = get_api_clients(self.api_token, self.host) + body = UpdateServicePool( + size=size, + definition=_normalize_definition(definition, DeploymentDefinition), + ) + try: + reply = clients.service_pools.update_service_pool( + self.pool_id, + service_pool=body, + _request_timeout=DEFAULT_HTTP_TIMEOUT, + ) + except ApiException as e: + raise ServicePoolError( + f"Failed to update service pool '{self.pool_id}': " + f"{_api_error_detail(e)}" + ) from e + self._apply(self.__class__._from_reply(reply, self.api_token, self.host)) + return self + + def delete(self) -> None: + """Delete this service pool. + + The pool is fenced server-side until outstanding claims drain; the + handle is stale after this. + + Raises: + ServicePoolError: If the API rejects the request. + """ + clients = get_api_clients(self.api_token, self.host) + try: + clients.service_pools.delete_service_pool( + self.pool_id, _request_timeout=DEFAULT_HTTP_TIMEOUT + ) + except ApiException as e: + raise ServicePoolError( + f"Failed to delete service pool '{self.pool_id}': " + f"{_api_error_detail(e)}" + ) from e + + def refresh(self) -> "ServicePool": + """Re-fetch this pool from the API and update the handle in place. + + Returns: + ServicePool: self, refreshed. + + Raises: + ServicePoolError: If the API rejects the request. + """ + clients = get_api_clients(self.api_token, self.host) + try: + reply = clients.service_pools.get_service_pool( + self.pool_id, _request_timeout=DEFAULT_HTTP_TIMEOUT + ) + except ApiException as e: + raise ServicePoolError( + f"Failed to refresh service pool '{self.pool_id}': " + f"{_api_error_detail(e)}" + ) from e + self._apply(self.__class__._from_reply(reply, self.api_token, self.host)) + return self + + +class AsyncServicePool(ServicePool): + """ + Asynchronous handle on a Koyeb service pool. + + Mirrors :class:`ServicePool` with awaitable CRUD methods. + """ + + @classmethod + async def create( + cls, + name: str, + size: int, + definition: DefinitionInput = None, + *, + api_token: Optional[str] = None, + host: Optional[str] = None, + ) -> "AsyncServicePool": + """ + Create a service pool asynchronously. + + Args: + name: Human-readable name of the pool (unique per workspace). + size: Target number of warm sandboxes to keep ready (>= 0). + definition: Deployment definition describing the sandbox image + the pool pre-provisions. A dict is accepted and upgraded to + the generated ``DeploymentDefinition`` model. + api_token: Koyeb API token (if None, reads KOYEB_API_TOKEN). + host: Koyeb API host (if None, reads KOYEB_API_HOST; defaults to + https://app.koyeb.com). + + Returns: + AsyncServicePool: The created pool. + + Raises: + ValueError: If name or size is not provided, or size is negative. + ServicePoolError: If the API rejects the request. + """ + if not name: + raise ValueError("name is required") + if size is None: + raise ValueError("size is required") + if size < 0: + raise ValueError("size must not be negative") + clients = get_async_api_clients(api_token, host) + body = AsyncCreateServicePool( + name=name, + size=size, + definition=_normalize_definition(definition, AsyncDeploymentDefinition), + ) + try: + reply = await clients.service_pools.create_service_pool( + service_pool=body, _request_timeout=DEFAULT_HTTP_TIMEOUT + ) + except AsyncApiException as e: + raise ServicePoolError( + f"Failed to create service pool '{name}': {_api_error_detail(e)}" + ) from e + return cls._from_reply(reply, api_token, host) + + @classmethod + async def get( + cls, + pool_id: str, + *, + api_token: Optional[str] = None, + host: Optional[str] = None, + ) -> "AsyncServicePool": + """ + Fetch a single service pool by id asynchronously. + + Args: + pool_id: ID of the service pool to fetch. + api_token: Koyeb API token (if None, reads KOYEB_API_TOKEN). + host: Koyeb API host (if None, reads KOYEB_API_HOST; defaults to + https://app.koyeb.com). + + Returns: + AsyncServicePool: The fetched pool. + + Raises: + ValueError: If pool_id is not provided. + ServicePoolError: If the API rejects the request. + """ + if not pool_id: + raise ValueError("pool_id is required") + clients = get_async_api_clients(api_token, host) + try: + reply = await clients.service_pools.get_service_pool( + pool_id, _request_timeout=DEFAULT_HTTP_TIMEOUT + ) + except AsyncApiException as e: + raise ServicePoolError( + f"Failed to get service pool '{pool_id}': {_api_error_detail(e)}" + ) from e + return cls._from_reply(reply, api_token, host) + + @classmethod + async def list( + cls, + *, + name: Optional[str] = None, + limit: Optional[int] = None, + offset: Optional[int] = None, + api_token: Optional[str] = None, + host: Optional[str] = None, + ) -> List["AsyncServicePool"]: + """ + List service pools visible to the caller asynchronously. + + Args: + name: Filter pools by name (case-sensitive, server-side). + limit: Maximum number of pools to return. + offset: Pagination offset. + api_token: Koyeb API token (if None, reads KOYEB_API_TOKEN). + host: Koyeb API host (if None, reads KOYEB_API_HOST; defaults to + https://app.koyeb.com). + + Returns: + List[AsyncServicePool]: Pools visible to the caller. Entries + without an id are dropped. + + Raises: + ServicePoolError: If the API rejects the request. + """ + clients = get_async_api_clients(api_token, host) + kwargs: Dict[str, Any] = {"_request_timeout": DEFAULT_HTTP_TIMEOUT} + if name is not None: + kwargs["name"] = name + if limit is not None: + kwargs["limit"] = str(limit) + if offset is not None: + kwargs["offset"] = str(offset) + try: + reply = await clients.service_pools.list_service_pools(**kwargs) + except AsyncApiException as e: + raise ServicePoolError( + f"Failed to list service pools: {_api_error_detail(e)}" + ) from e + pools = reply.service_pools or [] + if any(p.id is None for p in pools): + logger.debug( + "dropping %d service pool(s) with no id", + sum(1 for p in pools if p.id is None), + ) + return [ + cls( + pool_id=p.id, + name=p.name, + size=p.size, + definition=p.definition, + ready_count=p.ready_count, + status=p.status.value if p.status is not None else None, + api_token=api_token, + host=host, + ) + for p in pools + if p.id is not None + ] + + async def update( + self, + *, + definition: DefinitionInput, + size: Optional[int] = None, + ) -> "AsyncServicePool": + """ + Replace this service pool's configuration asynchronously (full PUT-replace). + + The server does not support field masks: every update replaces the + pool's ``definition`` and, when given, ``size``. ``definition`` is + required by the API; ``size`` defaults to the server's current value + when omitted. + + Args: + definition: New deployment definition (dict accepted). Required. + size: New target number of warm sandboxes (optional, >= 0). + + Returns: + AsyncServicePool: self, refreshed from the reply. + + Raises: + ValueError: If definition is not provided or size is negative. + ServicePoolError: If the API rejects the request. + """ + if definition is None: + raise ValueError("definition is required") + if size is not None and size < 0: + raise ValueError("size must not be negative") + clients = get_async_api_clients(self.api_token, self.host) + body = AsyncUpdateServicePool( + size=size, + definition=_normalize_definition(definition, AsyncDeploymentDefinition), + ) + try: + reply = await clients.service_pools.update_service_pool( + self.pool_id, + service_pool=body, + _request_timeout=DEFAULT_HTTP_TIMEOUT, + ) + except AsyncApiException as e: + raise ServicePoolError( + f"Failed to update service pool '{self.pool_id}': " + f"{_api_error_detail(e)}" + ) from e + self._apply(self.__class__._from_reply(reply, self.api_token, self.host)) + return self + + async def delete(self) -> None: + """Delete this service pool asynchronously. + + The pool is fenced server-side until outstanding claims drain; the + handle is stale after this. + + Raises: + ServicePoolError: If the API rejects the request. + """ + clients = get_async_api_clients(self.api_token, self.host) + try: + await clients.service_pools.delete_service_pool( + self.pool_id, _request_timeout=DEFAULT_HTTP_TIMEOUT + ) + except AsyncApiException as e: + raise ServicePoolError( + f"Failed to delete service pool '{self.pool_id}': " + f"{_api_error_detail(e)}" + ) from e + + async def refresh(self) -> "AsyncServicePool": + """Re-fetch this pool from the API and update the handle in place. + + Returns: + AsyncServicePool: self, refreshed. + + Raises: + ServicePoolError: If the API rejects the request. + """ + clients = get_async_api_clients(self.api_token, self.host) + try: + reply = await clients.service_pools.get_service_pool( + self.pool_id, _request_timeout=DEFAULT_HTTP_TIMEOUT + ) + except AsyncApiException as e: + raise ServicePoolError( + f"Failed to refresh service pool '{self.pool_id}': " + f"{_api_error_detail(e)}" + ) from e + self._apply(self.__class__._from_reply(reply, self.api_token, self.host)) + return self diff --git a/koyeb/sandbox/test_pool_claim.py b/koyeb/sandbox/test_pool_claim.py new file mode 100644 index 00000000..b9999233 --- /dev/null +++ b/koyeb/sandbox/test_pool_claim.py @@ -0,0 +1,1060 @@ +import asyncio +import os +import threading +import unittest +from enum import Enum +from unittest.mock import AsyncMock, MagicMock, patch + +import httpx +import urllib3 + +from koyeb.api.exceptions import ApiException, NotFoundException +from koyeb.api_async.exceptions import ApiException as AsyncApiException +from koyeb.api_async.exceptions import NotFoundException as AsyncNotFoundException +from koyeb.api_async.models.get_pool_claim_reply import ( + GetPoolClaimReply as AsyncGetPoolClaimReply, +) +from koyeb.api_async.models.get_service_reply import ( + GetServiceReply as AsyncGetServiceReply, +) +from koyeb.api_async.models.pool_claim import PoolClaim as AsyncPoolClaimResource +from koyeb.api_async.models.pool_claim_reply import ( + PoolClaimReply as AsyncPoolClaimReply, +) +from koyeb.api_async.models.pool_claim_status import ( + PoolClaimStatus as AsyncPoolClaimStatus, +) +from koyeb.api_async.models.service import Service as AsyncService +from koyeb.api_async.models.service_status import ( + ServiceStatus as AsyncServiceStatus, +) +from koyeb.api.models.get_pool_claim_reply import GetPoolClaimReply +from koyeb.api.models.get_service_reply import GetServiceReply +from koyeb.api.models.pool_claim import PoolClaim as PoolClaimResource +from koyeb.api.models.pool_claim_reply import PoolClaimReply +from koyeb.api.models.pool_claim_status import PoolClaimStatus +from koyeb.api.models.service import Service +from koyeb.api.models.service_status import ServiceStatus +from koyeb.sandbox.pool import ( + AsyncPoolClaim, + PoolClaim, + _classify_service_status, +) +from koyeb.sandbox.utils import ( + DEFAULT_HTTP_TIMEOUT, + SandboxClaimError, + SandboxTimeoutError, +) +from pydantic import ValidationError + +POOL_ID = "pool-1" +SERVICE_ID = "svc-1" + + +def _claim_reply(prewarmed: bool = True) -> PoolClaimReply: + return PoolClaimReply(claim_id="cl-1", service_id=SERVICE_ID, prewarmed=prewarmed) + + +def _async_claim_reply(prewarmed: bool = True) -> AsyncPoolClaimReply: + return AsyncPoolClaimReply( + claim_id="cl-1", service_id=SERVICE_ID, prewarmed=prewarmed + ) + + +def _claim_resource() -> PoolClaimResource: + return PoolClaimResource( + id="cl-1", + pool_id=POOL_ID, + service_id=SERVICE_ID, + request_id="req-1", + status=PoolClaimStatus.FULFILLED, + ) + + +def _async_claim_resource() -> AsyncPoolClaimResource: + return AsyncPoolClaimResource( + id="cl-1", + pool_id=POOL_ID, + service_id=SERVICE_ID, + request_id="req-1", + status=AsyncPoolClaimStatus.FULFILLED, + ) + + +def _async_service_reply(status) -> AsyncGetServiceReply: + return AsyncGetServiceReply(service=AsyncService(id=SERVICE_ID, status=status)) + + +def _service_reply(status: ServiceStatus) -> GetServiceReply: + return GetServiceReply(service=Service(id=SERVICE_ID, status=status)) + + +def _sync_clients(claim_mock): + clients = MagicMock() + clients.pool_claims.claim = claim_mock + return clients + + +def _async_clients(claim_mock): + clients = MagicMock() + + async def claim(**kwargs): + return await claim_mock(**kwargs) + + clients.pool_claims.claim = claim + return clients + + +class TestPoolClaim(unittest.TestCase): + """PoolClaim.claim: request_id handling, retries, and result mapping.""" + + def test_claim_passes_explicit_request_id(self): + claim_mock = MagicMock(return_value=_claim_reply()) + with patch( + "koyeb.sandbox.pool.get_api_clients", return_value=_sync_clients(claim_mock) + ): + claim = PoolClaim.claim(POOL_ID, request_id="req-42", wait_ready=False) + body = claim_mock.call_args.kwargs["body"] + self.assertEqual(body.pool_id, POOL_ID) + self.assertEqual(body.request_id, "req-42") + self.assertEqual(claim.request_id, "req-42") + self.assertEqual(claim.claim_id, "cl-1") + self.assertEqual(claim.service_id, SERVICE_ID) + self.assertTrue(claim.prewarmed) + + def test_claim_generates_request_id_once(self): + claim_mock = MagicMock(return_value=_claim_reply()) + with patch( + "koyeb.sandbox.pool.get_api_clients", return_value=_sync_clients(claim_mock) + ): + claim = PoolClaim.claim(POOL_ID, wait_ready=False) + self.assertTrue(claim.request_id) + self.assertEqual( + claim_mock.call_args.kwargs["body"].request_id, claim.request_id + ) + + def test_claim_preserves_request_id_across_retries(self): + replies = [ + ApiException(status=503, reason="Service Unavailable"), + ApiException(status=502, reason="Bad Gateway"), + _claim_reply(), + ] + bodies = [] + + def claim_mock(**kwargs): + bodies.append(kwargs["body"]) + reply = replies.pop(0) + if isinstance(reply, Exception): + raise reply + return reply + + with ( + patch( + "koyeb.sandbox.pool.get_api_clients", + return_value=_sync_clients(claim_mock), + ), + patch("time.sleep"), + ): + claim = PoolClaim.claim(POOL_ID, wait_ready=False) + self.assertEqual(claim.service_id, SERVICE_ID) + self.assertEqual(len(replies), 0) # third attempt succeeded + # The same request_id was replayed on every attempt + self.assertEqual(len(bodies), 3) + self.assertEqual( + {(b.pool_id, b.request_id) for b in bodies}, {(POOL_ID, claim.request_id)} + ) + + def test_claim_retries_transport_errors(self): + attempts = [ + urllib3.exceptions.MaxRetryError(None, "/v1/claim"), # type: ignore[arg-type] + _claim_reply(), + ] + + def claim_mock(**kwargs): + reply = attempts.pop(0) + if isinstance(reply, Exception): + raise reply + return reply + + with ( + patch( + "koyeb.sandbox.pool.get_api_clients", + return_value=_sync_clients(claim_mock), + ), + patch("time.sleep"), + ): + claim = PoolClaim.claim(POOL_ID, request_id="req-x", wait_ready=False) + self.assertEqual(claim.service_id, SERVICE_ID) + + def test_claim_does_not_retry_client_errors(self): + claim_mock = MagicMock( + side_effect=ApiException(status=404, reason="pool not found") + ) + with ( + patch( + "koyeb.sandbox.pool.get_api_clients", + return_value=_sync_clients(claim_mock), + ), + patch("time.sleep"), + ): + with self.assertRaises(SandboxClaimError): + PoolClaim.claim(POOL_ID, wait_ready=False) + self.assertEqual(claim_mock.call_count, 1) + + def test_claim_raises_when_exhausted(self): + claim_mock = MagicMock( + side_effect=ApiException(status=503, reason="Service Unavailable") + ) + with ( + patch( + "koyeb.sandbox.pool.get_api_clients", + return_value=_sync_clients(claim_mock), + ), + patch("time.sleep"), + ): + with self.assertRaises(SandboxClaimError): + PoolClaim.claim(POOL_ID, wait_ready=False) + self.assertEqual(claim_mock.call_count, 3) # _CLAIM_MAX_ATTEMPTS + + def test_claim_error_detail_includes_response_body(self): + # A non-retryable failure surfaces reason plus the decoded response + # body in the error detail. + claim_mock = MagicMock( + side_effect=ApiException( + status=400, + reason="bad request", + body=b'{"message": "pool drained"}', + ) + ) + with patch( + "koyeb.sandbox.pool.get_api_clients", return_value=_sync_clients(claim_mock) + ): + with self.assertRaises(SandboxClaimError) as ctx: + PoolClaim.claim(POOL_ID, wait_ready=False) + self.assertEqual(claim_mock.call_count, 1) + self.assertIn("bad request", str(ctx.exception)) + self.assertIn("pool drained", str(ctx.exception)) + + def test_claim_raises_when_service_id_missing(self): + claim_mock = MagicMock( + return_value=PoolClaimReply(claim_id="cl-1", prewarmed=True) + ) + with patch( + "koyeb.sandbox.pool.get_api_clients", return_value=_sync_clients(claim_mock) + ): + with self.assertRaises(SandboxClaimError): + PoolClaim.claim(POOL_ID, wait_ready=False) + + def test_claim_raises_when_claim_id_missing(self): + claim_mock = MagicMock( + return_value=PoolClaimReply(service_id=SERVICE_ID, prewarmed=True) + ) + with patch( + "koyeb.sandbox.pool.get_api_clients", return_value=_sync_clients(claim_mock) + ): + with self.assertRaises(SandboxClaimError): + PoolClaim.claim(POOL_ID, wait_ready=False) + + def test_claim_retries_rate_limited_requests(self): + replies = [ + ApiException(status=429, reason="Too Many Requests"), + _claim_reply(), + ] + + def claim_mock(**kwargs): + reply = replies.pop(0) + if isinstance(reply, Exception): + raise reply + return reply + + with ( + patch( + "koyeb.sandbox.pool.get_api_clients", + return_value=_sync_clients(claim_mock), + ), + patch("time.sleep"), + ): + claim = PoolClaim.claim(POOL_ID, wait_ready=False) + self.assertEqual(claim.service_id, SERVICE_ID) + + def test_claim_exhausted_surfaces_last_error(self): + claim_mock = MagicMock( + side_effect=[ + ApiException(status=503, reason="first"), + ApiException(status=503, reason="second"), + ApiException(status=503, reason="third"), + ] + ) + with ( + patch( + "koyeb.sandbox.pool.get_api_clients", + return_value=_sync_clients(claim_mock), + ), + patch("time.sleep"), + ): + with self.assertRaises(SandboxClaimError) as ctx: + PoolClaim.claim(POOL_ID, wait_ready=False) + self.assertEqual(claim_mock.call_count, 3) + self.assertIn("third", str(ctx.exception)) + self.assertEqual(ctx.exception.__cause__.reason, "third") # type: ignore[union-attr] + + def test_claim_requires_api_token(self): + with patch.dict(os.environ): + os.environ.pop("KOYEB_API_TOKEN", None) + with self.assertRaises(ValueError): + PoolClaim.claim(POOL_ID, wait_ready=False) + + def test_claim_requires_pool_id(self): + with self.assertRaises(ValueError): + PoolClaim.claim("") + + def test_claim_cold_path_waits_until_ready(self): + # Full wiring: claim(wait_ready=True) polls the claimed service and + # returns once it becomes ready — no internals mocked. + claim_mock = MagicMock(return_value=_claim_reply(prewarmed=False)) + get_service = MagicMock( + side_effect=[ + _service_reply(ServiceStatus.STARTING), + _service_reply(ServiceStatus.HEALTHY), + ] + ) + clients = MagicMock() + clients.pool_claims.claim = claim_mock + clients.services.get_service = get_service + with patch("koyeb.sandbox.pool.get_api_clients", return_value=clients): + claim = PoolClaim.claim( + POOL_ID, wait_ready=True, timeout=10, poll_interval=0.01 + ) + self.assertEqual(claim.service_id, SERVICE_ID) + self.assertFalse(claim.prewarmed) + + def test_claim_error_carries_request_id(self): + # A failed claim must expose its request_id so the caller can replay + # the same (pool_id, request_id) instead of claiming twice. + claim_mock = MagicMock( + side_effect=ApiException(status=404, reason="pool not found") + ) + with ( + patch( + "koyeb.sandbox.pool.get_api_clients", + return_value=_sync_clients(claim_mock), + ), + patch("time.sleep"), + ): + with self.assertRaises(SandboxClaimError) as ctx: + PoolClaim.claim(POOL_ID, request_id="req-z", wait_ready=False) + self.assertEqual(ctx.exception.request_id, "req-z") + self.assertIn("req-z", str(ctx.exception)) + + def test_claim_prewarmed_missing_defaults_false(self): + claim_mock = MagicMock( + return_value=PoolClaimReply(claim_id="cl-1", service_id=SERVICE_ID) + ) + with patch( + "koyeb.sandbox.pool.get_api_clients", return_value=_sync_clients(claim_mock) + ): + claim = PoolClaim.claim(POOL_ID, wait_ready=False) + self.assertFalse(claim.prewarmed) + + def test_claim_rejects_invalid_poll_interval(self): + for bad in (0, -1): + with self.assertRaises(ValueError): + PoolClaim.claim(POOL_ID, poll_interval=bad, wait_ready=False) + + def test_repr_includes_identity_fields(self): + claim_mock = MagicMock(return_value=_claim_reply()) + with patch( + "koyeb.sandbox.pool.get_api_clients", return_value=_sync_clients(claim_mock) + ): + claim = PoolClaim.claim(POOL_ID, wait_ready=False) + self.assertIn("claim_id='cl-1'", repr(claim)) + self.assertIn(f"service_id='{SERVICE_ID}'", repr(claim)) + self.assertIn("prewarmed=True", repr(claim)) + + def test_claim_wait_ready_false_does_not_poll(self): + claim_mock = MagicMock(return_value=_claim_reply()) + clients = MagicMock() + clients.pool_claims.claim = claim_mock + with patch("koyeb.sandbox.pool.get_api_clients", return_value=clients): + claim = PoolClaim.claim(POOL_ID, wait_ready=False) + self.assertEqual(claim.service_id, SERVICE_ID) + clients.services.get_service.assert_not_called() + + def test_claim_wait_ready_timeout(self): + # The timeout argument governs the real poll loop: a never-ready + # service fails the claim with SandboxTimeoutError. + claim_mock = MagicMock(return_value=_claim_reply(prewarmed=False)) + get_service = MagicMock(return_value=_service_reply(ServiceStatus.STARTING)) + clients = MagicMock() + clients.pool_claims.claim = claim_mock + clients.services.get_service = get_service + with patch("koyeb.sandbox.pool.get_api_clients", return_value=clients): + with self.assertRaises(SandboxTimeoutError): + PoolClaim.claim(POOL_ID, wait_ready=True, timeout=1, poll_interval=0.01) + + +class TestPoolClaimGetClaim(unittest.TestCase): + """PoolClaim.get_claim: fetch a claim resource by id.""" + + def test_get_claim_fetches_claim_by_id(self): + get_claim_mock = MagicMock( + return_value=GetPoolClaimReply(claim=_claim_resource()) + ) + clients = MagicMock() + clients.pool_claims.get_claim = get_claim_mock + with patch("koyeb.sandbox.pool.get_api_clients", return_value=clients): + resource = PoolClaim.get_claim("cl-1") + self.assertEqual(resource.id, "cl-1") + self.assertEqual(resource.service_id, SERVICE_ID) + self.assertEqual(get_claim_mock.call_args.kwargs["claim_id"], "cl-1") + + def test_get_claim_raises_when_reply_has_no_claim(self): + get_claim_mock = MagicMock(return_value=GetPoolClaimReply(claim=None)) + clients = MagicMock() + clients.pool_claims.get_claim = get_claim_mock + with patch("koyeb.sandbox.pool.get_api_clients", return_value=clients): + with self.assertRaises(SandboxClaimError) as ctx: + PoolClaim.get_claim("cl-1") + self.assertIn("cl-1", str(ctx.exception)) + + def test_get_claim_requires_claim_id(self): + with self.assertRaises(ValueError): + PoolClaim.get_claim("") + + +class TestPoolClaimWaitReady(unittest.TestCase): + """PoolClaim.wait_ready: Get Service polling until ready or terminal.""" + + def _claim(self) -> PoolClaim: + return PoolClaim( + pool_id=POOL_ID, + claim_id="cl-1", + service_id=SERVICE_ID, + request_id="req-1", + prewarmed=False, + ) + + def test_wait_ready_returns_true_on_healthy(self): + clients = MagicMock() + clients.services.get_service = MagicMock( + return_value=_service_reply(ServiceStatus.HEALTHY) + ) + with patch("koyeb.sandbox.pool.get_api_clients", return_value=clients): + self.assertTrue(self._claim().wait_ready(timeout=5)) + + def test_wait_ready_returns_true_on_degraded(self): + # DEGRADED is usable for a claim: its active deployment + # is healthy and serving traffic. + clients = MagicMock() + clients.services.get_service = MagicMock( + return_value=_service_reply(ServiceStatus.DEGRADED) + ) + with patch("koyeb.sandbox.pool.get_api_clients", return_value=clients): + self.assertTrue(self._claim().wait_ready(timeout=5)) + + def test_wait_ready_polls_until_healthy(self): + statuses = [ + _service_reply(ServiceStatus.STARTING), + _service_reply(ServiceStatus.RESUMING), + _service_reply(ServiceStatus.HEALTHY), + ] + clients = MagicMock() + clients.services.get_service = MagicMock(side_effect=statuses) + with patch("koyeb.sandbox.pool.get_api_clients", return_value=clients): + self.assertTrue(self._claim().wait_ready(timeout=5, poll_interval=0.01)) + + def test_wait_ready_raises_on_terminal_status(self): + for status in ( + ServiceStatus.UNHEALTHY, + ServiceStatus.DELETING, + ServiceStatus.DELETED, + ServiceStatus.PAUSING, + ServiceStatus.PAUSED, + ): + clients = MagicMock() + clients.services.get_service = MagicMock( + return_value=_service_reply(status) + ) + with patch("koyeb.sandbox.pool.get_api_clients", return_value=clients): + with self.assertRaises(SandboxClaimError): + self._claim().wait_ready(timeout=5) + + def test_wait_ready_polls_through_404(self): + # 404 is treated as transient: keep polling to timeout + # rather than failing the claim on a possibly racy lookup. + statuses = [ + NotFoundException(status=404, reason="Not Found"), + _service_reply(ServiceStatus.HEALTHY), + ] + clients = MagicMock() + clients.services.get_service = MagicMock(side_effect=statuses) + with patch("koyeb.sandbox.pool.get_api_clients", return_value=clients): + self.assertTrue(self._claim().wait_ready(timeout=5)) + + def test_wait_ready_returns_false_on_timeout(self): + clients = MagicMock() + clients.services.get_service = MagicMock( + return_value=_service_reply(ServiceStatus.STARTING) + ) + with patch("koyeb.sandbox.pool.get_api_clients", return_value=clients): + self.assertFalse(self._claim().wait_ready(timeout=1, poll_interval=0.01)) + + def test_wait_ready_rejects_invalid_poll_interval(self): + for bad in (0, -1): + with self.assertRaises(ValueError): + self._claim().wait_ready(poll_interval=bad) + + def test_wait_ready_raises_on_unclassifiable_status(self): + # An unknown Service.Status fails deserialization before reaching the + # classifier; fail closed fast instead of polling to timeout. + clients = MagicMock() + clients.services.get_service = MagicMock(side_effect=_status_validation_error()) + with patch("koyeb.sandbox.pool.get_api_clients", return_value=clients): + with self.assertRaises(SandboxClaimError) as ctx: + self._claim().wait_ready(timeout=5) + self.assertEqual(ctx.exception.request_id, "req-1") + + def test_wait_ready_treats_other_schema_errors_as_transient(self): + # A schema failure on a non-status field is transient: keep polling. + clients = MagicMock() + clients.services.get_service = MagicMock( + side_effect=[ + _other_field_validation_error(), + _service_reply(ServiceStatus.HEALTHY), + ] + ) + with patch("koyeb.sandbox.pool.get_api_clients", return_value=clients): + self.assertTrue(self._claim().wait_ready(timeout=5)) + + def test_wait_ready_returns_false_on_persistent_errors(self): + # Get Service failing for the whole budget is fail-closed: the claim + # never reports ready. + clients = MagicMock() + clients.services.get_service = MagicMock( + side_effect=ApiException(status=500, reason="Server Error") + ) + with patch("koyeb.sandbox.pool.get_api_clients", return_value=clients): + self.assertFalse(self._claim().wait_ready(timeout=1, poll_interval=0.01)) + + def test_wait_ready_passes_http_timeout_to_get_service(self): + # Without an explicit request timeout the sync client would block + # indefinitely inside a single poll, defeating the wait timeout. + clients = MagicMock() + clients.services.get_service = MagicMock( + return_value=_service_reply(ServiceStatus.HEALTHY) + ) + with patch("koyeb.sandbox.pool.get_api_clients", return_value=clients): + self.assertTrue(self._claim().wait_ready(timeout=5)) + self.assertEqual( + clients.services.get_service.call_args.kwargs.get("_request_timeout"), + DEFAULT_HTTP_TIMEOUT, + ) + + def test_wait_ready_swallows_transient_errors(self): + statuses = [ + ApiException(status=500, reason="Server Error"), + _service_reply(ServiceStatus.HEALTHY), + ] + clients = MagicMock() + clients.services.get_service = MagicMock(side_effect=statuses) + with patch("koyeb.sandbox.pool.get_api_clients", return_value=clients): + self.assertTrue(self._claim().wait_ready(timeout=5)) + + def test_wait_ready_stops_immediately_on_cancel_event(self): + clients = MagicMock() + clients.services.get_service = MagicMock( + return_value=_service_reply(ServiceStatus.HEALTHY) + ) + cancel = threading.Event() + cancel.set() + with patch("koyeb.sandbox.pool.get_api_clients", return_value=clients): + self.assertFalse(self._claim().wait_ready(timeout=5, cancel=cancel)) + self.assertEqual(clients.services.get_service.call_count, 0) + + def test_wait_ready_keeps_polling_when_status_missing(self): + replies = [ + GetServiceReply(service=Service(id=SERVICE_ID, status=None)), + _service_reply(ServiceStatus.HEALTHY), + ] + clients = MagicMock() + clients.services.get_service = MagicMock(side_effect=replies) + with patch("koyeb.sandbox.pool.get_api_clients", return_value=clients): + self.assertTrue(self._claim().wait_ready(timeout=5, poll_interval=0.01)) + self.assertEqual(clients.services.get_service.call_count, 2) + + +class TestAsyncPoolClaim(unittest.TestCase): + """AsyncPoolClaim: async claim retries and wait_ready polling.""" + + def _cold_path_clients(self): + """Clients whose claim returns a cold claim and service goes + STARTING -> HEALTHY.""" + + async def claim_mock(**kwargs): + return _async_claim_reply(prewarmed=False) + + clients = MagicMock() + clients.pool_claims.claim = claim_mock + clients.services.get_service = _async_side_effect( + [ + _async_service_reply(AsyncServiceStatus.STARTING), + _async_service_reply(AsyncServiceStatus.HEALTHY), + ] + ) + return clients + + def test_claim_cold_path_waits_until_ready(self): + # Full wiring with the real async generated models: claim polls the + # claimed service and returns once it becomes ready. + clients = self._cold_path_clients() + with patch("koyeb.sandbox.pool.get_async_api_clients", return_value=clients): + claim = asyncio.run( + AsyncPoolClaim.claim( + POOL_ID, wait_ready=True, timeout=10, poll_interval=0.01 + ) + ) + self.assertEqual(claim.service_id, SERVICE_ID) + self.assertFalse(claim.prewarmed) + + def test_claim_preserves_request_id_across_retries(self): + replies = [ + AsyncApiException(status=503, reason="Service Unavailable"), + httpx.ConnectError("connection refused"), + _async_claim_reply(), + ] + bodies = [] + + async def claim_mock(**kwargs): + bodies.append(kwargs["body"]) + reply = replies.pop(0) + if isinstance(reply, Exception): + raise reply + return reply + + with ( + patch( + "koyeb.sandbox.pool.get_async_api_clients", + return_value=_async_clients(claim_mock), + ), + patch("asyncio.sleep"), + ): + claim = asyncio.run(AsyncPoolClaim.claim(POOL_ID, wait_ready=False)) + self.assertEqual(claim.service_id, SERVICE_ID) + self.assertTrue(claim.request_id) + self.assertIsInstance(claim, AsyncPoolClaim) + # The same request_id was replayed on every attempt + self.assertEqual(len(bodies), 3) + self.assertEqual( + {(b.pool_id, b.request_id) for b in bodies}, {(POOL_ID, claim.request_id)} + ) + + def test_claim_does_not_retry_client_errors(self): + calls = [] + + async def claim_mock(**kwargs): + calls.append(kwargs) + raise AsyncApiException(status=400, reason="bad request") + + clients = _async_clients(claim_mock) + with patch("koyeb.sandbox.pool.get_async_api_clients", return_value=clients): + with self.assertRaises(SandboxClaimError): + asyncio.run(AsyncPoolClaim.claim(POOL_ID)) + self.assertEqual(len(calls), 1) + + def test_claim_passes_explicit_request_id(self): + bodies = [] + + async def claim_mock(**kwargs): + bodies.append(kwargs["body"]) + return _async_claim_reply() + + clients = _async_clients(claim_mock) + with patch("koyeb.sandbox.pool.get_async_api_clients", return_value=clients): + claim = asyncio.run( + AsyncPoolClaim.claim(POOL_ID, request_id="req-42", wait_ready=False) + ) + self.assertEqual(claim.request_id, "req-42") + self.assertEqual(bodies[0].request_id, "req-42") + + def test_claim_generates_request_id_once(self): + bodies = [] + + async def claim_mock(**kwargs): + bodies.append(kwargs["body"]) + return _async_claim_reply() + + clients = _async_clients(claim_mock) + with patch("koyeb.sandbox.pool.get_async_api_clients", return_value=clients): + claim = asyncio.run(AsyncPoolClaim.claim(POOL_ID, wait_ready=False)) + self.assertTrue(claim.request_id) + self.assertEqual(bodies[0].request_id, claim.request_id) + + def test_claim_requires_pool_id(self): + with self.assertRaises(ValueError): + asyncio.run(AsyncPoolClaim.claim("")) + + def test_claim_rejects_invalid_poll_interval(self): + for bad in (0, -1): + with self.assertRaises(ValueError): + asyncio.run(AsyncPoolClaim.claim(POOL_ID, poll_interval=bad)) + + def test_claim_raises_when_exhausted(self): + calls = [] + + async def claim_mock(**kwargs): + calls.append(1) + raise AsyncApiException(status=503, reason="Service Unavailable") + + clients = _async_clients(claim_mock) + with ( + patch("koyeb.sandbox.pool.get_async_api_clients", return_value=clients), + patch("asyncio.sleep"), + ): + with self.assertRaises(SandboxClaimError): + asyncio.run(AsyncPoolClaim.claim(POOL_ID, wait_ready=False)) + self.assertEqual(len(calls), 3) # _CLAIM_MAX_ATTEMPTS + + def test_claim_wait_ready_timeout(self): + # The timeout argument governs the real poll loop: a never-ready + # service fails the claim with SandboxTimeoutError. + async def claim_mock(**kwargs): + return _async_claim_reply(prewarmed=False) + + clients = MagicMock() + clients.pool_claims.claim = claim_mock + clients.services.get_service = _async_return( + _async_service_reply(AsyncServiceStatus.STARTING) + ) + with patch("koyeb.sandbox.pool.get_async_api_clients", return_value=clients): + with self.assertRaises(SandboxTimeoutError): + asyncio.run( + AsyncPoolClaim.claim( + POOL_ID, wait_ready=True, timeout=1, poll_interval=0.01 + ) + ) + + def test_claim_raises_when_service_id_missing(self): + async def claim_mock(**kwargs): + return AsyncPoolClaimReply(claim_id="cl-1", prewarmed=True) + + clients = _async_clients(claim_mock) + with patch("koyeb.sandbox.pool.get_async_api_clients", return_value=clients): + with self.assertRaises(SandboxClaimError): + asyncio.run(AsyncPoolClaim.claim(POOL_ID, wait_ready=False)) + + def _async_wait_claim(self) -> AsyncPoolClaim: + return AsyncPoolClaim( + pool_id=POOL_ID, + claim_id="cl-1", + service_id=SERVICE_ID, + request_id="req-1", + prewarmed=False, + ) + + def test_wait_ready_returns_true_on_degraded(self): + # DEGRADED is ready for a claim; real async models + # exercise the status-enum canonicalization. + clients = MagicMock() + clients.services.get_service = _async_return( + _async_service_reply(AsyncServiceStatus.DEGRADED) + ) + with patch("koyeb.sandbox.pool.get_async_api_clients", return_value=clients): + self.assertTrue(asyncio.run(self._async_wait_claim().wait_ready(timeout=5))) + + def test_wait_ready_polls_through_404(self): + # 404 is transient: keep polling instead of failing the + # claim on a possibly racy lookup. + clients = MagicMock() + clients.services.get_service = _async_side_effect( + [ + AsyncNotFoundException(status=404, reason="Not Found"), + _async_service_reply(AsyncServiceStatus.HEALTHY), + ] + ) + with patch("koyeb.sandbox.pool.get_async_api_clients", return_value=clients): + self.assertTrue(asyncio.run(self._async_wait_claim().wait_ready(timeout=5))) + + def test_wait_ready_returns_true_on_healthy(self): + clients = MagicMock() + clients.services.get_service = _async_return( + _async_service_reply(AsyncServiceStatus.HEALTHY) + ) + with patch("koyeb.sandbox.pool.get_async_api_clients", return_value=clients): + self.assertTrue(asyncio.run(self._async_wait_claim().wait_ready(timeout=5))) + + def test_wait_ready_raises_on_terminal_status(self): + clients = MagicMock() + clients.services.get_service = _async_return( + _async_service_reply(AsyncServiceStatus.UNHEALTHY) + ) + with patch("koyeb.sandbox.pool.get_async_api_clients", return_value=clients): + with self.assertRaises(SandboxClaimError): + asyncio.run(self._async_wait_claim().wait_ready(timeout=5)) + + def test_wait_ready_returns_false_on_timeout(self): + clients = MagicMock() + clients.services.get_service = _async_return( + _async_service_reply(AsyncServiceStatus.STARTING) + ) + with patch("koyeb.sandbox.pool.get_async_api_clients", return_value=clients): + self.assertFalse( + asyncio.run( + self._async_wait_claim().wait_ready(timeout=1, poll_interval=0.01) + ) + ) + + def test_wait_ready_raises_on_unclassifiable_status(self): + # An unknown Service.Status fails deserialization before reaching the + # classifier; fail closed fast instead of polling to timeout. + clients = MagicMock() + clients.services.get_service = _async_side_effect( + [_async_status_validation_error()] + ) + with patch("koyeb.sandbox.pool.get_async_api_clients", return_value=clients): + with self.assertRaises(SandboxClaimError) as ctx: + asyncio.run(self._async_wait_claim().wait_ready(timeout=5)) + self.assertEqual(ctx.exception.request_id, "req-1") + + def test_wait_ready_returns_false_on_persistent_errors(self): + # Get Service failing for the whole budget is fail-closed: the claim + # never reports ready. + clients = MagicMock() + clients.services.get_service = _async_raise( + AsyncApiException(status=500, reason="Server Error") + ) + with patch("koyeb.sandbox.pool.get_async_api_clients", return_value=clients): + self.assertFalse( + asyncio.run( + self._async_wait_claim().wait_ready(timeout=1, poll_interval=0.01) + ) + ) + + def test_wait_ready_stops_immediately_on_cancel_event(self): + clients = MagicMock() + clients.services.get_service = AsyncMock( + return_value=_async_service_reply(AsyncServiceStatus.HEALTHY) + ) + + async def scenario() -> bool: + # asyncio.Event binds to the running loop at construction on + # Python 3.9, so create it inside the loop. + cancel = asyncio.Event() + cancel.set() + return await self._async_wait_claim().wait_ready(timeout=5, cancel=cancel) + + with patch("koyeb.sandbox.pool.get_async_api_clients", return_value=clients): + self.assertFalse(asyncio.run(scenario())) + self.assertEqual(clients.services.get_service.call_count, 0) + + def test_claim_raises_when_claim_id_missing(self): + async def claim_mock(**kwargs): + return AsyncPoolClaimReply(service_id=SERVICE_ID, prewarmed=True) + + clients = _async_clients(claim_mock) + with patch("koyeb.sandbox.pool.get_async_api_clients", return_value=clients): + with self.assertRaises(SandboxClaimError): + asyncio.run(AsyncPoolClaim.claim(POOL_ID, wait_ready=False)) + + def test_claim_prewarmed_missing_defaults_false(self): + async def claim_mock(**kwargs): + return AsyncPoolClaimReply(claim_id="cl-1", service_id=SERVICE_ID) + + clients = _async_clients(claim_mock) + with patch("koyeb.sandbox.pool.get_async_api_clients", return_value=clients): + claim = asyncio.run(AsyncPoolClaim.claim(POOL_ID, wait_ready=False)) + self.assertFalse(claim.prewarmed) + + def test_get_claim_fetches_claim_by_id(self): + clients = MagicMock() + clients.pool_claims.get_claim = AsyncMock( + return_value=AsyncGetPoolClaimReply(claim=_async_claim_resource()) + ) + with patch("koyeb.sandbox.pool.get_async_api_clients", return_value=clients): + resource = asyncio.run(AsyncPoolClaim.get_claim("cl-1")) + self.assertEqual(resource.id, "cl-1") + self.assertEqual( + clients.pool_claims.get_claim.call_args.kwargs["claim_id"], "cl-1" + ) + + def test_get_claim_requires_claim_id(self): + with self.assertRaises(ValueError): + asyncio.run(AsyncPoolClaim.get_claim("")) + + def test_get_claim_raises_when_reply_has_no_claim(self): + clients = MagicMock() + clients.pool_claims.get_claim = AsyncMock( + return_value=AsyncGetPoolClaimReply(claim=None) + ) + with patch("koyeb.sandbox.pool.get_async_api_clients", return_value=clients): + with self.assertRaises(SandboxClaimError) as ctx: + asyncio.run(AsyncPoolClaim.get_claim("cl-1")) + self.assertIn("cl-1", str(ctx.exception)) + + def test_wait_ready_rejects_invalid_poll_interval(self): + for bad in (0, -1): + with self.assertRaises(ValueError): + asyncio.run(self._async_wait_claim().wait_ready(poll_interval=bad)) + + def test_wait_ready_keeps_polling_when_status_missing(self): + replies = [ + AsyncGetServiceReply(service=AsyncService(id=SERVICE_ID, status=None)), + _async_service_reply(AsyncServiceStatus.HEALTHY), + ] + calls = [] + + async def get_service(*args, **kwargs): + calls.append(1) + return replies.pop(0) + + clients = MagicMock() + clients.services.get_service = get_service + with patch("koyeb.sandbox.pool.get_async_api_clients", return_value=clients): + self.assertTrue( + asyncio.run( + self._async_wait_claim().wait_ready(timeout=5, poll_interval=0.01) + ) + ) + self.assertEqual(len(calls), 2) + + def test_wait_ready_treats_other_schema_errors_as_transient(self): + # A schema failure on a non-status field is transient: keep polling. + clients = MagicMock() + clients.services.get_service = _async_side_effect( + [ + _async_other_field_validation_error(), + _async_service_reply(AsyncServiceStatus.HEALTHY), + ] + ) + with patch("koyeb.sandbox.pool.get_async_api_clients", return_value=clients): + self.assertTrue( + asyncio.run( + self._async_wait_claim().wait_ready(timeout=5, poll_interval=0.01) + ) + ) + + def test_wait_ready_swallows_transient_errors(self): + clients = MagicMock() + clients.services.get_service = _async_side_effect( + [ + AsyncApiException(status=500, reason="Server Error"), + _async_service_reply(AsyncServiceStatus.HEALTHY), + ] + ) + with patch("koyeb.sandbox.pool.get_async_api_clients", return_value=clients): + self.assertTrue( + asyncio.run( + self._async_wait_claim().wait_ready(timeout=5, poll_interval=0.01) + ) + ) + + +def _async_return(value): + async def call(*args, **kwargs): + return value + + return call + + +def _async_side_effect(values): + """Async callable yielding values (or raising them) in sequence.""" + + async def call(*args, **kwargs): + value = values.pop(0) + if isinstance(value, BaseException): + raise value + return value + + return call + + +def _status_validation_error() -> ValidationError: + """A real pydantic failure on an unknown Service.Status value.""" + try: + GetServiceReply.model_validate( + {"service": {"id": SERVICE_ID, "status": "TELEPORTING"}} + ) + except ValidationError as e: + return e + raise AssertionError("expected a ValidationError") + + +def _other_field_validation_error() -> ValidationError: + """A real pydantic failure on a non-status field.""" + try: + GetServiceReply.model_validate( + { + "service": { + "id": SERVICE_ID, + "status": "HEALTHY", + "created_at": "not-a-date", + } + } + ) + except ValidationError as e: + return e + raise AssertionError("expected a ValidationError") + + +def _async_status_validation_error() -> ValidationError: + """A real pydantic failure on an unknown async Service.Status value.""" + try: + AsyncGetServiceReply.model_validate( + {"service": {"id": SERVICE_ID, "status": "TELEPORTING"}} + ) + except ValidationError as e: + return e + raise AssertionError("expected a ValidationError") + + +def _async_other_field_validation_error() -> ValidationError: + """A real pydantic failure on a non-status field of the async model.""" + try: + AsyncGetServiceReply.model_validate( + { + "service": { + "id": SERVICE_ID, + "status": "HEALTHY", + "created_at": "not-a-date", + } + } + ) + except ValidationError as e: + return e + raise AssertionError("expected a ValidationError") + + +def _async_raise(exc): + async def call(*args, **kwargs): + raise exc + + return call + + +class TestServiceStatusClassification(unittest.TestCase): + """The classifier is the single source of truth for the state mapping.""" + + def test_classify_all_states(self): + expected = { + ServiceStatus.HEALTHY: "ready", + ServiceStatus.DEGRADED: "ready", + ServiceStatus.STARTING: "in_progress", + ServiceStatus.RESUMING: "in_progress", + ServiceStatus.UNHEALTHY: "terminal", + ServiceStatus.DELETING: "terminal", + ServiceStatus.DELETED: "terminal", + ServiceStatus.PAUSING: "terminal", + ServiceStatus.PAUSED: "terminal", + } + self.assertEqual(set(expected), set(ServiceStatus)) # every value covered + for status, kind in expected.items(): + self.assertEqual(_classify_service_status(status), kind) + + def test_classify_unknown_value_fails_closed(self): + class ForwardCompatStatus(str, Enum): + NEW = "NEW" + + self.assertEqual(_classify_service_status(ForwardCompatStatus.NEW), "terminal") # type: ignore[arg-type] + + +if __name__ == "__main__": + unittest.main() diff --git a/koyeb/sandbox/test_service_pool.py b/koyeb/sandbox/test_service_pool.py new file mode 100644 index 00000000..fca075f2 --- /dev/null +++ b/koyeb/sandbox/test_service_pool.py @@ -0,0 +1,569 @@ +import asyncio +import unittest +from unittest.mock import AsyncMock, MagicMock, patch + +from koyeb.api.exceptions import ApiException +from koyeb.api_async.exceptions import ApiException as AsyncApiException +from koyeb.api.models.create_service_pool_reply import CreateServicePoolReply +from koyeb.api.models.deployment_definition import DeploymentDefinition +from koyeb.api.models.get_service_pool_reply import GetServicePoolReply +from koyeb.api.models.list_service_pools_reply import ListServicePoolsReply +from koyeb.api.models.service_pool import ServicePool as ServicePoolModel +from koyeb.api.models.service_pool_status import ServicePoolStatus +from koyeb.api.models.update_service_pool_reply import UpdateServicePoolReply +from koyeb.api_async.models.create_service_pool_reply import ( + CreateServicePoolReply as AsyncCreateServicePoolReply, +) +from koyeb.api_async.models.get_service_pool_reply import ( + GetServicePoolReply as AsyncGetServicePoolReply, +) +from koyeb.api_async.models.list_service_pools_reply import ( + ListServicePoolsReply as AsyncListServicePoolsReply, +) +from koyeb.api_async.models.service_pool import ServicePool as AsyncServicePoolModel +from koyeb.api_async.models.service_pool_status import ( + ServicePoolStatus as AsyncServicePoolStatus, +) +from koyeb.api_async.models.update_service_pool_reply import ( + UpdateServicePoolReply as AsyncUpdateServicePoolReply, +) + +from koyeb.sandbox.service_pool import AsyncServicePool, ServicePool, ServicePoolError +from koyeb.sandbox.utils import DEFAULT_HTTP_TIMEOUT + +POOL_ID = "pool-1" +POOL_NAME = "my-pool" + + +def _pool_model( + pool_id: str = POOL_ID, + name: str = POOL_NAME, + size: int = 3, + ready_count: int = 3, + status: ServicePoolStatus = ServicePoolStatus.READY, +) -> ServicePoolModel: + return ServicePoolModel( + id=pool_id, name=name, size=size, ready_count=ready_count, status=status + ) + + +def _async_pool_model( + pool_id: str = POOL_ID, + name: str = POOL_NAME, + size: int = 3, + ready_count: int = 3, + status: AsyncServicePoolStatus = AsyncServicePoolStatus.READY, +) -> AsyncServicePoolModel: + return AsyncServicePoolModel( + id=pool_id, name=name, size=size, ready_count=ready_count, status=status + ) + + +def _create_reply() -> CreateServicePoolReply: + return CreateServicePoolReply(service_pool=_pool_model()) + + +def _get_reply() -> GetServicePoolReply: + return GetServicePoolReply(service_pool=_pool_model()) + + +def _list_reply() -> ListServicePoolsReply: + return ListServicePoolsReply( + service_pools=[_pool_model(), _pool_model(pool_id="pool-2")] + ) + + +def _update_reply(size: int = 5) -> UpdateServicePoolReply: + return UpdateServicePoolReply(service_pool=_pool_model(size=size)) + + +def _async_create_reply() -> AsyncCreateServicePoolReply: + return AsyncCreateServicePoolReply(service_pool=_async_pool_model()) + + +def _async_get_reply() -> AsyncGetServicePoolReply: + return AsyncGetServicePoolReply(service_pool=_async_pool_model()) + + +def _async_list_reply() -> AsyncListServicePoolsReply: + return AsyncListServicePoolsReply( + service_pools=[_async_pool_model(), _async_pool_model(pool_id="pool-2")] + ) + + +def _async_update_reply(size: int = 5) -> AsyncUpdateServicePoolReply: + return AsyncUpdateServicePoolReply(service_pool=_async_pool_model(size=size)) + + +def _sync_clients(create=None, get=None, list_=None, update=None, delete=None): + clients = MagicMock() + clients.service_pools = MagicMock() + clients.service_pools.create_service_pool = create or MagicMock( + return_value=_create_reply() + ) + clients.service_pools.get_service_pool = get or MagicMock(return_value=_get_reply()) + clients.service_pools.list_service_pools = list_ or MagicMock( + return_value=_list_reply() + ) + clients.service_pools.update_service_pool = update or MagicMock( + return_value=_update_reply() + ) + clients.service_pools.delete_service_pool = delete or MagicMock( + return_value=object() + ) + return clients + + +def _async_clients(create=None, get=None, list_=None, update=None, delete=None): + clients = MagicMock() + clients.service_pools = MagicMock() + clients.service_pools.create_service_pool = create or AsyncMock( + return_value=_async_create_reply() + ) + clients.service_pools.get_service_pool = get or AsyncMock( + return_value=_async_get_reply() + ) + clients.service_pools.list_service_pools = list_ or AsyncMock( + return_value=_async_list_reply() + ) + clients.service_pools.update_service_pool = update or AsyncMock( + return_value=_async_update_reply() + ) + clients.service_pools.delete_service_pool = delete or AsyncMock( + return_value=object() + ) + return clients + + +class TestServicePool(unittest.TestCase): + def test_create_returns_bound_pool(self): + create = MagicMock(return_value=_create_reply()) + clients = _sync_clients(create=create) + with patch("koyeb.sandbox.service_pool.get_api_clients", return_value=clients): + pool = ServicePool.create(POOL_NAME, 3) + create.assert_called_once() + kwargs = create.call_args.kwargs + self.assertEqual(kwargs["service_pool"].name, POOL_NAME) + self.assertEqual(kwargs["service_pool"].size, 3) + self.assertEqual(kwargs["_request_timeout"], DEFAULT_HTTP_TIMEOUT) + self.assertEqual(pool.pool_id, POOL_ID) + self.assertEqual(pool.name, POOL_NAME) + self.assertEqual(pool.size, 3) + self.assertEqual(pool.status, "READY") + + def test_create_accepts_definition_dict(self): + create = MagicMock(return_value=_create_reply()) + clients = _sync_clients(create=create) + with patch("koyeb.sandbox.service_pool.get_api_clients", return_value=clients): + ServicePool.create(POOL_NAME, 3, definition={"regions": ["na"]}) + body = create.call_args.kwargs["service_pool"] + self.assertEqual(body.definition.regions, ["na"]) + + def test_create_rejects_negative_size(self): + with self.assertRaises(ValueError): + ServicePool.create(POOL_NAME, -1) + + def test_create_accepts_size_zero(self): + create = MagicMock(return_value=_create_reply()) + clients = _sync_clients(create=create) + with patch("koyeb.sandbox.service_pool.get_api_clients", return_value=clients): + ServicePool.create(POOL_NAME, 0) + self.assertEqual(create.call_args.kwargs["service_pool"].size, 0) + + def test_create_wraps_bad_definition_dict(self): + create = MagicMock(return_value=_create_reply()) + clients = _sync_clients(create=create) + with patch("koyeb.sandbox.service_pool.get_api_clients", return_value=clients): + with self.assertRaises(ServicePoolError) as ctx: + ServicePool.create(POOL_NAME, 3, definition={"regions": "not-a-list"}) + self.assertIn("invalid deployment definition", str(ctx.exception)) + + def test_create_requires_name_and_size(self): + with self.assertRaises(ValueError): + ServicePool.create("", 3) + with self.assertRaises(ValueError): + ServicePool.create(POOL_NAME, None) # type: ignore[arg-type] + + def test_create_raises_pool_error_on_api_failure(self): + clients = _sync_clients( + create=MagicMock(side_effect=ApiException(status=400, reason="bad name")) + ) + with patch("koyeb.sandbox.service_pool.get_api_clients", return_value=clients): + with self.assertRaises(ServicePoolError) as ctx: + ServicePool.create(POOL_NAME, 3) + self.assertIn("bad name", str(ctx.exception)) + + def test_get_returns_pool(self): + get = MagicMock(return_value=_get_reply()) + clients = _sync_clients(get=get) + with patch("koyeb.sandbox.service_pool.get_api_clients", return_value=clients): + pool = ServicePool.get(POOL_ID) + get.assert_called_once_with(POOL_ID, _request_timeout=DEFAULT_HTTP_TIMEOUT) + self.assertEqual(pool.pool_id, POOL_ID) + + def test_get_requires_pool_id(self): + with self.assertRaises(ValueError): + ServicePool.get("") + + def test_list_returns_all_pools(self): + list_ = MagicMock(return_value=_list_reply()) + clients = _sync_clients(list_=list_) + with patch("koyeb.sandbox.service_pool.get_api_clients", return_value=clients): + pools = ServicePool.list() + self.assertEqual(len(pools), 2) + self.assertEqual({p.pool_id for p in pools}, {POOL_ID, "pool-2"}) + + def test_list_passes_name_filter(self): + list_ = MagicMock(return_value=_list_reply()) + clients = _sync_clients(list_=list_) + with patch("koyeb.sandbox.service_pool.get_api_clients", return_value=clients): + ServicePool.list(name="my-pool") + self.assertEqual(list_.call_args.kwargs["name"], "my-pool") + + def test_list_passes_limit_offset_as_strings(self): + list_ = MagicMock(return_value=_list_reply()) + clients = _sync_clients(list_=list_) + with patch("koyeb.sandbox.service_pool.get_api_clients", return_value=clients): + ServicePool.list(limit=10, offset=5) + kwargs = list_.call_args.kwargs + # The generated API takes StrictStr under @validate_call; ints would + # raise pydantic ValidationError before any HTTP call. + self.assertEqual(kwargs["limit"], "10") + self.assertEqual(kwargs["offset"], "5") + + def test_list_drops_entries_without_id(self): + list_ = MagicMock( + return_value=ListServicePoolsReply( + service_pools=[_pool_model(), ServicePoolModel(name="orphan")] + ) + ) + clients = _sync_clients(list_=list_) + with patch("koyeb.sandbox.service_pool.get_api_clients", return_value=clients): + pools = ServicePool.list() + self.assertEqual([p.pool_id for p in pools], [POOL_ID]) + + def test_update_rejects_negative_size(self): + pool = ServicePool(pool_id=POOL_ID) + with self.assertRaises(ValueError): + pool.update(definition={"regions": ["na"]}, size=-1) + + def test_update_requires_definition(self): + pool = ServicePool(pool_id=POOL_ID) + with self.assertRaises(ValueError): + pool.update(definition=None) + + def test_update_sends_no_mask_and_full_body(self): + update = MagicMock(return_value=_update_reply(size=5)) + clients = _sync_clients(update=update) + pool = ServicePool(pool_id=POOL_ID, api_token=None, host=None) + with patch("koyeb.sandbox.service_pool.get_api_clients", return_value=clients): + pool.update(definition={"regions": ["na"]}, size=5) + args, kwargs = update.call_args + self.assertEqual(args[0], POOL_ID) + # The server rejects any non-empty update_mask — the wrapper never sends one. + self.assertNotIn("update_mask", kwargs) + self.assertEqual(kwargs["service_pool"].size, 5) + self.assertEqual(kwargs["service_pool"].definition.regions, ["na"]) + # in place mutated + self.assertEqual(pool.size, 5) + + def test_update_definition_only(self): + update = MagicMock(return_value=_update_reply()) + clients = _sync_clients(update=update) + pool = ServicePool(pool_id=POOL_ID) + with patch("koyeb.sandbox.service_pool.get_api_clients", return_value=clients): + pool.update(definition={"regions": ["eu"]}) + self.assertIsNone(update.call_args.kwargs["service_pool"].size) + self.assertEqual( + update.call_args.kwargs["service_pool"].definition.regions, ["eu"] + ) + + def test_update_raises_on_api_failure(self): + clients = _sync_clients( + update=MagicMock(side_effect=ApiException(status=409, reason="conflict")) + ) + pool = ServicePool(pool_id=POOL_ID) + with patch("koyeb.sandbox.service_pool.get_api_clients", return_value=clients): + with self.assertRaises(ServicePoolError) as ctx: + pool.update(definition={"regions": ["na"]}) + self.assertIn("conflict", str(ctx.exception)) + + def test_delete_calls_endpoint(self): + delete = MagicMock(return_value=object()) + clients = _sync_clients(delete=delete) + pool = ServicePool(pool_id=POOL_ID) + with patch("koyeb.sandbox.service_pool.get_api_clients", return_value=clients): + pool.delete() + delete.assert_called_once_with(POOL_ID, _request_timeout=DEFAULT_HTTP_TIMEOUT) + + def test_delete_raises_on_api_failure(self): + clients = _sync_clients( + delete=MagicMock(side_effect=ApiException(status=404, reason="not found")) + ) + pool = ServicePool(pool_id=POOL_ID) + with patch("koyeb.sandbox.service_pool.get_api_clients", return_value=clients): + with self.assertRaises(ServicePoolError) as ctx: + pool.delete() + self.assertIn("not found", str(ctx.exception)) + + def test_refresh_refetches_in_place(self): + get = MagicMock(return_value=_get_reply()) + clients = _sync_clients(get=get) + pool = ServicePool(pool_id=POOL_ID, name="old", size=1) + with patch("koyeb.sandbox.service_pool.get_api_clients", return_value=clients): + pool.refresh() + self.assertEqual(pool.name, POOL_NAME) + self.assertEqual(pool.size, 3) + + def test_create_accepts_definition_model(self): + create = MagicMock(return_value=_create_reply()) + clients = _sync_clients(create=create) + definition = DeploymentDefinition(regions=["na"]) + with patch("koyeb.sandbox.service_pool.get_api_clients", return_value=clients): + ServicePool.create(POOL_NAME, 3, definition=definition) + # A ready-made model is passed through untouched, not rebuilt. + self.assertIs(create.call_args.kwargs["service_pool"].definition, definition) + + def test_get_raises_on_api_failure(self): + clients = _sync_clients( + get=MagicMock(side_effect=ApiException(status=404, reason="no pool")) + ) + with patch("koyeb.sandbox.service_pool.get_api_clients", return_value=clients): + with self.assertRaises(ServicePoolError) as ctx: + ServicePool.get(POOL_ID) + self.assertIn("no pool", str(ctx.exception)) + + def test_list_raises_on_api_failure(self): + clients = _sync_clients( + list_=MagicMock(side_effect=ApiException(status=403, reason="forbidden")) + ) + with patch("koyeb.sandbox.service_pool.get_api_clients", return_value=clients): + with self.assertRaises(ServicePoolError) as ctx: + ServicePool.list() + self.assertIn("forbidden", str(ctx.exception)) + + def test_refresh_raises_on_api_failure(self): + clients = _sync_clients( + get=MagicMock(side_effect=ApiException(status=500, reason="boom")) + ) + pool = ServicePool(pool_id=POOL_ID) + with patch("koyeb.sandbox.service_pool.get_api_clients", return_value=clients): + with self.assertRaises(ServicePoolError) as ctx: + pool.refresh() + self.assertIn("boom", str(ctx.exception)) + + def test_error_detail_includes_response_body(self): + clients = _sync_clients( + create=MagicMock( + side_effect=ApiException( + status=400, + reason="bad name", + body=b'{"message": "name already exists"}', + ) + ) + ) + with patch("koyeb.sandbox.service_pool.get_api_clients", return_value=clients): + with self.assertRaises(ServicePoolError) as ctx: + ServicePool.create(POOL_NAME, 3) + self.assertIn("bad name", str(ctx.exception)) + self.assertIn("name already exists", str(ctx.exception)) + + def test_from_reply_raises_on_missing_service_pool(self): + from koyeb.api.models.get_service_pool_reply import GetServicePoolReply + + reply = GetServicePoolReply(service_pool=None) + with self.assertRaises(ServicePoolError): + ServicePool._from_reply(reply, None, None) + + def test_repr_includes_identity(self): + pool = ServicePool(pool_id=POOL_ID, name=POOL_NAME, size=3, status="READY") + r = repr(pool) + self.assertIn(f"pool_id={POOL_ID!r}", r) + self.assertIn(f"name={POOL_NAME!r}", r) + self.assertIn("status='READY'", r) + + +class TestAsyncServicePool(unittest.TestCase): + def test_async_create(self): + clients = _async_clients() + with patch( + "koyeb.sandbox.service_pool.get_async_api_clients", return_value=clients + ): + pool = asyncio.run(AsyncServicePool.create(POOL_NAME, 3)) + self.assertEqual(pool.pool_id, POOL_ID) + clients.service_pools.create_service_pool.assert_awaited_once() + + def test_async_get(self): + clients = _async_clients() + with patch( + "koyeb.sandbox.service_pool.get_async_api_clients", return_value=clients + ): + pool = asyncio.run(AsyncServicePool.get(POOL_ID)) + self.assertEqual(pool.pool_id, POOL_ID) + clients.service_pools.get_service_pool.assert_awaited_once() + + def test_async_list_str_limit(self): + clients = _async_clients() + with patch( + "koyeb.sandbox.service_pool.get_async_api_clients", return_value=clients + ): + pools = asyncio.run(AsyncServicePool.list(limit=10, offset=5)) + self.assertEqual(len(pools), 2) + self.assertEqual( + clients.service_pools.list_service_pools.call_args.kwargs["limit"], "10" + ) + + def test_async_update_sends_no_mask(self): + clients = _async_clients() + pool = AsyncServicePool(pool_id=POOL_ID) + with patch( + "koyeb.sandbox.service_pool.get_async_api_clients", return_value=clients + ): + asyncio.run(pool.update(definition={"regions": ["na"]}, size=5)) + kwargs = clients.service_pools.update_service_pool.call_args.kwargs + self.assertNotIn("update_mask", kwargs) + self.assertEqual(kwargs["service_pool"].size, 5) + + def test_async_update_requires_definition(self): + pool = AsyncServicePool(pool_id=POOL_ID) + with self.assertRaises(ValueError): + asyncio.run(pool.update(definition=None)) + + def test_async_delete(self): + clients = _async_clients() + pool = AsyncServicePool(pool_id=POOL_ID) + with patch( + "koyeb.sandbox.service_pool.get_async_api_clients", return_value=clients + ): + asyncio.run(pool.delete()) + clients.service_pools.delete_service_pool.assert_awaited_once() + + def test_async_delete_raises_on_api_failure(self): + clients = _async_clients( + delete=AsyncMock( + side_effect=AsyncApiException(status=404, reason="missing") + ) + ) + pool = AsyncServicePool(pool_id=POOL_ID) + with patch( + "koyeb.sandbox.service_pool.get_async_api_clients", return_value=clients + ): + with self.assertRaises(ServicePoolError) as ctx: + asyncio.run(pool.delete()) + self.assertIn("missing", str(ctx.exception)) + + def test_async_refresh(self): + clients = _async_clients() + pool = AsyncServicePool(pool_id=POOL_ID, name="old") + with patch( + "koyeb.sandbox.service_pool.get_async_api_clients", return_value=clients + ): + asyncio.run(pool.refresh()) + self.assertEqual(pool.name, POOL_NAME) + + def test_async_update_raises_on_api_failure(self): + clients = _async_clients( + update=AsyncMock(side_effect=AsyncApiException(status=409, reason="bad")) + ) + pool = AsyncServicePool(pool_id=POOL_ID) + with patch( + "koyeb.sandbox.service_pool.get_async_api_clients", return_value=clients + ): + with self.assertRaises(ServicePoolError) as ctx: + asyncio.run(pool.update(definition={"regions": ["na"]})) + self.assertIn("bad", str(ctx.exception)) + + def test_async_refresh_raises_on_api_failure(self): + clients = _async_clients( + get=AsyncMock(side_effect=AsyncApiException(status=404, reason="gone")) + ) + pool = AsyncServicePool(pool_id=POOL_ID) + with patch( + "koyeb.sandbox.service_pool.get_async_api_clients", return_value=clients + ): + with self.assertRaises(ServicePoolError) as ctx: + asyncio.run(pool.refresh()) + self.assertIn("gone", str(ctx.exception)) + + def test_async_create_raises_on_api_failure(self): + clients = _async_clients( + create=AsyncMock(side_effect=AsyncApiException(status=400, reason="bad")) + ) + with patch( + "koyeb.sandbox.service_pool.get_async_api_clients", return_value=clients + ): + with self.assertRaises(ServicePoolError): + asyncio.run(AsyncServicePool.create(POOL_NAME, 3)) + + def test_async_create_requires_name_and_size(self): + with self.assertRaises(ValueError): + asyncio.run(AsyncServicePool.create("", 3)) + with self.assertRaises(ValueError): + asyncio.run(AsyncServicePool.create(POOL_NAME, None)) # type: ignore[arg-type] + + def test_async_create_rejects_negative_size(self): + with self.assertRaises(ValueError): + asyncio.run(AsyncServicePool.create(POOL_NAME, -1)) + + def test_async_get_requires_pool_id(self): + with self.assertRaises(ValueError): + asyncio.run(AsyncServicePool.get("")) + + def test_async_get_raises_on_api_failure(self): + clients = _async_clients( + get=AsyncMock(side_effect=AsyncApiException(status=404, reason="gone")) + ) + with patch( + "koyeb.sandbox.service_pool.get_async_api_clients", return_value=clients + ): + with self.assertRaises(ServicePoolError) as ctx: + asyncio.run(AsyncServicePool.get(POOL_ID)) + self.assertIn("gone", str(ctx.exception)) + + def test_async_list_passes_name_filter(self): + clients = _async_clients() + with patch( + "koyeb.sandbox.service_pool.get_async_api_clients", return_value=clients + ): + asyncio.run(AsyncServicePool.list(name=POOL_NAME)) + self.assertEqual( + clients.service_pools.list_service_pools.call_args.kwargs["name"], + POOL_NAME, + ) + + def test_async_list_raises_on_api_failure(self): + clients = _async_clients( + list_=AsyncMock(side_effect=AsyncApiException(status=403, reason="denied")) + ) + with patch( + "koyeb.sandbox.service_pool.get_async_api_clients", return_value=clients + ): + with self.assertRaises(ServicePoolError) as ctx: + asyncio.run(AsyncServicePool.list()) + self.assertIn("denied", str(ctx.exception)) + + def test_async_list_drops_entries_without_id(self): + clients = _async_clients( + list_=AsyncMock( + return_value=AsyncListServicePoolsReply( + service_pools=[ + _async_pool_model(), + AsyncServicePoolModel(name="orphan"), + ] + ) + ) + ) + with patch( + "koyeb.sandbox.service_pool.get_async_api_clients", return_value=clients + ): + pools = asyncio.run(AsyncServicePool.list()) + self.assertEqual([p.pool_id for p in pools], [POOL_ID]) + + def test_async_update_rejects_negative_size(self): + pool = AsyncServicePool(pool_id=POOL_ID) + with self.assertRaises(ValueError): + asyncio.run(pool.update(definition={"regions": ["na"]}, size=-1)) + + +if __name__ == "__main__": + unittest.main() diff --git a/koyeb/sandbox/test_utils.py b/koyeb/sandbox/test_utils.py index a076a240..28d31fc0 100644 --- a/koyeb/sandbox/test_utils.py +++ b/koyeb/sandbox/test_utils.py @@ -1,10 +1,18 @@ import unittest +from unittest.mock import patch +from koyeb.api.api import PoolClaimsApi, ServicePoolsApi from koyeb.api.models.egress_policy_mode import EgressPolicyMode +from koyeb.api_async.api import ( + PoolClaimsApi as AsyncPoolClaimsApi, + ServicePoolsApi as AsyncServicePoolsApi, +) from koyeb.sandbox.utils import ( EgressPolicyError, build_network_policy, create_docker_source, + get_api_clients, + get_async_api_clients, ) @@ -138,5 +146,21 @@ def test_error_is_sandbox_error_and_exported(self): self.assertIn("EgressPolicyError", sandbox_pkg.__all__) +class TestGetApiClients(unittest.TestCase): + """The shared client factory wires the service pool and claim APIs.""" + + def test_sync_clients_expose_pool_apis(self): + with patch("koyeb.sandbox.utils._api_clients_cache", {}): + clients = get_api_clients(api_token="tok-test") + self.assertIsInstance(clients.service_pools, ServicePoolsApi) + self.assertIsInstance(clients.pool_claims, PoolClaimsApi) + + def test_async_clients_expose_pool_apis(self): + with patch("koyeb.sandbox.utils._async_api_clients_cache", {}): + clients = get_async_api_clients(api_token="tok-test") + self.assertIsInstance(clients.service_pools, AsyncServicePoolsApi) + self.assertIsInstance(clients.pool_claims, AsyncPoolClaimsApi) + + if __name__ == "__main__": unittest.main() diff --git a/koyeb/sandbox/utils.py b/koyeb/sandbox/utils.py index 9bf85485..b46344d8 100644 --- a/koyeb/sandbox/utils.py +++ b/koyeb/sandbox/utils.py @@ -19,7 +19,9 @@ DeploymentsApi, InstancesApi, InstanceSnapshotsApi, + PoolClaimsApi, SecretsApi, + ServicePoolsApi, ServicesApi, ) from koyeb.api.models.config_file import ConfigFile @@ -109,6 +111,8 @@ class ApiClients: deployments: DeploymentsApi secrets: SecretsApi instance_snapshots: Any + service_pools: ServicePoolsApi + pool_claims: PoolClaimsApi _api_clients_cache: Dict[Tuple[str, str], ApiClients] = {} @@ -159,6 +163,8 @@ def get_api_clients( deployments=DeploymentsApi(api_client), secrets=SecretsApi(api_client), instance_snapshots=InstanceSnapshotsApi(api_client), + service_pools=ServicePoolsApi(api_client), + pool_claims=PoolClaimsApi(api_client), ) _api_clients_cache[cache_key] = clients return clients @@ -174,7 +180,9 @@ def get_api_clients( DeploymentsApi as AsyncDeploymentsApi, InstancesApi as AsyncInstancesApi, InstanceSnapshotsApi as AsyncInstanceSnapshotsApi, + PoolClaimsApi as AsyncPoolClaimsApi, SecretsApi as AsyncSecretsApi, + ServicePoolsApi as AsyncServicePoolsApi, ServicesApi as AsyncServicesApi, ) @@ -190,6 +198,8 @@ class AsyncApiClients: deployments: AsyncDeploymentsApi secrets: AsyncSecretsApi instance_snapshots: Any + service_pools: AsyncServicePoolsApi + pool_claims: AsyncPoolClaimsApi _async_api_clients_cache: Dict[Tuple[str, str], AsyncApiClients] = {} @@ -240,6 +250,8 @@ def get_async_api_clients( deployments=AsyncDeploymentsApi(api_client), secrets=AsyncSecretsApi(api_client), instance_snapshots=AsyncInstanceSnapshotsApi(api_client), + service_pools=AsyncServicePoolsApi(api_client), + pool_claims=AsyncPoolClaimsApi(api_client), ) _async_api_clients_cache[cache_key] = clients return clients @@ -721,6 +733,20 @@ class SandboxDeploymentError(SandboxError): """Raised when a sandbox deployment reaches an error state""" +class SandboxClaimError(SandboxError): + """Raised when claiming a sandbox from a service pool fails""" + + def __init__(self, message: str, request_id: Optional[str] = None): + super().__init__(message) + # The claim's idempotency key, so a failed claim can be replayed with + # the same (pool_id, request_id) pair instead of claiming twice. + self.request_id = request_id + + +class ServicePoolError(SandboxError): + """Raised when a service pool operation (create/get/list/update/delete) fails""" + + class SandboxServiceError(SandboxError): """Raised when the sandbox executor returns an HTTP 5xx error"""