orb-cloud-client 1.3.1__tar.gz → 1.3.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {orb_cloud_client-1.3.1/orb_cloud_client.egg-info → orb_cloud_client-1.3.3}/PKG-INFO +1 -1
- {orb_cloud_client-1.3.1 → orb_cloud_client-1.3.3}/orb_cloud_client/client.py +1 -1
- {orb_cloud_client-1.3.1 → orb_cloud_client-1.3.3}/orb_cloud_client/models/__init__.py +1 -1
- orb_cloud_client-1.3.3/orb_cloud_client/models/config.py +34 -0
- orb_cloud_client-1.3.3/orb_cloud_client/models/db.py +28 -0
- orb_cloud_client-1.3.3/orb_cloud_client/models/server.py +73 -0
- {orb_cloud_client-1.3.1 → orb_cloud_client-1.3.3/orb_cloud_client.egg-info}/PKG-INFO +1 -1
- {orb_cloud_client-1.3.1 → orb_cloud_client-1.3.3}/pyproject.toml +1 -1
- orb_cloud_client-1.3.1/orb_cloud_client/models/config.py +0 -36
- orb_cloud_client-1.3.1/orb_cloud_client/models/db.py +0 -26
- orb_cloud_client-1.3.1/orb_cloud_client/models/server.py +0 -46
- {orb_cloud_client-1.3.1 → orb_cloud_client-1.3.3}/LICENSE +0 -0
- {orb_cloud_client-1.3.1 → orb_cloud_client-1.3.3}/MANIFEST.in +0 -0
- {orb_cloud_client-1.3.1 → orb_cloud_client-1.3.3}/README.md +0 -0
- {orb_cloud_client-1.3.1 → orb_cloud_client-1.3.3}/orb_cloud_client/__init__.py +0 -0
- {orb_cloud_client-1.3.1 → orb_cloud_client-1.3.3}/orb_cloud_client/example.py +0 -0
- {orb_cloud_client-1.3.1 → orb_cloud_client-1.3.3}/orb_cloud_client/example_async.py +0 -0
- {orb_cloud_client-1.3.1 → orb_cloud_client-1.3.3}/orb_cloud_client/models/generic.py +0 -0
- {orb_cloud_client-1.3.1 → orb_cloud_client-1.3.3}/orb_cloud_client.egg-info/SOURCES.txt +0 -0
- {orb_cloud_client-1.3.1 → orb_cloud_client-1.3.3}/orb_cloud_client.egg-info/dependency_links.txt +0 -0
- {orb_cloud_client-1.3.1 → orb_cloud_client-1.3.3}/orb_cloud_client.egg-info/entry_points.txt +0 -0
- {orb_cloud_client-1.3.1 → orb_cloud_client-1.3.3}/orb_cloud_client.egg-info/requires.txt +0 -0
- {orb_cloud_client-1.3.1 → orb_cloud_client-1.3.3}/orb_cloud_client.egg-info/top_level.txt +0 -0
- {orb_cloud_client-1.3.1 → orb_cloud_client-1.3.3}/setup.cfg +0 -0
|
@@ -111,7 +111,7 @@ class OrbCloudClientAsync(OrbCloudClientBase):
|
|
|
111
111
|
|
|
112
112
|
async def trigger_speedtest(self, device_id: str, test_type: str) -> Dict[str, Any]:
|
|
113
113
|
"""Trigger a content or top speedtest"""
|
|
114
|
-
response = await self.client.post("
|
|
114
|
+
response = await self.client.post(f"/api/v2/device/{device_id}/trigger-speedtest/{test_type}")
|
|
115
115
|
return self._trigger_speedtest(response)
|
|
116
116
|
|
|
117
117
|
async def request(self, method: str, endpoint: str, **kwargs) -> httpx.Response:
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# generated by datamodel-codegen:
|
|
2
|
+
# filename: openapi.yaml
|
|
3
|
+
# timestamp: 2026-02-17T16:20:27+00:00
|
|
4
|
+
|
|
5
|
+
from __future__ import annotations
|
|
6
|
+
|
|
7
|
+
from pydantic import BaseModel
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class DataAPI(BaseModel):
|
|
11
|
+
api_key: str | None = None
|
|
12
|
+
buffer: int | None = None
|
|
13
|
+
datasets: list[str] | None = None
|
|
14
|
+
enabled: bool | None = None
|
|
15
|
+
identifiable: bool | None = None
|
|
16
|
+
port: int | None = None
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
class DataPush(BaseModel):
|
|
20
|
+
buffer_kb: int | None = None
|
|
21
|
+
datasets: list[str] | None = None
|
|
22
|
+
enabled: bool | None = None
|
|
23
|
+
format: str | None = None
|
|
24
|
+
identifiable: bool | None = None
|
|
25
|
+
interval_ms: int | None = None
|
|
26
|
+
url: str | None = None
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
class Datasets(BaseModel):
|
|
30
|
+
api: DataAPI | None = None
|
|
31
|
+
cloud_push: DataPush | None = None
|
|
32
|
+
datasets: list[str] | None = None
|
|
33
|
+
enabled: bool | None = None
|
|
34
|
+
push: DataPush | None = None
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# generated by datamodel-codegen:
|
|
2
|
+
# filename: openapi.yaml
|
|
3
|
+
# timestamp: 2026-02-17T16:20:27+00:00
|
|
4
|
+
|
|
5
|
+
from __future__ import annotations
|
|
6
|
+
|
|
7
|
+
from pydantic import BaseModel
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class AccountConfigEntitlements(BaseModel):
|
|
11
|
+
entitlements: list[str] | None = None
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class AccountPlanLimits(BaseModel):
|
|
15
|
+
deployment_tokens: int | None = None
|
|
16
|
+
devices: int | None = None
|
|
17
|
+
users: int | None = None
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
class OrganizationDeviceMetadata(BaseModel):
|
|
21
|
+
invite_id: str | None = None
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
class AccountPlan(BaseModel):
|
|
25
|
+
config: AccountConfigEntitlements | None = None
|
|
26
|
+
features: list[str] | None = None
|
|
27
|
+
limits: AccountPlanLimits | None = None
|
|
28
|
+
name: str | None = None
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
# generated by datamodel-codegen:
|
|
2
|
+
# filename: openapi.yaml
|
|
3
|
+
# timestamp: 2026-02-17T16:20:27+00:00
|
|
4
|
+
|
|
5
|
+
from __future__ import annotations
|
|
6
|
+
|
|
7
|
+
from typing import Any
|
|
8
|
+
|
|
9
|
+
from pydantic import BaseModel, Field
|
|
10
|
+
|
|
11
|
+
from . import config as config_1
|
|
12
|
+
from . import db
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class DeviceLinkOrganization(BaseModel):
|
|
16
|
+
icon_image_url: str | None = None
|
|
17
|
+
name: str | None = None
|
|
18
|
+
organization_id: str | None = None
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
class DeviceLinkOrganizationInvite(BaseModel):
|
|
22
|
+
description: str | None = None
|
|
23
|
+
icon_image_url: str | None = None
|
|
24
|
+
id: str | None = None
|
|
25
|
+
name: str | None = None
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
class OrganizationDeviceLink(BaseModel):
|
|
29
|
+
expiration_ts: str | None = None
|
|
30
|
+
invite: DeviceLinkOrganizationInvite | None = None
|
|
31
|
+
metadata: db.OrganizationDeviceMetadata | None = None
|
|
32
|
+
organization: DeviceLinkOrganization | None = None
|
|
33
|
+
relationship: str | None = None
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
class OrganizationDeviceResponse(BaseModel):
|
|
37
|
+
can_notify: bool | None = None
|
|
38
|
+
config: dict[str, Any] | None = Field(
|
|
39
|
+
None, description='device configuration, if available'
|
|
40
|
+
)
|
|
41
|
+
configuration_id: str | None = Field(
|
|
42
|
+
None, description='device configuration ID, if available'
|
|
43
|
+
)
|
|
44
|
+
is_connected: int | None = None
|
|
45
|
+
is_connected_updated_at: str | None = None
|
|
46
|
+
links: list[OrganizationDeviceLink] | None = Field(
|
|
47
|
+
None, description='links for device'
|
|
48
|
+
)
|
|
49
|
+
name: str | None = None
|
|
50
|
+
orb_id: str | None = None
|
|
51
|
+
relationship: str | None = Field(
|
|
52
|
+
None, description='organization-device relationship type'
|
|
53
|
+
)
|
|
54
|
+
summary: dict[str, Any] | None = Field(
|
|
55
|
+
None, description='last received summary from the device'
|
|
56
|
+
)
|
|
57
|
+
tags: dict[str, Any] | None = Field(
|
|
58
|
+
None, description='list of tags associated with the device'
|
|
59
|
+
)
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
class DatasetsRequest(BaseModel):
|
|
63
|
+
datasets_config: config_1.Datasets | None = None
|
|
64
|
+
duration: str | None = None
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
class OrganizationsResponse(BaseModel):
|
|
68
|
+
customer_id: str | None = None
|
|
69
|
+
name: str | None = None
|
|
70
|
+
organization_id: str | None = None
|
|
71
|
+
plan: db.AccountPlan | None = None
|
|
72
|
+
subscription_id: str | None = None
|
|
73
|
+
usage: db.AccountPlanLimits | None = None
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
# generated by datamodel-codegen:
|
|
2
|
-
# filename: openapi.yaml
|
|
3
|
-
# timestamp: 2025-11-11T08:49:27+00:00
|
|
4
|
-
|
|
5
|
-
from __future__ import annotations
|
|
6
|
-
|
|
7
|
-
from typing import List, Optional
|
|
8
|
-
|
|
9
|
-
from pydantic import BaseModel
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
class DataAPI(BaseModel):
|
|
13
|
-
api_key: Optional[str] = None
|
|
14
|
-
buffer: Optional[int] = None
|
|
15
|
-
datasets: Optional[List[str]] = None
|
|
16
|
-
enabled: Optional[bool] = None
|
|
17
|
-
identifiable: Optional[bool] = None
|
|
18
|
-
port: Optional[int] = None
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
class DataPush(BaseModel):
|
|
22
|
-
buffer_kb: Optional[int] = None
|
|
23
|
-
datasets: Optional[List[str]] = None
|
|
24
|
-
enabled: Optional[bool] = None
|
|
25
|
-
format: Optional[str] = None
|
|
26
|
-
identifiable: Optional[bool] = None
|
|
27
|
-
interval_ms: Optional[int] = None
|
|
28
|
-
url: Optional[str] = None
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
class Datasets(BaseModel):
|
|
32
|
-
api: Optional[DataAPI] = None
|
|
33
|
-
cloud_push: Optional[DataPush] = None
|
|
34
|
-
datasets: Optional[List[str]] = None
|
|
35
|
-
enabled: Optional[bool] = None
|
|
36
|
-
push: Optional[DataPush] = None
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
# generated by datamodel-codegen:
|
|
2
|
-
# filename: openapi.yaml
|
|
3
|
-
# timestamp: 2025-11-11T08:49:27+00:00
|
|
4
|
-
|
|
5
|
-
from __future__ import annotations
|
|
6
|
-
|
|
7
|
-
from typing import List, Optional
|
|
8
|
-
|
|
9
|
-
from pydantic import BaseModel
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
class AccountConfigEntitlements(BaseModel):
|
|
13
|
-
entitlements: Optional[List[str]] = None
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
class AccountPlanLimits(BaseModel):
|
|
17
|
-
deployment_tokens: Optional[int] = None
|
|
18
|
-
devices: Optional[int] = None
|
|
19
|
-
users: Optional[int] = None
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
class AccountPlan(BaseModel):
|
|
23
|
-
config: Optional[AccountConfigEntitlements] = None
|
|
24
|
-
features: Optional[List[str]] = None
|
|
25
|
-
limits: Optional[AccountPlanLimits] = None
|
|
26
|
-
name: Optional[str] = None
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
# generated by datamodel-codegen:
|
|
2
|
-
# filename: openapi.yaml
|
|
3
|
-
# timestamp: 2025-11-11T08:49:27+00:00
|
|
4
|
-
|
|
5
|
-
from __future__ import annotations
|
|
6
|
-
|
|
7
|
-
from typing import Any, Dict, Optional
|
|
8
|
-
|
|
9
|
-
from pydantic import BaseModel, Field
|
|
10
|
-
|
|
11
|
-
from . import config as config_1
|
|
12
|
-
from . import db
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
class OrganizationDeviceResponse(BaseModel):
|
|
16
|
-
can_notify: Optional[bool] = None
|
|
17
|
-
config: Optional[Dict[str, Any]] = Field(
|
|
18
|
-
None, description='device configuration, if available'
|
|
19
|
-
)
|
|
20
|
-
configuration_id: Optional[str] = Field(
|
|
21
|
-
None, description='device configuration ID, if available'
|
|
22
|
-
)
|
|
23
|
-
is_connected: Optional[int] = None
|
|
24
|
-
is_connected_updated_at: Optional[str] = None
|
|
25
|
-
name: Optional[str] = None
|
|
26
|
-
orb_id: Optional[str] = None
|
|
27
|
-
summary: Optional[Dict[str, Any]] = Field(
|
|
28
|
-
None, description='last received summary from the device'
|
|
29
|
-
)
|
|
30
|
-
tags: Optional[Dict[str, Any]] = Field(
|
|
31
|
-
None, description='list of tags associated with the device'
|
|
32
|
-
)
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
class DatasetsRequest(BaseModel):
|
|
36
|
-
datasets_config: Optional[config_1.Datasets] = None
|
|
37
|
-
duration: Optional[str] = None
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
class OrganizationsResponse(BaseModel):
|
|
41
|
-
customer_id: Optional[str] = None
|
|
42
|
-
name: Optional[str] = None
|
|
43
|
-
organization_id: Optional[str] = None
|
|
44
|
-
plan: Optional[db.AccountPlan] = None
|
|
45
|
-
subscription_id: Optional[str] = None
|
|
46
|
-
usage: Optional[db.AccountPlanLimits] = None
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{orb_cloud_client-1.3.1 → orb_cloud_client-1.3.3}/orb_cloud_client.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{orb_cloud_client-1.3.1 → orb_cloud_client-1.3.3}/orb_cloud_client.egg-info/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|