Skip to content
Merged
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
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.9.28 (2026-01-19)

- Re-generate graph api.

## 0.9.27 (2026-01-14)

### Changes
Expand Down
2 changes: 1 addition & 1 deletion python/mujinwebstackclient/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
__version__ = '0.9.27'
__version__ = '0.9.28'

# Do not forget to update CHANGELOG.md
176 changes: 173 additions & 3 deletions python/mujinwebstackclient/webstackgraphclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# DO NOT EDIT, THIS FILE WAS AUTO-GENERATED
# GENERATED BY: mujin_webstackclientpy_generategraphclient.py
# GENERATED AGAINST: mujinwebstack/2.36.5+2d8243f00f38c1ebf0ab0d3a8eedd62886c5fa8f
# GENERATED AGAINST: mujinwebstack/3.1.0+b10543f54c276b552bfe7157162398a1505ae3b0
#

import warnings
Expand Down Expand Up @@ -136,6 +136,27 @@ def CommandSensorBridgesEx(
parameterNameTypeValues: List[Tuple[str, str, Any]] = []
return self._CallSimpleGraphAPI('query', operationName='CommandSensorBridgesEx', parameterNameTypeValues=parameterNameTypeValues, returnType='CommandSensorBridgesExQueries', fields=fields, timeout=timeout)

def CommandVisionManagerEx(
self,
slaverequestid: str,
fields: Optional[Union[List[str], Dict[str, Any]]] = None,
timeout: Optional[float] = None,
) -> Any:
"""

Args:
slaverequestid (str):
fields (list or dict, optional): Specifies a subset of fields to return.
timeout (float, optional): Number of seconds to wait for response.

Returns:
CommandVisionManagerExQueries:
"""
parameterNameTypeValues: List[Tuple[str, str, Any]] = [
('slaverequestid', 'String!', slaverequestid),
]
return self._CallSimpleGraphAPI('query', operationName='CommandVisionManagerEx', parameterNameTypeValues=parameterNameTypeValues, returnType='CommandVisionManagerExQueries', fields=fields, timeout=timeout)

def ConfigureRobotBridgesEx(
self,
fields: Optional[Union[List[str], Dict[str, Any]]] = None,
Expand Down Expand Up @@ -404,6 +425,27 @@ def GetApplicationConfiguration(
]
return self._CallSimpleGraphAPI('query', operationName='GetApplicationConfiguration', parameterNameTypeValues=parameterNameTypeValues, returnType='Configuration', fields=fields, timeout=timeout)

def GetApplicationTemplate(
self,
applicationTemplateId: str,
fields: Optional[Union[List[str], Dict[str, Any]]] = None,
timeout: Optional[float] = None,
) -> Any:
"""Get a specific application template.

Args:
applicationTemplateId (str): ID of an existing application template.
fields (list or dict, optional): Specifies a subset of fields to return.
timeout (float, optional): Number of seconds to wait for response.

Returns:
ApplicationTemplate: ApplicationTemplate for the frontend.
"""
parameterNameTypeValues: List[Tuple[str, str, Any]] = [
('applicationTemplateId', 'String!', applicationTemplateId),
]
return self._CallSimpleGraphAPI('query', operationName='GetApplicationTemplate', parameterNameTypeValues=parameterNameTypeValues, returnType='ApplicationTemplate', fields=fields, timeout=timeout)

def GetAttachedSensor(
self,
attachedSensorId: str,
Expand Down Expand Up @@ -548,6 +590,23 @@ def GetConfigurationRevision(
]
return self._CallSimpleGraphAPI('query', operationName='GetConfigurationRevision', parameterNameTypeValues=parameterNameTypeValues, returnType='ConfigurationRevision', fields=fields, timeout=timeout)

def GetConfigurationsResetToken(
self,
fields: Optional[Union[List[str], Dict[str, Any]]] = None,
timeout: Optional[float] = None,
) -> str:
"""GetConfigurationsResetToken returns a unique token which the caller must provide to ResetConfigurations to complete the reset.

Args:
fields (list or dict, optional): Specifies a subset of fields to return.
timeout (float, optional): Number of seconds to wait for response.

Returns:
str: The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
"""
parameterNameTypeValues: List[Tuple[str, str, Any]] = []
return self._CallSimpleGraphAPI('query', operationName='GetConfigurationsResetToken', parameterNameTypeValues=parameterNameTypeValues, returnType='String', fields=fields, timeout=timeout)

def GetConnectedBody(
self,
bodyId: str,
Expand Down Expand Up @@ -581,6 +640,23 @@ def GetConnectedBody(
]
return self._CallSimpleGraphAPI('query', operationName='GetConnectedBody', parameterNameTypeValues=parameterNameTypeValues, returnType='ConnectedBody', fields=fields, timeout=timeout)

def GetControllerResetToken(
self,
fields: Optional[Union[List[str], Dict[str, Any]]] = None,
timeout: Optional[float] = None,
) -> str:
"""GetControllerResetToken returns a token which the caller must provide to ResetController to complete the reset.

Args:
fields (list or dict, optional): Specifies a subset of fields to return.
timeout (float, optional): Number of seconds to wait for response.

Returns:
str: The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
"""
parameterNameTypeValues: List[Tuple[str, str, Any]] = []
return self._CallSimpleGraphAPI('query', operationName='GetControllerResetToken', parameterNameTypeValues=parameterNameTypeValues, returnType='String', fields=fields, timeout=timeout)

def GetControllerSystemConfiguration(
self,
applicationId: Optional[str] = None,
Expand Down Expand Up @@ -1351,6 +1427,9 @@ def GetLogEntry(
├─ PalletSandwicherLogEntry
├─ PalletStackerLogEntry
├─ MobileRobotControlSystemLogEntry
├─ GenericOccurrenceMetricLogEntry
├─ GenericDistributionMetricLogEntry
├─ GenericTimeDurationMetricLogEntry
└─ GraspSetLogEntry
```
"""
Expand Down Expand Up @@ -2500,6 +2579,28 @@ def ListApplicationConfigurations(
]
return self._CallSimpleGraphAPI('query', operationName='ListApplicationConfigurations', parameterNameTypeValues=parameterNameTypeValues, returnType='ListApplicationConfigurationsReturnValue', fields=fields, timeout=timeout)

@UseLazyGraphQuery
def ListApplicationTemplates(
self,
options: Optional[Any] = None,
fields: Optional[Union[List[str], Dict[str, Any]]] = None,
timeout: Optional[float] = None,
) -> Any:
"""List all application templates.

Args:
options (ListOptionsWithAggregationsInput, optional):
fields (list or dict, optional): Specifies a subset of fields to return.
timeout (float, optional): Number of seconds to wait for response.

Returns:
ListApplicationTemplatesReturnValue:
"""
parameterNameTypeValues: List[Tuple[str, str, Any]] = [
('options', 'ListOptionsWithAggregationsInput', options),
]
return self._CallSimpleGraphAPI('query', operationName='ListApplicationTemplates', parameterNameTypeValues=parameterNameTypeValues, returnType='ListApplicationTemplatesReturnValue', fields=fields, timeout=timeout)

@UseLazyGraphQuery
def ListAttachedSensors(
self,
Expand Down Expand Up @@ -7730,6 +7831,30 @@ def IdentifyNetworkInterface(
]
return self._CallSimpleGraphAPI('mutation', operationName='IdentifyNetworkInterface', parameterNameTypeValues=parameterNameTypeValues, returnType='Void', fields=fields, timeout=timeout)

def InstantiateApplicationTemplate(
self,
applicationTemplateId: str,
applicationConfiguration: Optional[Any] = None,
fields: Optional[Union[List[str], Dict[str, Any]]] = None,
timeout: Optional[float] = None,
) -> Any:
"""Instantiate an application template.

Args:
applicationTemplateId (str): ID of the application template to instantiate.
applicationConfiguration (ApplicationConfigurationInput, optional): Properties to be applied on the newly created application configuration.
fields (list or dict, optional): Specifies a subset of fields to return.
timeout (float, optional): Number of seconds to wait for response.

Returns:
InstantiateApplicationTemplateReturnValue: The result of an application template instantiation.
"""
parameterNameTypeValues: List[Tuple[str, str, Any]] = [
('applicationTemplateId', 'String!', applicationTemplateId),
('applicationConfiguration', 'ApplicationConfigurationInput', applicationConfiguration),
]
return self._CallSimpleGraphAPI('mutation', operationName='InstantiateApplicationTemplate', parameterNameTypeValues=parameterNameTypeValues, returnType='InstantiateApplicationTemplateReturnValue', fields=fields, timeout=timeout)

def Login(
self,
username: str,
Expand Down Expand Up @@ -9287,6 +9412,51 @@ def RemoveUserPassword(
]
return self._CallSimpleGraphAPI('mutation', operationName='RemoveUserPassword', parameterNameTypeValues=parameterNameTypeValues, returnType='Void', fields=fields, timeout=timeout)

def ResetConfigurations(
self,
token: str,
fields: Optional[Union[List[str], Dict[str, Any]]] = None,
timeout: Optional[float] = None,
) -> None:
"""ResetConfigurations resets all user configurations to their default values.
This operation is irreversible and it is recommended to backup the data before calling this api.

Args:
token (str): Token for configuration reset
fields (list or dict, optional): Specifies a subset of fields to return.
timeout (float, optional): Number of seconds to wait for response.

Returns:
Void:
"""
parameterNameTypeValues: List[Tuple[str, str, Any]] = [
('token', 'String!', token),
]
return self._CallSimpleGraphAPI('mutation', operationName='ResetConfigurations', parameterNameTypeValues=parameterNameTypeValues, returnType='Void', fields=fields, timeout=timeout)

def ResetController(
self,
token: str,
fields: Optional[Union[List[str], Dict[str, Any]]] = None,
timeout: Optional[float] = None,
) -> None:
"""ResetController resets the controller and restarts the runtime container.
This is an irreversible destructive operation and will remove all user data such as accounts, configurations, environments, ITL programs etc.
It is highly recommended to backup the data before calling this api.

Args:
token (str): Token for controller reset
fields (list or dict, optional): Specifies a subset of fields to return.
timeout (float, optional): Number of seconds to wait for response.

Returns:
Void:
"""
parameterNameTypeValues: List[Tuple[str, str, Any]] = [
('token', 'String!', token),
]
return self._CallSimpleGraphAPI('mutation', operationName='ResetController', parameterNameTypeValues=parameterNameTypeValues, returnType='Void', fields=fields, timeout=timeout)

def RestartPlanningServer(
self,
fields: Optional[Union[List[str], Dict[str, Any]]] = None,
Expand Down Expand Up @@ -10686,13 +10856,13 @@ def CallbackFunction(error: Optional[ControllerGraphClientException], response:
fields (list or dict, optional): Specifies a subset of fields to return.

Returns:
SubscribeVisionManagerMasterStateReturns:
VisionManagerPublishedState:
"""
parameterNameTypeValues: List[Tuple[str, str, Any]] = [
('interval', 'String', interval),
('units', 'UnitSelectionInput', units),
]
return self._CallSubscribeGraphAPI(operationName='SubscribeVisionManagerMasterState', parameterNameTypeValues=parameterNameTypeValues, returnType='SubscribeVisionManagerMasterStateReturns', callbackFunction=callbackFunction, fields=fields)
return self._CallSubscribeGraphAPI(operationName='SubscribeVisionManagerMasterState', parameterNameTypeValues=parameterNameTypeValues, returnType='VisionManagerPublishedState', callbackFunction=callbackFunction, fields=fields)

def SubscribeWarehouseExecutionOrchestratorState(
self,
Expand Down