Skip to content

add property bookingEndpoint to devices #83

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions clients/api/python/src/crosslab/api_client/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,7 @@ class ListDevicesResponse200Items(TypedDict):
- isPublic: If true, the device may be seen and used by every user.
- viewer: List of users who can view the device
- owner: List of users who own the device
- bookingEndpoint: Endpoint where the device may be booked.
"""
url: str
name: str
Expand All @@ -279,6 +280,7 @@ class ListDevicesResponse200Items(TypedDict):
isPublic: bool
viewer: NotRequired[List[ListDevicesResponse200ItemsViewerItems]]
owner: NotRequired[List[ListDevicesResponse200ItemsOwnerItems]]
bookingEndpoint: str


ListDevicesResponse200: TypeAlias = List[ListDevicesResponse200Items]
Expand Down Expand Up @@ -325,6 +327,7 @@ class CreateDeviceRequestAlt1(TypedDict):
- isPublic: If true, the device may be seen and used by every user.
- viewer: List of users who can view the device
- owner: List of users who own the device
- bookingEndpoint: Endpoint where the device may be booked.
- instantiateUrl
- services
"""
Expand All @@ -335,6 +338,7 @@ class CreateDeviceRequestAlt1(TypedDict):
isPublic: bool
viewer: NotRequired[List[CreateDeviceRequestAlt1ViewerItems]]
owner: NotRequired[List[CreateDeviceRequestAlt1OwnerItems]]
bookingEndpoint: str
instantiateUrl: NotRequired[str]
services: NotRequired[List[CreateDeviceRequestAlt1ServicesItems]]

Expand Down Expand Up @@ -387,6 +391,7 @@ class CreateDeviceRequestAlt2(TypedDict):
- isPublic: If true, the device may be seen and used by every user.
- viewer: List of users who can view the device
- owner: List of users who own the device
- bookingEndpoint: Endpoint where the device may be booked.
- connected: If true, the device is connected to the service and can be used.

- announcedAvailability: A list of time slots that the maintainer of the device announced it is available
Expand All @@ -401,6 +406,7 @@ class CreateDeviceRequestAlt2(TypedDict):
isPublic: bool
viewer: NotRequired[List[CreateDeviceRequestAlt2ViewerItems]]
owner: NotRequired[List[CreateDeviceRequestAlt2OwnerItems]]
bookingEndpoint: str
connected: NotRequired[bool]
announcedAvailability: NotRequired[List[CreateDeviceRequestAlt2AnnouncedavailabilityItems]]
experiment: NotRequired[str]
Expand Down Expand Up @@ -445,6 +451,7 @@ class CreateDeviceRequestAlt3(TypedDict):
- isPublic: If true, the device may be seen and used by every user.
- viewer: List of users who can view the device
- owner: List of users who own the device
- bookingEndpoint: Endpoint where the device may be booked.
- codeUrl
- services
"""
Expand All @@ -455,6 +462,7 @@ class CreateDeviceRequestAlt3(TypedDict):
isPublic: bool
viewer: NotRequired[List[CreateDeviceRequestAlt3ViewerItems]]
owner: NotRequired[List[CreateDeviceRequestAlt3OwnerItems]]
bookingEndpoint: str
codeUrl: NotRequired[str]
services: NotRequired[List[CreateDeviceRequestAlt3ServicesItems]]

Expand Down Expand Up @@ -493,6 +501,7 @@ class CreateDeviceRequestAlt4(TypedDict):
- isPublic: If true, the device may be seen and used by every user.
- viewer: List of users who can view the device
- owner: List of users who own the device
- bookingEndpoint: Endpoint where the device may be booked.
- devices
"""
url: str
Expand All @@ -502,6 +511,7 @@ class CreateDeviceRequestAlt4(TypedDict):
isPublic: bool
viewer: NotRequired[List[CreateDeviceRequestAlt4ViewerItems]]
owner: NotRequired[List[CreateDeviceRequestAlt4OwnerItems]]
bookingEndpoint: str
devices: List[CreateDeviceRequestAlt4DevicesItems]


Expand Down Expand Up @@ -546,6 +556,7 @@ class CreateDeviceResponse201Alt1(TypedDict):
- isPublic: If true, the device may be seen and used by every user.
- viewer: List of users who can view the device
- owner: List of users who own the device
- bookingEndpoint: Endpoint where the device may be booked.
- instantiateUrl
- services
"""
Expand All @@ -556,6 +567,7 @@ class CreateDeviceResponse201Alt1(TypedDict):
isPublic: bool
viewer: NotRequired[List[CreateDeviceResponse201Alt1ViewerItems]]
owner: NotRequired[List[CreateDeviceResponse201Alt1OwnerItems]]
bookingEndpoint: str
instantiateUrl: NotRequired[str]
services: NotRequired[List[CreateDeviceResponse201Alt1ServicesItems]]

Expand Down Expand Up @@ -608,6 +620,7 @@ class CreateDeviceResponse201Alt2(TypedDict):
- isPublic: If true, the device may be seen and used by every user.
- viewer: List of users who can view the device
- owner: List of users who own the device
- bookingEndpoint: Endpoint where the device may be booked.
- connected: If true, the device is connected to the service and can be used.

- announcedAvailability: A list of time slots that the maintainer of the device announced it is available
Expand All @@ -622,6 +635,7 @@ class CreateDeviceResponse201Alt2(TypedDict):
isPublic: bool
viewer: NotRequired[List[CreateDeviceResponse201Alt2ViewerItems]]
owner: NotRequired[List[CreateDeviceResponse201Alt2OwnerItems]]
bookingEndpoint: str
connected: NotRequired[bool]
announcedAvailability: NotRequired[List[CreateDeviceResponse201Alt2AnnouncedavailabilityItems]]
experiment: NotRequired[str]
Expand Down Expand Up @@ -666,6 +680,7 @@ class CreateDeviceResponse201Alt3(TypedDict):
- isPublic: If true, the device may be seen and used by every user.
- viewer: List of users who can view the device
- owner: List of users who own the device
- bookingEndpoint: Endpoint where the device may be booked.
- codeUrl
- services
"""
Expand All @@ -676,6 +691,7 @@ class CreateDeviceResponse201Alt3(TypedDict):
isPublic: bool
viewer: NotRequired[List[CreateDeviceResponse201Alt3ViewerItems]]
owner: NotRequired[List[CreateDeviceResponse201Alt3OwnerItems]]
bookingEndpoint: str
codeUrl: NotRequired[str]
services: NotRequired[List[CreateDeviceResponse201Alt3ServicesItems]]

Expand Down Expand Up @@ -714,6 +730,7 @@ class CreateDeviceResponse201Alt4(TypedDict):
- isPublic: If true, the device may be seen and used by every user.
- viewer: List of users who can view the device
- owner: List of users who own the device
- bookingEndpoint: Endpoint where the device may be booked.
- devices
"""
url: str
Expand All @@ -723,6 +740,7 @@ class CreateDeviceResponse201Alt4(TypedDict):
isPublic: bool
viewer: NotRequired[List[CreateDeviceResponse201Alt4ViewerItems]]
owner: NotRequired[List[CreateDeviceResponse201Alt4OwnerItems]]
bookingEndpoint: str
devices: List[CreateDeviceResponse201Alt4DevicesItems]


Expand Down Expand Up @@ -770,6 +788,7 @@ class GetDeviceResponse200Alt1(TypedDict):
- isPublic: If true, the device may be seen and used by every user.
- viewer: List of users who can view the device
- owner: List of users who own the device
- bookingEndpoint: Endpoint where the device may be booked.
- instantiateUrl
- services
"""
Expand All @@ -780,6 +799,7 @@ class GetDeviceResponse200Alt1(TypedDict):
isPublic: bool
viewer: NotRequired[List[GetDeviceResponse200Alt1ViewerItems]]
owner: NotRequired[List[GetDeviceResponse200Alt1OwnerItems]]
bookingEndpoint: str
instantiateUrl: NotRequired[str]
services: NotRequired[List[GetDeviceResponse200Alt1ServicesItems]]

Expand Down Expand Up @@ -832,6 +852,7 @@ class GetDeviceResponse200Alt2(TypedDict):
- isPublic: If true, the device may be seen and used by every user.
- viewer: List of users who can view the device
- owner: List of users who own the device
- bookingEndpoint: Endpoint where the device may be booked.
- connected: If true, the device is connected to the service and can be used.

- announcedAvailability: A list of time slots that the maintainer of the device announced it is available
Expand All @@ -846,6 +867,7 @@ class GetDeviceResponse200Alt2(TypedDict):
isPublic: bool
viewer: NotRequired[List[GetDeviceResponse200Alt2ViewerItems]]
owner: NotRequired[List[GetDeviceResponse200Alt2OwnerItems]]
bookingEndpoint: str
connected: NotRequired[bool]
announcedAvailability: NotRequired[List[GetDeviceResponse200Alt2AnnouncedavailabilityItems]]
experiment: NotRequired[str]
Expand Down Expand Up @@ -890,6 +912,7 @@ class GetDeviceResponse200Alt3(TypedDict):
- isPublic: If true, the device may be seen and used by every user.
- viewer: List of users who can view the device
- owner: List of users who own the device
- bookingEndpoint: Endpoint where the device may be booked.
- codeUrl
- services
"""
Expand All @@ -900,6 +923,7 @@ class GetDeviceResponse200Alt3(TypedDict):
isPublic: bool
viewer: NotRequired[List[GetDeviceResponse200Alt3ViewerItems]]
owner: NotRequired[List[GetDeviceResponse200Alt3OwnerItems]]
bookingEndpoint: str
codeUrl: NotRequired[str]
services: NotRequired[List[GetDeviceResponse200Alt3ServicesItems]]

Expand Down Expand Up @@ -938,6 +962,7 @@ class GetDeviceResponse200Alt4(TypedDict):
- isPublic: If true, the device may be seen and used by every user.
- viewer: List of users who can view the device
- owner: List of users who own the device
- bookingEndpoint: Endpoint where the device may be booked.
- devices
"""
url: str
Expand All @@ -947,6 +972,7 @@ class GetDeviceResponse200Alt4(TypedDict):
isPublic: bool
viewer: NotRequired[List[GetDeviceResponse200Alt4ViewerItems]]
owner: NotRequired[List[GetDeviceResponse200Alt4OwnerItems]]
bookingEndpoint: str
devices: List[GetDeviceResponse200Alt4DevicesItems]


Expand Down Expand Up @@ -1191,6 +1217,7 @@ class UpdateDeviceResponse200Alt1(TypedDict):
- isPublic: If true, the device may be seen and used by every user.
- viewer: List of users who can view the device
- owner: List of users who own the device
- bookingEndpoint: Endpoint where the device may be booked.
- instantiateUrl
- services
"""
Expand All @@ -1201,6 +1228,7 @@ class UpdateDeviceResponse200Alt1(TypedDict):
isPublic: bool
viewer: NotRequired[List[UpdateDeviceResponse200Alt1ViewerItems]]
owner: NotRequired[List[UpdateDeviceResponse200Alt1OwnerItems]]
bookingEndpoint: str
instantiateUrl: NotRequired[str]
services: NotRequired[List[UpdateDeviceResponse200Alt1ServicesItems]]

Expand Down Expand Up @@ -1253,6 +1281,7 @@ class UpdateDeviceResponse200Alt2(TypedDict):
- isPublic: If true, the device may be seen and used by every user.
- viewer: List of users who can view the device
- owner: List of users who own the device
- bookingEndpoint: Endpoint where the device may be booked.
- connected: If true, the device is connected to the service and can be used.

- announcedAvailability: A list of time slots that the maintainer of the device announced it is available
Expand All @@ -1267,6 +1296,7 @@ class UpdateDeviceResponse200Alt2(TypedDict):
isPublic: bool
viewer: NotRequired[List[UpdateDeviceResponse200Alt2ViewerItems]]
owner: NotRequired[List[UpdateDeviceResponse200Alt2OwnerItems]]
bookingEndpoint: str
connected: NotRequired[bool]
announcedAvailability: NotRequired[List[UpdateDeviceResponse200Alt2AnnouncedavailabilityItems]]
experiment: NotRequired[str]
Expand Down Expand Up @@ -1311,6 +1341,7 @@ class UpdateDeviceResponse200Alt3(TypedDict):
- isPublic: If true, the device may be seen and used by every user.
- viewer: List of users who can view the device
- owner: List of users who own the device
- bookingEndpoint: Endpoint where the device may be booked.
- codeUrl
- services
"""
Expand All @@ -1321,6 +1352,7 @@ class UpdateDeviceResponse200Alt3(TypedDict):
isPublic: bool
viewer: NotRequired[List[UpdateDeviceResponse200Alt3ViewerItems]]
owner: NotRequired[List[UpdateDeviceResponse200Alt3OwnerItems]]
bookingEndpoint: str
codeUrl: NotRequired[str]
services: NotRequired[List[UpdateDeviceResponse200Alt3ServicesItems]]

Expand Down Expand Up @@ -1359,6 +1391,7 @@ class UpdateDeviceResponse200Alt4(TypedDict):
- isPublic: If true, the device may be seen and used by every user.
- viewer: List of users who can view the device
- owner: List of users who own the device
- bookingEndpoint: Endpoint where the device may be booked.
- devices
"""
url: str
Expand All @@ -1368,6 +1401,7 @@ class UpdateDeviceResponse200Alt4(TypedDict):
isPublic: bool
viewer: NotRequired[List[UpdateDeviceResponse200Alt4ViewerItems]]
owner: NotRequired[List[UpdateDeviceResponse200Alt4OwnerItems]]
bookingEndpoint: str
devices: List[UpdateDeviceResponse200Alt4DevicesItems]


Expand Down Expand Up @@ -1428,6 +1462,7 @@ class InstantiateDeviceResponse201Instance(TypedDict):
- isPublic: If true, the device may be seen and used by every user.
- viewer: List of users who can view the device
- owner: List of users who own the device
- bookingEndpoint: Endpoint where the device may be booked.
- connected: If true, the device is connected to the service and can be used.

- announcedAvailability: A list of time slots that the maintainer of the device announced it is available
Expand All @@ -1442,6 +1477,7 @@ class InstantiateDeviceResponse201Instance(TypedDict):
isPublic: bool
viewer: NotRequired[List[InstantiateDeviceResponse201InstanceViewerItems]]
owner: NotRequired[List[InstantiateDeviceResponse201InstanceOwnerItems]]
bookingEndpoint: str
connected: NotRequired[bool]
announcedAvailability: NotRequired[List[InstantiateDeviceResponse201InstanceAnnouncedavailabilityItems]]
experiment: NotRequired[str]
Expand Down
Loading