diff --git a/CHANGELOG.md b/CHANGELOG.md index 1d18ecf..d5c0dec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## 1.3.0 (2026-10-14) + +- Regenerated `webstackgraphclient.py` against the current webstack schema. It adds + `LockEnvironment` and `UnlockEnvironment`, which lock an environment against modification and + deletion until it is unlocked, along with the other queries and mutations webstack gained since + the client was last generated against 3.4.1. +- Removed the schedule event methods (`CreateScheduleEvent`, `DeleteAllScheduleEvents`, + `DeleteScheduleEvent`, `GetScheduleEvent`, `ListScheduleEventsWithInstances`, + `ModifyScheduleEvent`) and `SubscribeCloudAgentState`. Webstack replaced schedules with calendar + events and dropped cloud agent support, so these already failed against a current controller. + ## 1.2.1 (2026-09-23) - The `CreateLogEntries` annotation now says what the method accepts. The attachments of a log entry diff --git a/python/mujinwebstackclient/version.py b/python/mujinwebstackclient/version.py index 8e61226..306c65f 100644 --- a/python/mujinwebstackclient/version.py +++ b/python/mujinwebstackclient/version.py @@ -1,3 +1,3 @@ -__version__ = '1.2.1' +__version__ = '1.3.0' # Do not forget to update CHANGELOG.md diff --git a/python/mujinwebstackclient/webstackgraphclient.py b/python/mujinwebstackclient/webstackgraphclient.py index 27d491f..d7dff02 100644 --- a/python/mujinwebstackclient/webstackgraphclient.py +++ b/python/mujinwebstackclient/webstackgraphclient.py @@ -2,7 +2,7 @@ # # DO NOT EDIT, THIS FILE WAS AUTO-GENERATED # GENERATED BY: mujin_webstackclientpy_generategraphclient.py -# GENERATED AGAINST: mujinwebstack/3.4.1+a43bd19a40608dc3529686bfa31f75edb0fa59e6 +# GENERATED AGAINST: mujinwebstack/3.33.7+25977e0a91b006d692cc64ba9b496291de686888-dirty # import warnings @@ -98,6 +98,27 @@ def CommandProductionCycleOrchestrator( ] return self._CallSimpleGraphAPI('query', operationName='CommandProductionCycleOrchestrator', parameterNameTypeValues=parameterNameTypeValues, returnType='CommandProductionCycleOrchestratorQueries', fields=fields, timeout=timeout) + def CommandRedis( + self, + command: List[str], + fields: Optional[Union[List[str], Dict[str, Any]]] = None, + timeout: Optional[float] = None, + ) -> Optional[Any]: + """Sends a read-only Redis command and returns the result. + + Args: + command ([String]): The Redis command split into name and arguments (for example ["SET", "key", "value"]). + fields (list or dict, optional): Specifies a subset of fields to return. + timeout (float, optional): Number of seconds to wait for response. + + Returns: + Any: + """ + parameterNameTypeValues: List[Tuple[str, str, Any]] = [ + ('command', '[String!]!', command), + ] + return self._CallSimpleGraphAPI('query', operationName='CommandRedis', parameterNameTypeValues=parameterNameTypeValues, returnType='Any', fields=fields, timeout=timeout) + def CommandRobotBridgesEx( self, queueId: Optional[str] = None, @@ -577,6 +598,54 @@ def GetBodyParameters( ] return self._CallSimpleGraphAPI('query', operationName='GetBodyParameters', parameterNameTypeValues=parameterNameTypeValues, returnType='BodyParameters', fields=fields, timeout=timeout) + def GetCalendarEvent( + self, + calendarEventId: str, + instancesEndedAt: Optional[Any] = None, + instancesStartedAt: Optional[Any] = None, + fields: Optional[Union[List[str], Dict[str, Any]]] = None, + timeout: Optional[float] = None, + ) -> Any: + """Get a calendar event. + + Args: + calendarEventId (str): ID of the calendar event. + instancesEndedAt (DateTime, optional): The time until which calendar instances are requested. + instancesStartedAt (DateTime, optional): The time from which calendar instances are requested. + fields (list or dict, optional): Specifies a subset of fields to return. + timeout (float, optional): Number of seconds to wait for response. + + Returns: + CalendarEvent: + """ + parameterNameTypeValues: List[Tuple[str, str, Any]] = [ + ('calendarEventId', 'String!', calendarEventId), + ('instancesEndedAt', 'DateTime', instancesEndedAt), + ('instancesStartedAt', 'DateTime', instancesStartedAt), + ] + return self._CallSimpleGraphAPI('query', operationName='GetCalendarEvent', parameterNameTypeValues=parameterNameTypeValues, returnType='CalendarEvent', fields=fields, timeout=timeout) + + def GetCertificate( + self, + id: str, + fields: Optional[Union[List[str], Dict[str, Any]]] = None, + timeout: Optional[float] = None, + ) -> Any: + """Return a certificate with the given ID + + Args: + id (str): + fields (list or dict, optional): Specifies a subset of fields to return. + timeout (float, optional): Number of seconds to wait for response. + + Returns: + Certificate: Certificate is the data structure for a stored X.509 certificate. + """ + parameterNameTypeValues: List[Tuple[str, str, Any]] = [ + ('id', 'String!', id), + ] + return self._CallSimpleGraphAPI('query', operationName='GetCertificate', parameterNameTypeValues=parameterNameTypeValues, returnType='Certificate', fields=fields, timeout=timeout) + def GetConfiguration( self, configurationId: str, @@ -968,6 +1037,36 @@ def GetFeedbackHistory( ] return self._CallSimpleGraphAPI('query', operationName='GetFeedbackHistory', parameterNameTypeValues=parameterNameTypeValues, returnType='FeedbackHistory', fields=fields, timeout=timeout) + def GetFieldOfView( + self, + bodyId: str, + environmentId: str, + resolveReferences: Optional[bool] = None, + units: Optional[Any] = None, + fields: Optional[Union[List[str], Dict[str, Any]]] = None, + timeout: Optional[float] = None, + ) -> Any: + """Get the field of view in a body. + + Args: + bodyId (str): ID of the body. + environmentId (str): ID of the environment. + resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. + units (UnitSelectionInput, optional): Optional unit selection. + fields (list or dict, optional): Specifies a subset of fields to return. + timeout (float, optional): Number of seconds to wait for response. + + Returns: + FieldOfView: Field of view of a camera, sampled at one or more distances. + """ + parameterNameTypeValues: List[Tuple[str, str, Any]] = [ + ('bodyId', 'String!', bodyId), + ('environmentId', 'String!', environmentId), + ('resolveReferences', 'Boolean', resolveReferences), + ('units', 'UnitSelectionInput', units), + ] + return self._CallSimpleGraphAPI('query', operationName='GetFieldOfView', parameterNameTypeValues=parameterNameTypeValues, returnType='FieldOfView', fields=fields, timeout=timeout) + def GetGeometry( self, bodyId: str, @@ -1059,7 +1158,7 @@ def GetGraspSet( timeout (float, optional): Number of seconds to wait for response. Returns: - GraspSet: Represents a set of IKParams at which an object may be grasped. + GraspSet: Represents a set of IKParameters at which an object may be grasped. """ parameterNameTypeValues: List[Tuple[str, str, Any]] = [ ('bodyId', 'String!', bodyId), @@ -1160,6 +1259,28 @@ def GetGripperInfoAirChannel( ] return self._CallSimpleGraphAPI('query', operationName='GetGripperInfoAirChannel', parameterNameTypeValues=parameterNameTypeValues, returnType='GripperInfoAirChannel', fields=fields, timeout=timeout) + def GetGroup( + self, + groupId: str, + fields: Optional[Union[List[str], Dict[str, Any]]] = None, + timeout: Optional[float] = None, + ) -> Any: + """Get a single group by id. + + Args: + groupId (str): ID of the group. + fields (list or dict, optional): Specifies a subset of fields to return. + timeout (float, optional): Number of seconds to wait for response. + + Returns: + Group: Group of multiple User, a User can belong to multiple Group. + A User must belong to a Group to receive Role assignment. + """ + parameterNameTypeValues: List[Tuple[str, str, Any]] = [ + ('groupId', 'String!', groupId), + ] + return self._CallSimpleGraphAPI('query', operationName='GetGroup', parameterNameTypeValues=parameterNameTypeValues, returnType='Group', fields=fields, timeout=timeout) + def GetHypervisorCapabilities( self, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -1443,6 +1564,7 @@ def GetLogEntry( │ │ └─ CalibrationVisionModelParametersAppliedLogEntry │ └─ CalibrationVisionSingleShotModelParametersLogEntry │ └─ CalibrationVisionModelParametersAppliedLogEntry + ├─ VisionDetectorPipelineLogEntry ├─ AccountUserChangeLogEntry ├─ AccountGroupChangeLogEntry ├─ AccountRoleChangeLogEntry @@ -1453,12 +1575,16 @@ def GetLogEntry( ├─ ManualOperationLogEntry │ └─ ManualOperationFinishedLogEntry ├─ AlarmLogEntry + │ ├─ AlarmLogEntry │ └─ AlarmResolvedLogEntry ├─ ReceiveMessageLogEntry │ └─ ReceiveMessageFinishedLogEntry ├─ SendMessageLogEntry │ ├─ SendMessageAttemptLogEntry │ └─ SendMessageFinishedLogEntry + ├─ PackingClusterTaskLogEntry + │ ├─ PackingClusterTaskResultLogEntry + │ └─ PackingClusterTaskFinishedLogEntry ├─ WarehouseExecutionOrderLogEntry │ ├─ WarehouseExecutionOrderChangeLogEntry │ ├─ WarehouseExecutionOrderUpdateLogEntry @@ -1476,6 +1602,7 @@ def GetLogEntry( │ └─ WarehouseExecutionEjectFinishedLogEntry ├─ WarehouseExecutionDischargeLogEntry │ ├─ WarehouseExecutionDischargeChangeLogEntry + │ ├─ WarehouseExecutionDischargeUpdateLogEntry │ └─ WarehouseExecutionDischargeFinishedLogEntry ├─ WarehouseExecutionInductLogEntry │ ├─ WarehouseExecutionInductChangeLogEntry @@ -1487,17 +1614,34 @@ def GetLogEntry( │ ├─ WarehouseExecutionContainerChangeLogEntry │ └─ WarehouseExecutionContainerRemovedLogEntry ├─ WarehouseExecutionTaskLogEntry + │ ├─ WarehouseExecutionTaskUpdateLogEntry │ └─ WarehouseExecutionTaskFinishedLogEntry ├─ WarehouseExecutionScheduleReportLogEntry │ ├─ WarehouseExecutionScheduleReportSegmentLogEntry │ └─ WarehouseExecutionScheduleReportFinishedLogEntry + ├─ WarehouseExecutionTimelineIntervalLogEntry + │ └─ WarehouseExecutionTimelineIntervalFinishedLogEntry + ├─ SoukoManagementTaskLogEntry + │ ├─ SoukoManagementTaskStateUpdateLogEntry + │ └─ SoukoManagementTaskFinishedLogEntry + ├─ SoukoExecutionTaskLogEntry + │ ├─ SoukoExecutionTaskStateUpdateLogEntry + │ └─ SoukoExecutionTaskFinishedLogEntry ├─ MobileRobotTaskLogEntry │ └─ MobileRobotTaskFinishedLogEntry ├─ LabelerLogEntry ├─ PalletWrapperLogEntry ├─ PalletSandwicherLogEntry ├─ PalletStackerLogEntry + ├─ InboundOutboundStationLogEntry + ├─ ConveyorInboundOutboundStationLogEntry + ├─ PalletPoseEstimatorLogEntry ├─ MobileRobotControlSystemLogEntry + ├─ ModularRedisWarehouseControlSystemNotificationLogEntry + ├─ ModularRedisWarehouseControlSystemEjectStateLogEntry + ├─ ModularRedisWarehouseControlSystemOriconInboundLogEntry + ├─ ModularRedisWarehouseControlSystemASRSLogEntry + ├─ ModularRedisWarehouseControlSystemChuteSorterLogEntry ├─ GenericOccurrenceMetricLogEntry ├─ GenericDistributionMetricLogEntry ├─ GenericTimeDurationMetricLogEntry @@ -1987,32 +2131,27 @@ def GetRobotMotionParameters( ] return self._CallSimpleGraphAPI('query', operationName='GetRobotMotionParameters', parameterNameTypeValues=parameterNameTypeValues, returnType='RobotMotionParameters', fields=fields, timeout=timeout) - def GetScheduleEvent( + def GetRole( self, - scheduleEventId: str, - instancesEndedAt: Optional[Any] = None, - instancesStartedAt: Optional[Any] = None, + roleId: str, fields: Optional[Union[List[str], Dict[str, Any]]] = None, timeout: Optional[float] = None, ) -> Any: - """Get a schedule event. + """Get a single role by id. Args: - scheduleEventId (str): ID of the schedule event. - instancesEndedAt (DateTime, optional): The time until which schedule instances are requested. - instancesStartedAt (DateTime, optional): The time from which schedule instances are requested. + roleId (str): ID of the role. fields (list or dict, optional): Specifies a subset of fields to return. timeout (float, optional): Number of seconds to wait for response. Returns: - ScheduleEvent: + Role: Each Group can have zero or more Role assigned. + A Role can be assigned to multiple Group. """ parameterNameTypeValues: List[Tuple[str, str, Any]] = [ - ('scheduleEventId', 'String!', scheduleEventId), - ('instancesEndedAt', 'DateTime', instancesEndedAt), - ('instancesStartedAt', 'DateTime', instancesStartedAt), + ('roleId', 'String!', roleId), ] - return self._CallSimpleGraphAPI('query', operationName='GetScheduleEvent', parameterNameTypeValues=parameterNameTypeValues, returnType='ScheduleEvent', fields=fields, timeout=timeout) + return self._CallSimpleGraphAPI('query', operationName='GetRole', parameterNameTypeValues=parameterNameTypeValues, returnType='Role', fields=fields, timeout=timeout) def GetSensorBridgeModuleBySensorBridgeType( self, @@ -2421,6 +2560,27 @@ def GetUntypedWebAppConfiguration( ] return self._CallSimpleGraphAPI('query', operationName='GetUntypedWebAppConfiguration', parameterNameTypeValues=parameterNameTypeValues, returnType='Any', fields=fields, timeout=timeout) + def GetUser( + self, + userId: str, + fields: Optional[Union[List[str], Dict[str, Any]]] = None, + timeout: Optional[float] = None, + ) -> Any: + """Get a single user by id. + + Args: + userId (str): ID of the user. + fields (list or dict, optional): Specifies a subset of fields to return. + timeout (float, optional): Number of seconds to wait for response. + + Returns: + User: Represents one identity, such as “John Doe”. + """ + parameterNameTypeValues: List[Tuple[str, str, Any]] = [ + ('userId', 'String!', userId), + ] + return self._CallSimpleGraphAPI('query', operationName='GetUser', parameterNameTypeValues=parameterNameTypeValues, returnType='User', fields=fields, timeout=timeout) + def GetVisionTaskModuleByVisionTaskType( self, visionTaskType: str, @@ -2769,6 +2929,56 @@ def ListBodies( ] return self._CallSimpleGraphAPI('query', operationName='ListBodies', parameterNameTypeValues=parameterNameTypeValues, returnType='ListBodiesReturnValue', fields=fields, timeout=timeout) + @UseLazyGraphQuery + def ListCalendarEventsWithInstances( + self, + instancesEndedAt: Optional[Any] = None, + instancesStartedAt: Optional[Any] = None, + options: Optional[Any] = None, + fields: Optional[Union[List[str], Dict[str, Any]]] = None, + timeout: Optional[float] = None, + ) -> Any: + """List calendar events with matching instances. + + Args: + instancesEndedAt (DateTime, optional): The time until which calendar instances are requested. + instancesStartedAt (DateTime, optional): The time from which calendar instances are requested. + 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: + ListCalendarEventsWithInstancesReturnValue: + """ + parameterNameTypeValues: List[Tuple[str, str, Any]] = [ + ('instancesEndedAt', 'DateTime', instancesEndedAt), + ('instancesStartedAt', 'DateTime', instancesStartedAt), + ('options', 'ListOptionsWithAggregationsInput', options), + ] + return self._CallSimpleGraphAPI('query', operationName='ListCalendarEventsWithInstances', parameterNameTypeValues=parameterNameTypeValues, returnType='ListCalendarEventsWithInstancesReturnValue', fields=fields, timeout=timeout) + + @UseLazyGraphQuery + def ListCertificates( + self, + options: Optional[Any] = None, + fields: Optional[Union[List[str], Dict[str, Any]]] = None, + timeout: Optional[float] = None, + ) -> Any: + """Returns a list of certificates stored in the database. + + 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: + ListCertificatesReturnValue: Return value of ListCertificates + """ + parameterNameTypeValues: List[Tuple[str, str, Any]] = [ + ('options', 'ListOptionsWithAggregationsInput', options), + ] + return self._CallSimpleGraphAPI('query', operationName='ListCertificates', parameterNameTypeValues=parameterNameTypeValues, returnType='ListCertificatesReturnValue', fields=fields, timeout=timeout) + @UseLazyGraphQuery def ListChildlessLogEntries( self, @@ -3803,6 +4013,97 @@ def ListPendantModules( ] return self._CallSimpleGraphAPI('query', operationName='ListPendantModules', parameterNameTypeValues=parameterNameTypeValues, returnType='ListPendantModulesReturnValue', fields=fields, timeout=timeout) + @UseLazyGraphQuery + def ListPortalBackupJobs( + self, + portalName: str, + options: Optional[Any] = None, + fields: Optional[Union[List[str], Dict[str, Any]]] = None, + timeout: Optional[float] = None, + ) -> Any: + """ListPortalBackupJobs returns upload attempts (in-flight and +recently finished) tracked by this controller. Empty +portalName returns every portal's jobs newest-first. +pass a specific name to scope to one portal. Progress is +reported for queued and in-flight attempts alike and stays +queryable across a controller restart. + + Args: + portalName (str): PortalName, when non-empty, restricts the result set to one + portal's jobs. Empty returns every portal's jobs sorted + newest-first across portals. + 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: + ListPortalBackupJobsReturnValue: ListPortalBackupJobsReturnValue follows the standard list-query + envelope. Jobs is nil when there are no matching upload attempts + for the requested scope. + """ + parameterNameTypeValues: List[Tuple[str, str, Any]] = [ + ('portalName', 'String!', portalName), + ('options', 'ListOptionsWithAggregationsInput', options), + ] + return self._CallSimpleGraphAPI('query', operationName='ListPortalBackupJobs', parameterNameTypeValues=parameterNameTypeValues, returnType='ListPortalBackupJobsReturnValue', fields=fields, timeout=timeout) + + @UseLazyGraphQuery + def ListPortalBackups( + self, + portalName: str, + options: Optional[Any] = None, + fields: Optional[Union[List[str], Dict[str, Any]]] = None, + timeout: Optional[float] = None, + ) -> Any: + """ListPortalBackups returns the controller's backups stored on +the named portal. Empty portalName is rejected, callers must +pass a PortalState.Name returned by graphportal.ListPortalStates. + + Args: + portalName (str): + options (ListOptionsInput, optional): Optional list query parameters, used to filter returned results. + fields (list or dict, optional): Specifies a subset of fields to return. + timeout (float, optional): Number of seconds to wait for response. + + Returns: + ListPortalBackupsReturnValue: + """ + parameterNameTypeValues: List[Tuple[str, str, Any]] = [ + ('portalName', 'String!', portalName), + ('options', 'ListOptionsInput', options), + ] + return self._CallSimpleGraphAPI('query', operationName='ListPortalBackups', parameterNameTypeValues=parameterNameTypeValues, returnType='ListPortalBackupsReturnValue', fields=fields, timeout=timeout) + + @UseLazyGraphQuery + def ListPortalStates( + self, + fields: Optional[Union[List[str], Dict[str, Any]]] = None, + timeout: Optional[float] = None, + ) -> List[Any]: + """Enumerate portals configured on this controller and, for +each, fetch the currently-known organization binding from +the portal itself. Only portals with a SOCKS5 socket under +the local socket directory show up. A controller without the +portal_client ansible role applied returns an empty list. + + Args: + fields (list or dict, optional): Specifies a subset of fields to return. + timeout (float, optional): Number of seconds to wait for response. + + Returns: + [PortalState]: PortalState is the per-portal view ListPortalStates returns. One + entry per `.sock` found under the socket directory. The + fields beyond Name are populated from the portal's + /api/controller/info response. Connected is false (and + ControllerID / OrganizationID empty) when the socket exists but + the portal cannot be reached, e.g. the portal-client daemon has + lost its phone-home session. The uicore uses Linked and + OrganizationID to render "linked to org X" next to each portal + entry. + """ + parameterNameTypeValues: List[Tuple[str, str, Any]] = [] + return self._CallSimpleGraphAPI('query', operationName='ListPortalStates', parameterNameTypeValues=parameterNameTypeValues, returnType='PortalState', fields=fields, timeout=timeout) + @UseLazyGraphQuery def ListPositionConfigurations( self, @@ -3846,6 +4147,9 @@ def ListPrograms( ) -> Any: """List all programs. + Deprecated: + Use `ListProgramsEx` instead. + Args: options (ListOptionsInput, optional): Optional list query parameters, used to filter returned results. fields (list or dict, optional): Specifies a subset of fields to return. @@ -3854,11 +4158,34 @@ def ListPrograms( Returns: ListProgramsReturnValue: """ + warnings.warn('"ListPrograms" is deprecated. Use `ListProgramsEx` instead.', DeprecationWarning, stacklevel=2) parameterNameTypeValues: List[Tuple[str, str, Any]] = [ ('options', 'ListOptionsInput', options), ] return self._CallSimpleGraphAPI('query', operationName='ListPrograms', parameterNameTypeValues=parameterNameTypeValues, returnType='ListProgramsReturnValue', fields=fields, timeout=timeout) + @UseLazyGraphQuery + def ListProgramsEx( + self, + options: Optional[Any] = None, + fields: Optional[Union[List[str], Dict[str, Any]]] = None, + timeout: Optional[float] = None, + ) -> Any: + """List all programs using aggregation options. + + 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: + ListProgramsExReturnValue: + """ + parameterNameTypeValues: List[Tuple[str, str, Any]] = [ + ('options', 'ListOptionsWithAggregationsInput', options), + ] + return self._CallSimpleGraphAPI('query', operationName='ListProgramsEx', parameterNameTypeValues=parameterNameTypeValues, returnType='ListProgramsExReturnValue', fields=fields, timeout=timeout) + @UseLazyGraphQuery def ListProviderBridgeModules( self, @@ -4082,34 +4409,6 @@ def ListRoles( ] return self._CallSimpleGraphAPI('query', operationName='ListRoles', parameterNameTypeValues=parameterNameTypeValues, returnType='ListRolesReturnValue', fields=fields, timeout=timeout) - @UseLazyGraphQuery - def ListScheduleEventsWithInstances( - self, - instancesEndedAt: Optional[Any] = None, - instancesStartedAt: Optional[Any] = None, - options: Optional[Any] = None, - fields: Optional[Union[List[str], Dict[str, Any]]] = None, - timeout: Optional[float] = None, - ) -> Any: - """List schedule events with matching instances. - - Args: - instancesEndedAt (DateTime, optional): The time until which schedule instances are requested. - instancesStartedAt (DateTime, optional): The time from which schedule instances are requested. - 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: - ListScheduleEventsWithInstancesReturnValue: - """ - parameterNameTypeValues: List[Tuple[str, str, Any]] = [ - ('instancesEndedAt', 'DateTime', instancesEndedAt), - ('instancesStartedAt', 'DateTime', instancesStartedAt), - ('options', 'ListOptionsWithAggregationsInput', options), - ] - return self._CallSimpleGraphAPI('query', operationName='ListScheduleEventsWithInstances', parameterNameTypeValues=parameterNameTypeValues, returnType='ListScheduleEventsWithInstancesReturnValue', fields=fields, timeout=timeout) - @UseLazyGraphQuery def ListSensorBridgeModules( self, @@ -4387,6 +4686,9 @@ def ListWebApps( ) -> Any: """List all web apps. + Deprecated: + Use `ListWebAppsEx` instead. + Args: options (ListOptionsInput, optional): Optional list query parameters, used to filter returned results. fields (list or dict, optional): Specifies a subset of fields to return. @@ -4395,16 +4697,61 @@ def ListWebApps( Returns: ListWebAppsReturnValue: """ + warnings.warn('"ListWebApps" is deprecated. Use `ListWebAppsEx` instead.', DeprecationWarning, stacklevel=2) parameterNameTypeValues: List[Tuple[str, str, Any]] = [ ('options', 'ListOptionsInput', options), ] return self._CallSimpleGraphAPI('query', operationName='ListWebApps', parameterNameTypeValues=parameterNameTypeValues, returnType='ListWebAppsReturnValue', fields=fields, timeout=timeout) - def Ping( + @UseLazyGraphQuery + def ListWebAppsEx( self, - host: str, - size: Optional[int] = None, - ttl: Optional[int] = None, + options: Optional[Any] = None, + fields: Optional[Union[List[str], Dict[str, Any]]] = None, + timeout: Optional[float] = None, + ) -> Any: + """List all web apps using aggregation options. + + 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: + ListWebAppsExReturnValue: + """ + parameterNameTypeValues: List[Tuple[str, str, Any]] = [ + ('options', 'ListOptionsWithAggregationsInput', options), + ] + return self._CallSimpleGraphAPI('query', operationName='ListWebAppsEx', parameterNameTypeValues=parameterNameTypeValues, returnType='ListWebAppsExReturnValue', fields=fields, timeout=timeout) + + @UseLazyGraphQuery + def ListWebAppsFromWebAppStore( + self, + options: Optional[Any] = None, + fields: Optional[Union[List[str], Dict[str, Any]]] = None, + timeout: Optional[float] = None, + ) -> Any: + """Search for apps available in the remote web app store. + + 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: + ListWebAppsFromWebAppStoreReturnValue: + """ + parameterNameTypeValues: List[Tuple[str, str, Any]] = [ + ('options', 'ListOptionsWithAggregationsInput', options), + ] + return self._CallSimpleGraphAPI('query', operationName='ListWebAppsFromWebAppStore', parameterNameTypeValues=parameterNameTypeValues, returnType='ListWebAppsFromWebAppStoreReturnValue', fields=fields, timeout=timeout) + + def Ping( + self, + host: str, + size: Optional[int] = None, + ttl: Optional[int] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, timeout: Optional[float] = None, ) -> Any: @@ -4909,6 +5256,27 @@ def CommandProductionCycleOrchestrator( ] return self._CallSimpleGraphAPI('mutation', operationName='CommandProductionCycleOrchestrator', parameterNameTypeValues=parameterNameTypeValues, returnType='CommandProductionCycleOrchestratorMutations', fields=fields, timeout=timeout) + def CommandRedis( + self, + command: List[str], + fields: Optional[Union[List[str], Dict[str, Any]]] = None, + timeout: Optional[float] = None, + ) -> Optional[Any]: + """Sends a Redis mutation command and returns the result. + + Args: + command ([String]): The Redis command split into name and arguments (for example ["SET", "key", "value"]). + fields (list or dict, optional): Specifies a subset of fields to return. + timeout (float, optional): Number of seconds to wait for response. + + Returns: + Any: + """ + parameterNameTypeValues: List[Tuple[str, str, Any]] = [ + ('command', '[String!]!', command), + ] + return self._CallSimpleGraphAPI('mutation', operationName='CommandRedis', parameterNameTypeValues=parameterNameTypeValues, returnType='Any', fields=fields, timeout=timeout) + def CommandRegistrationOrchestrator( self, orchestratorId: str, @@ -5069,6 +5437,27 @@ def CommandSensorBridgesEx( parameterNameTypeValues: List[Tuple[str, str, Any]] = [] return self._CallSimpleGraphAPI('mutation', operationName='CommandSensorBridgesEx', parameterNameTypeValues=parameterNameTypeValues, returnType='CommandSensorBridgesExMutations', fields=fields, timeout=timeout) + def CommandSoukoExecutionOrchestrator( + self, + orchestratorId: str, + fields: Optional[Union[List[str], Dict[str, Any]]] = None, + timeout: Optional[float] = None, + ) -> Any: + """ + + Args: + orchestratorId (str): + fields (list or dict, optional): Specifies a subset of fields to return. + timeout (float, optional): Number of seconds to wait for response. + + Returns: + CommandSoukoExecutionOrchestratorMutations: + """ + parameterNameTypeValues: List[Tuple[str, str, Any]] = [ + ('orchestratorId', 'String!', orchestratorId), + ] + return self._CallSimpleGraphAPI('mutation', operationName='CommandSoukoExecutionOrchestrator', parameterNameTypeValues=parameterNameTypeValues, returnType='CommandSoukoExecutionOrchestratorMutations', fields=fields, timeout=timeout) + def CommandTeachWorkerOrchestrator( self, orchestratorId: str, @@ -5187,6 +5576,37 @@ def CommandWarehouseExecutionOrchestrator( ] return self._CallSimpleGraphAPI('mutation', operationName='CommandWarehouseExecutionOrchestrator', parameterNameTypeValues=parameterNameTypeValues, returnType='CommandWarehouseExecutionOrchestratorMutations', fields=fields, timeout=timeout) + def CommandWorldSimulator( + self, + command: str, + parameters: Optional[Any] = None, + queueId: Optional[str] = None, + fields: Optional[Union[List[str], Dict[str, Any]]] = None, + timeout: Optional[float] = None, + ) -> Optional[Any]: + """ + + Deprecated: + Use `CommandWorldSimulatorEx` instead. + + Args: + command (str): + parameters (Any, optional): + queueId (str, optional): + fields (list or dict, optional): Specifies a subset of fields to return. + timeout (float, optional): Number of seconds to wait for response. + + Returns: + Any: + """ + warnings.warn('"CommandWorldSimulator" is deprecated. Use `CommandWorldSimulatorEx` instead.', DeprecationWarning, stacklevel=2) + parameterNameTypeValues: List[Tuple[str, str, Any]] = [ + ('command', 'String!', command), + ('parameters', 'Any', parameters), + ('queueId', 'String', queueId), + ] + return self._CallSimpleGraphAPI('mutation', operationName='CommandWorldSimulator', parameterNameTypeValues=parameterNameTypeValues, returnType='Any', fields=fields, timeout=timeout) + def CommitRuntimeContainer( self, comment: str, @@ -5394,6 +5814,34 @@ def ConfigureVisionManagerEx( ] return self._CallSimpleGraphAPI('mutation', operationName='ConfigureVisionManagerEx', parameterNameTypeValues=parameterNameTypeValues, returnType='ConfigureVisionManagerExMutations', fields=fields, timeout=timeout) + def ConfigureWorldSimulator( + self, + command: str, + parameters: Optional[Any] = None, + fields: Optional[Union[List[str], Dict[str, Any]]] = None, + timeout: Optional[float] = None, + ) -> Optional[Any]: + """ + + Deprecated: + Use `ConfigureWorldSimulatorEx` instead. + + Args: + command (str): + parameters (Any, optional): + fields (list or dict, optional): Specifies a subset of fields to return. + timeout (float, optional): Number of seconds to wait for response. + + Returns: + Any: + """ + warnings.warn('"ConfigureWorldSimulator" is deprecated. Use `ConfigureWorldSimulatorEx` instead.', DeprecationWarning, stacklevel=2) + parameterNameTypeValues: List[Tuple[str, str, Any]] = [ + ('command', 'String!', command), + ('parameters', 'Any', parameters), + ] + return self._CallSimpleGraphAPI('mutation', operationName='ConfigureWorldSimulator', parameterNameTypeValues=parameterNameTypeValues, returnType='Any', fields=fields, timeout=timeout) + def CopyAllApplicationConfigurations( self, applicationId: str, @@ -5457,6 +5905,7 @@ def CopyAttachedSensor( attachedSensorId: str, bodyId: str, environmentId: str, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -5469,6 +5918,7 @@ def CopyAttachedSensor( attachedSensorId (str): ID of the existing attached sensor. bodyId (str): ID of the body. environmentId (str): ID of the environment. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -5482,6 +5932,7 @@ def CopyAttachedSensor( ('attachedSensorId', 'String!', attachedSensorId), ('bodyId', 'String!', bodyId), ('environmentId', 'String!', environmentId), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] @@ -5492,6 +5943,7 @@ def CopyBody( body: Any, bodyId: str, environmentId: str, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -5503,6 +5955,7 @@ def CopyBody( body (BodyInput): Properties to be applied on the copied body. bodyId (str): ID of the existing body. environmentId (str): ID of the environment. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -5515,6 +5968,7 @@ def CopyBody( ('body', 'BodyInput!', body), ('bodyId', 'String!', bodyId), ('environmentId', 'String!', environmentId), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] @@ -5553,6 +6007,7 @@ def CopyConnectedBody( connectedBody: Any, connectedBodyId: str, environmentId: str, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -5565,6 +6020,7 @@ def CopyConnectedBody( connectedBody (ConnectedBodyInput): Properties to change on the copied the connected body. connectedBodyId (str): ID of the existing connected body. environmentId (str): ID of the environment. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -5578,6 +6034,7 @@ def CopyConnectedBody( ('connectedBody', 'ConnectedBodyInput!', connectedBody), ('connectedBodyId', 'String!', connectedBodyId), ('environmentId', 'String!', environmentId), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] @@ -5620,6 +6077,7 @@ def CopyGeometry( geometry: Any, geometryId: str, linkId: str, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -5633,6 +6091,7 @@ def CopyGeometry( geometry (GeometryInput): Properties to be applied on the copied geometry. geometryId (str): ID of the existing geometry. linkId (str): ID of the link. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -5647,6 +6106,7 @@ def CopyGeometry( ('geometry', 'GeometryInput!', geometry), ('geometryId', 'String!', geometryId), ('linkId', 'String!', linkId), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] @@ -5658,6 +6118,7 @@ def CopyGrabbed( environmentId: str, grabbed: Any, grabbedId: str, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -5670,6 +6131,7 @@ def CopyGrabbed( environmentId (str): ID of the environment. grabbed (GrabbedInput): Properties to be applied on the copied grabbed object. grabbedId (str): ID of the existing grabbed object. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -5683,6 +6145,7 @@ def CopyGrabbed( ('environmentId', 'String!', environmentId), ('grabbed', 'GrabbedInput!', grabbed), ('grabbedId', 'String!', grabbedId), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] @@ -5694,6 +6157,7 @@ def CopyGraspSet( environmentId: str, graspSet: Any, graspSetId: str, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -5706,19 +6170,21 @@ def CopyGraspSet( environmentId (str): ID of the environment. graspSet (GraspSetInput): Properties to be applied on the copied grasp set. graspSetId (str): ID of the existing grasp set. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. timeout (float, optional): Number of seconds to wait for response. Returns: - GraspSet: Represents a set of IKParams at which an object may be grasped. + GraspSet: Represents a set of IKParameters at which an object may be grasped. """ parameterNameTypeValues: List[Tuple[str, str, Any]] = [ ('bodyId', 'String!', bodyId), ('environmentId', 'String!', environmentId), ('graspSet', 'GraspSetInput!', graspSet), ('graspSetId', 'String!', graspSetId), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] @@ -5730,6 +6196,7 @@ def CopyGripperInfo( environmentId: str, gripperInfo: Any, gripperInfoId: str, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -5742,6 +6209,7 @@ def CopyGripperInfo( environmentId (str): ID of the environment. gripperInfo (GripperInfoInput): Properties to change on the copied the gripper info. gripperInfoId (str): ID of the existing gripper info. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -5755,6 +6223,7 @@ def CopyGripperInfo( ('environmentId', 'String!', environmentId), ('gripperInfo', 'GripperInfoInput!', gripperInfo), ('gripperInfoId', 'String!', gripperInfoId), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] @@ -5767,6 +6236,7 @@ def CopyGripperInfoAirChannel( gripperInfoAirChannel: Any, gripperInfoAirChannelId: str, gripperInfoId: str, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -5780,6 +6250,7 @@ def CopyGripperInfoAirChannel( gripperInfoAirChannel (GripperInfoAirChannelInput): Properties to change on the copied air channel. gripperInfoAirChannelId (str): ID of the existing air channel. gripperInfoId (str): ID of the gripper info + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -5794,6 +6265,7 @@ def CopyGripperInfoAirChannel( ('gripperInfoAirChannel', 'GripperInfoAirChannelInput!', gripperInfoAirChannel), ('gripperInfoAirChannelId', 'String!', gripperInfoAirChannelId), ('gripperInfoId', 'String!', gripperInfoId), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] @@ -5805,6 +6277,7 @@ def CopyIKParameterization( environmentId: str, ikParam: Any, ikParamId: str, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -5817,6 +6290,7 @@ def CopyIKParameterization( environmentId (str): ID of the environment. ikParam (IKParameterizationInput): Properties to be applied on the copied ikparam. ikParamId (str): ID of the existing ikparam. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -5830,6 +6304,7 @@ def CopyIKParameterization( ('environmentId', 'String!', environmentId), ('ikParam', 'IKParameterizationInput!', ikParam), ('ikParamId', 'String!', ikParamId), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] @@ -5841,6 +6316,7 @@ def CopyLink( environmentId: str, link: Any, linkId: str, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -5853,6 +6329,7 @@ def CopyLink( environmentId (str): ID of the environment. link (LinkInput): Properties to be applied on the copied link. linkId (str): ID of the existing link. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -5866,6 +6343,7 @@ def CopyLink( ('environmentId', 'String!', environmentId), ('link', 'LinkInput!', link), ('linkId', 'String!', linkId), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] @@ -5879,6 +6357,7 @@ def CopyLinkAndJoint( link: Any, linkId: str, parentLinkId: str, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -5893,6 +6372,7 @@ def CopyLinkAndJoint( link (LinkInput): Properties to be applied on the copied link. linkId (str): ID of the existing link. parentLinkId (str): ID of the parent link where copied link belongs to. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -5908,6 +6388,7 @@ def CopyLinkAndJoint( ('link', 'LinkInput!', link), ('linkId', 'String!', linkId), ('parentLinkId', 'String!', parentLinkId), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] @@ -5919,6 +6400,7 @@ def CopyPositionConfiguration( environmentId: str, positionConfiguration: Any, positionConfigurationId: str, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -5931,6 +6413,7 @@ def CopyPositionConfiguration( environmentId (str): ID of the environment. positionConfiguration (PositionConfigurationInput): Properties to be applied on the copied position configuration. positionConfigurationId (str): ID of the existing position configuration. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -5944,6 +6427,7 @@ def CopyPositionConfiguration( ('environmentId', 'String!', environmentId), ('positionConfiguration', 'PositionConfigurationInput!', positionConfiguration), ('positionConfigurationId', 'String!', positionConfigurationId), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] @@ -6039,6 +6523,7 @@ def CopyTool( environmentId: str, tool: Any, toolId: str, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -6051,6 +6536,7 @@ def CopyTool( environmentId (str): ID of the environment. tool (ToolInput): Properties to change on the copied the tool. toolId (str): ID of the existing tool. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -6064,6 +6550,7 @@ def CopyTool( ('environmentId', 'String!', environmentId), ('tool', 'ToolInput!', tool), ('toolId', 'String!', toolId), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] @@ -6101,6 +6588,7 @@ def CreateAppearanceParameters( appearanceParameters: Any, bodyId: str, environmentId: str, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -6112,6 +6600,7 @@ def CreateAppearanceParameters( appearanceParameters (AppearanceParametersInput): Properties to be applied on the newly created appearance parameters. bodyId (str): ID of the body. environmentId (str): ID of the environment. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -6124,6 +6613,7 @@ def CreateAppearanceParameters( ('appearanceParameters', 'AppearanceParametersInput!', appearanceParameters), ('bodyId', 'String!', bodyId), ('environmentId', 'String!', environmentId), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] @@ -6134,6 +6624,7 @@ def CreateAttachedSensor( attachedSensor: Any, bodyId: str, environmentId: str, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -6145,6 +6636,7 @@ def CreateAttachedSensor( attachedSensor (AttachedSensorInput): Properties for the new attached sensor. bodyId (str): ID of the body. environmentId (str): ID of the environment. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -6157,6 +6649,7 @@ def CreateAttachedSensor( ('attachedSensor', 'AttachedSensorInput!', attachedSensor), ('bodyId', 'String!', bodyId), ('environmentId', 'String!', environmentId), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] @@ -6166,6 +6659,7 @@ def CreateBody( self, body: Any, environmentId: str, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -6176,6 +6670,7 @@ def CreateBody( Args: body (BodyInput): Properties to be applied on the newly created body. environmentId (str): ID of the environment. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -6187,6 +6682,7 @@ def CreateBody( parameterNameTypeValues: List[Tuple[str, str, Any]] = [ ('body', 'BodyInput!', body), ('environmentId', 'String!', environmentId), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] @@ -6197,6 +6693,7 @@ def CreateBodyParameters( bodyId: str, bodyParameters: Any, environmentId: str, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -6208,6 +6705,7 @@ def CreateBodyParameters( bodyId (str): ID of the body. bodyParameters (BodyParametersInput): Properties to be applied on the newly created body parameters. environmentId (str): ID of the environment. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -6220,16 +6718,39 @@ def CreateBodyParameters( ('bodyId', 'String!', bodyId), ('bodyParameters', 'BodyParametersInput!', bodyParameters), ('environmentId', 'String!', environmentId), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] return self._CallSimpleGraphAPI('mutation', operationName='CreateBodyParameters', parameterNameTypeValues=parameterNameTypeValues, returnType='BodyParameters', fields=fields, timeout=timeout) + def CreateCalendarEvent( + self, + calendarEvent: Any, + fields: Optional[Union[List[str], Dict[str, Any]]] = None, + timeout: Optional[float] = None, + ) -> Any: + """Create a new calendar event. + + Args: + calendarEvent (CalendarEventInput): A list of calendar events. + fields (list or dict, optional): Specifies a subset of fields to return. + timeout (float, optional): Number of seconds to wait for response. + + Returns: + CalendarEvent: + """ + parameterNameTypeValues: List[Tuple[str, str, Any]] = [ + ('calendarEvent', 'CalendarEventInput!', calendarEvent), + ] + return self._CallSimpleGraphAPI('mutation', operationName='CreateCalendarEvent', parameterNameTypeValues=parameterNameTypeValues, returnType='CalendarEvent', fields=fields, timeout=timeout) + def CreateConnectedBody( self, bodyId: str, connectedBody: Any, environmentId: str, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -6241,6 +6762,7 @@ def CreateConnectedBody( bodyId (str): ID of the body. connectedBody (ConnectedBodyInput): Properties for the new connected body. environmentId (str): ID of the environment. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -6253,11 +6775,33 @@ def CreateConnectedBody( ('bodyId', 'String!', bodyId), ('connectedBody', 'ConnectedBodyInput!', connectedBody), ('environmentId', 'String!', environmentId), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] return self._CallSimpleGraphAPI('mutation', operationName='CreateConnectedBody', parameterNameTypeValues=parameterNameTypeValues, returnType='ConnectedBody', fields=fields, timeout=timeout) + def CreateElectronicDataSheet( + self, + electronicDataSheet: Any, + fields: Optional[Union[List[str], Dict[str, Any]]] = None, + timeout: Optional[float] = None, + ) -> Any: + """Create a new electronic data sheet. + + Args: + electronicDataSheet (ElectronicDataSheetInput): Properties of the electronic data sheet to create. The id field is required. + fields (list or dict, optional): Specifies a subset of fields to return. + timeout (float, optional): Number of seconds to wait for response. + + Returns: + ElectronicDataSheet: An EDS (Electronic Data Sheet) used for network configuration. + """ + parameterNameTypeValues: List[Tuple[str, str, Any]] = [ + ('electronicDataSheet', 'ElectronicDataSheetInput!', electronicDataSheet), + ] + return self._CallSimpleGraphAPI('mutation', operationName='CreateElectronicDataSheet', parameterNameTypeValues=parameterNameTypeValues, returnType='ElectronicDataSheet', fields=fields, timeout=timeout) + def CreateEnvironment( self, environment: Any, @@ -6312,11 +6856,33 @@ def CreateEnvironments( ] return self._CallSimpleGraphAPI('mutation', operationName='CreateEnvironments', parameterNameTypeValues=parameterNameTypeValues, returnType='Environment', fields=fields, timeout=timeout) + def CreateEtherCATSubDeviceInformation( + self, + etherCatSubDeviceInformation: Any, + fields: Optional[Union[List[str], Dict[str, Any]]] = None, + timeout: Optional[float] = None, + ) -> Any: + """Create a new ethercat sub-device information. + + Args: + etherCatSubDeviceInformation (EtherCATSubDeviceInformationInput): Properties of the ethercat sub-device information to create. The id field is required. + fields (list or dict, optional): Specifies a subset of fields to return. + timeout (float, optional): Number of seconds to wait for response. + + Returns: + EtherCATSubDeviceInformation: An ESI (EtherCAT SubDevice Information) used for network configuration. + """ + parameterNameTypeValues: List[Tuple[str, str, Any]] = [ + ('etherCatSubDeviceInformation', 'EtherCATSubDeviceInformationInput!', etherCatSubDeviceInformation), + ] + return self._CallSimpleGraphAPI('mutation', operationName='CreateEtherCATSubDeviceInformation', parameterNameTypeValues=parameterNameTypeValues, returnType='EtherCATSubDeviceInformation', fields=fields, timeout=timeout) + def CreateFeedbackHistory( self, bodyId: str, environmentId: str, feedbackHistory: Any, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -6328,6 +6894,7 @@ def CreateFeedbackHistory( bodyId (str): ID of the body. environmentId (str): ID of the environment. feedbackHistory (FeedbackHistoryInput): Properties to be applied on the newly created feedback history. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -6340,17 +6907,55 @@ def CreateFeedbackHistory( ('bodyId', 'String!', bodyId), ('environmentId', 'String!', environmentId), ('feedbackHistory', 'FeedbackHistoryInput!', feedbackHistory), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] return self._CallSimpleGraphAPI('mutation', operationName='CreateFeedbackHistory', parameterNameTypeValues=parameterNameTypeValues, returnType='FeedbackHistory', fields=fields, timeout=timeout) + def CreateFieldOfView( + self, + bodyId: str, + environmentId: str, + fieldOfView: Any, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, + resolveReferences: Optional[bool] = None, + units: Optional[Any] = None, + fields: Optional[Union[List[str], Dict[str, Any]]] = None, + timeout: Optional[float] = None, + ) -> Any: + """Create a new field of view in a body. + + Args: + bodyId (str): ID of the body. + environmentId (str): ID of the environment. + fieldOfView (FieldOfViewInput): Properties to be applied on the newly created field of view. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. + resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. + units (UnitSelectionInput, optional): Optional unit selection. + fields (list or dict, optional): Specifies a subset of fields to return. + timeout (float, optional): Number of seconds to wait for response. + + Returns: + FieldOfView: Field of view of a camera, sampled at one or more distances. + """ + parameterNameTypeValues: List[Tuple[str, str, Any]] = [ + ('bodyId', 'String!', bodyId), + ('environmentId', 'String!', environmentId), + ('fieldOfView', 'FieldOfViewInput!', fieldOfView), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), + ('resolveReferences', 'Boolean', resolveReferences), + ('units', 'UnitSelectionInput', units), + ] + return self._CallSimpleGraphAPI('mutation', operationName='CreateFieldOfView', parameterNameTypeValues=parameterNameTypeValues, returnType='FieldOfView', fields=fields, timeout=timeout) + def CreateGeometry( self, bodyId: str, environmentId: str, geometry: Any, linkId: str, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -6363,6 +6968,7 @@ def CreateGeometry( environmentId (str): ID of the environment. geometry (GeometryInput): Properties to be applied on the newly created geometry. linkId (str): ID of the existing geometry. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -6376,6 +6982,7 @@ def CreateGeometry( ('environmentId', 'String!', environmentId), ('geometry', 'GeometryInput!', geometry), ('linkId', 'String!', linkId), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] @@ -6386,6 +6993,7 @@ def CreateGrabbed( bodyId: str, environmentId: str, grabbed: Any, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -6397,6 +7005,7 @@ def CreateGrabbed( bodyId (str): ID of the body. environmentId (str): ID of the environment. grabbed (GrabbedInput): Properties to be applied on the newly created grabbed object. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -6409,6 +7018,7 @@ def CreateGrabbed( ('bodyId', 'String!', bodyId), ('environmentId', 'String!', environmentId), ('grabbed', 'GrabbedInput!', grabbed), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] @@ -6419,6 +7029,7 @@ def CreateGraspSet( bodyId: str, environmentId: str, graspSet: Any, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -6430,18 +7041,20 @@ def CreateGraspSet( bodyId (str): ID of the body. environmentId (str): ID of the environment. graspSet (GraspSetInput): Properties to be applied on the newly created grasp set. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. timeout (float, optional): Number of seconds to wait for response. Returns: - GraspSet: Represents a set of IKParams at which an object may be grasped. + GraspSet: Represents a set of IKParameters at which an object may be grasped. """ parameterNameTypeValues: List[Tuple[str, str, Any]] = [ ('bodyId', 'String!', bodyId), ('environmentId', 'String!', environmentId), ('graspSet', 'GraspSetInput!', graspSet), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] @@ -6452,6 +7065,7 @@ def CreateGripperInfo( bodyId: str, environmentId: str, gripperInfo: Any, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -6463,6 +7077,7 @@ def CreateGripperInfo( bodyId (str): ID of the body. environmentId (str): ID of the environment. gripperInfo (GripperInfoInput): Properties for the new gripper info. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -6475,6 +7090,7 @@ def CreateGripperInfo( ('bodyId', 'String!', bodyId), ('environmentId', 'String!', environmentId), ('gripperInfo', 'GripperInfoInput!', gripperInfo), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] @@ -6486,6 +7102,7 @@ def CreateGripperInfoAirChannel( environmentId: str, gripperInfoAirChannel: Any, gripperInfoId: str, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -6498,6 +7115,7 @@ def CreateGripperInfoAirChannel( environmentId (str): ID of the environment. gripperInfoAirChannel (GripperInfoAirChannelInput): Properties for the new air channel. gripperInfoId (str): ID of the gripper info + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -6511,6 +7129,7 @@ def CreateGripperInfoAirChannel( ('environmentId', 'String!', environmentId), ('gripperInfoAirChannel', 'GripperInfoAirChannelInput!', gripperInfoAirChannel), ('gripperInfoId', 'String!', gripperInfoId), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] @@ -6543,6 +7162,7 @@ def CreateIKParameterization( bodyId: str, environmentId: str, ikParam: Any, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -6554,6 +7174,7 @@ def CreateIKParameterization( bodyId (str): ID of the body. environmentId (str): ID of the environment. ikParam (IKParameterizationInput): Properties to be applied on the newly created ikparam. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -6566,27 +7187,51 @@ def CreateIKParameterization( ('bodyId', 'String!', bodyId), ('environmentId', 'String!', environmentId), ('ikParam', 'IKParameterizationInput!', ikParam), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] return self._CallSimpleGraphAPI('mutation', operationName='CreateIKParameterization', parameterNameTypeValues=parameterNameTypeValues, returnType='IKParameterization', fields=fields, timeout=timeout) - def CreateLink( + def CreateInputOutputDeviceDescription( self, - bodyId: str, - environmentId: str, - link: Any, - resolveReferences: Optional[bool] = None, - units: Optional[Any] = None, + inputOutputDeviceDescription: Any, fields: Optional[Union[List[str], Dict[str, Any]]] = None, timeout: Optional[float] = None, ) -> Any: - """Create a top-level link in a body. + """Create a new input/output device description. + + Args: + inputOutputDeviceDescription (InputOutputDeviceDescriptionInput): Properties of the input/output device description to create. The id field is required. + fields (list or dict, optional): Specifies a subset of fields to return. + timeout (float, optional): Number of seconds to wait for response. + + Returns: + InputOutputDeviceDescription: An IODD (Input/Output Device Description) used for network configuration. + """ + parameterNameTypeValues: List[Tuple[str, str, Any]] = [ + ('inputOutputDeviceDescription', 'InputOutputDeviceDescriptionInput!', inputOutputDeviceDescription), + ] + return self._CallSimpleGraphAPI('mutation', operationName='CreateInputOutputDeviceDescription', parameterNameTypeValues=parameterNameTypeValues, returnType='InputOutputDeviceDescription', fields=fields, timeout=timeout) + + def CreateLink( + self, + bodyId: str, + environmentId: str, + link: Any, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, + resolveReferences: Optional[bool] = None, + units: Optional[Any] = None, + fields: Optional[Union[List[str], Dict[str, Any]]] = None, + timeout: Optional[float] = None, + ) -> Any: + """Create a top-level link in a body. Args: bodyId (str): ID of the body. environmentId (str): ID of the environment. link (LinkInput): Properties to be applied on the newly created link. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -6599,6 +7244,7 @@ def CreateLink( ('bodyId', 'String!', bodyId), ('environmentId', 'String!', environmentId), ('link', 'LinkInput!', link), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] @@ -6609,6 +7255,7 @@ def CreateLinkAndJoint( bodyId: str, environmentId: str, link: Any, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, joint: Optional[Any] = None, parentLinkId: Optional[str] = None, resolveReferences: Optional[bool] = None, @@ -6622,6 +7269,7 @@ def CreateLinkAndJoint( bodyId (str): ID of the body. environmentId (str): ID of the environment. link (LinkInput): Properties to be applied on the newly created link. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. joint (JointInput, optional): Properties to be applied on the newly created joint. When creating base link, no joint will be created. parentLinkId (str, optional): ID of the parent link, if any. When creating base link, do not supply parent link ID. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. @@ -6636,6 +7284,7 @@ def CreateLinkAndJoint( ('bodyId', 'String!', bodyId), ('environmentId', 'String!', environmentId), ('link', 'LinkInput!', link), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('joint', 'JointInput', joint), ('parentLinkId', 'String', parentLinkId), ('resolveReferences', 'Boolean', resolveReferences), @@ -6648,6 +7297,7 @@ def CreateModelProcessorProperties( bodyId: str, environmentId: str, modelProcessorProperties: Any, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -6659,6 +7309,7 @@ def CreateModelProcessorProperties( bodyId (str): ID of the body. environmentId (str): ID of the environment. modelProcessorProperties (ModelProcessorPropertiesInput): Properties to be applied on the newly created model processor properties. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -6671,6 +7322,7 @@ def CreateModelProcessorProperties( ('bodyId', 'String!', bodyId), ('environmentId', 'String!', environmentId), ('modelProcessorProperties', 'ModelProcessorPropertiesInput!', modelProcessorProperties), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] @@ -6681,6 +7333,7 @@ def CreatePositionConfiguration( bodyId: str, environmentId: str, positionConfiguration: Any, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -6692,6 +7345,7 @@ def CreatePositionConfiguration( bodyId (str): ID of the body. environmentId (str): ID of the environment. positionConfiguration (PositionConfigurationInput): Properties to be applied on the newly created position configuration. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -6704,6 +7358,7 @@ def CreatePositionConfiguration( ('bodyId', 'String!', bodyId), ('environmentId', 'String!', environmentId), ('positionConfiguration', 'PositionConfigurationInput!', positionConfiguration), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] @@ -6762,6 +7417,7 @@ def CreateRobotMotionParameters( bodyId: str, environmentId: str, robotMotionParameters: Any, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -6773,6 +7429,7 @@ def CreateRobotMotionParameters( bodyId (str): ID of the body. environmentId (str): ID of the environment. robotMotionParameters (RobotMotionParametersInput): Properties to be applied on the newly created robot motion parameters. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -6785,6 +7442,7 @@ def CreateRobotMotionParameters( ('bodyId', 'String!', bodyId), ('environmentId', 'String!', environmentId), ('robotMotionParameters', 'RobotMotionParametersInput!', robotMotionParameters), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] @@ -6812,32 +7470,12 @@ def CreateRole( ] return self._CallSimpleGraphAPI('mutation', operationName='CreateRole', parameterNameTypeValues=parameterNameTypeValues, returnType='Role', fields=fields, timeout=timeout) - def CreateScheduleEvent( - self, - scheduleEvent: Any, - fields: Optional[Union[List[str], Dict[str, Any]]] = None, - timeout: Optional[float] = None, - ) -> Any: - """Create a new schedule event. - - Args: - scheduleEvent (ScheduleEventInput): A list of schedule events. - fields (list or dict, optional): Specifies a subset of fields to return. - timeout (float, optional): Number of seconds to wait for response. - - Returns: - ScheduleEvent: - """ - parameterNameTypeValues: List[Tuple[str, str, Any]] = [ - ('scheduleEvent', 'ScheduleEventInput!', scheduleEvent), - ] - return self._CallSimpleGraphAPI('mutation', operationName='CreateScheduleEvent', parameterNameTypeValues=parameterNameTypeValues, returnType='ScheduleEvent', fields=fields, timeout=timeout) - def CreateTool( self, bodyId: str, environmentId: str, tool: Any, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -6849,6 +7487,7 @@ def CreateTool( bodyId (str): ID of the body. environmentId (str): ID of the environment. tool (ToolInput): Properties for the new tool. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -6861,6 +7500,7 @@ def CreateTool( ('bodyId', 'String!', bodyId), ('environmentId', 'String!', environmentId), ('tool', 'ToolInput!', tool), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] @@ -6911,12 +7551,12 @@ def DeleteAllApplicationConfigurations( ] return self._CallSimpleGraphAPI('mutation', operationName='DeleteAllApplicationConfigurations', parameterNameTypeValues=parameterNameTypeValues, returnType='String', fields=fields, timeout=timeout) - def DeleteAllScheduleEvents( + def DeleteAllCalendarEvents( self, fields: Optional[Union[List[str], Dict[str, Any]]] = None, timeout: Optional[float] = None, ) -> None: - """Delete all existing schedule events. + """Delete all existing calendar events. Args: fields (list or dict, optional): Specifies a subset of fields to return. @@ -6926,12 +7566,13 @@ def DeleteAllScheduleEvents( Void: """ parameterNameTypeValues: List[Tuple[str, str, Any]] = [] - return self._CallSimpleGraphAPI('mutation', operationName='DeleteAllScheduleEvents', parameterNameTypeValues=parameterNameTypeValues, returnType='Void', fields=fields, timeout=timeout) + return self._CallSimpleGraphAPI('mutation', operationName='DeleteAllCalendarEvents', parameterNameTypeValues=parameterNameTypeValues, returnType='Void', fields=fields, timeout=timeout) def DeleteAppearanceParameters( self, bodyId: str, environmentId: str, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -6942,6 +7583,7 @@ def DeleteAppearanceParameters( Args: bodyId (str): ID of the body. environmentId (str): ID of the environment. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -6953,6 +7595,7 @@ def DeleteAppearanceParameters( parameterNameTypeValues: List[Tuple[str, str, Any]] = [ ('bodyId', 'String!', bodyId), ('environmentId', 'String!', environmentId), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] @@ -6990,6 +7633,7 @@ def DeleteAttachedSensor( attachedSensorId: str, bodyId: str, environmentId: str, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -7001,6 +7645,7 @@ def DeleteAttachedSensor( attachedSensorId (str): ID of the attached sensor to delete. bodyId (str): ID of the body. environmentId (str): ID of the environment. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -7013,6 +7658,7 @@ def DeleteAttachedSensor( ('attachedSensorId', 'String!', attachedSensorId), ('bodyId', 'String!', bodyId), ('environmentId', 'String!', environmentId), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] @@ -7022,6 +7668,7 @@ def DeleteBody( self, bodyId: str, environmentId: str, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -7032,6 +7679,7 @@ def DeleteBody( Args: bodyId (str): ID of the body to delete. environmentId (str): ID of the environment. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -7043,6 +7691,7 @@ def DeleteBody( parameterNameTypeValues: List[Tuple[str, str, Any]] = [ ('bodyId', 'String!', bodyId), ('environmentId', 'String!', environmentId), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] @@ -7052,6 +7701,7 @@ def DeleteBodyParameters( self, bodyId: str, environmentId: str, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -7062,6 +7712,7 @@ def DeleteBodyParameters( Args: bodyId (str): ID of the body. environmentId (str): ID of the environment. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -7073,11 +7724,54 @@ def DeleteBodyParameters( parameterNameTypeValues: List[Tuple[str, str, Any]] = [ ('bodyId', 'String!', bodyId), ('environmentId', 'String!', environmentId), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] return self._CallSimpleGraphAPI('mutation', operationName='DeleteBodyParameters', parameterNameTypeValues=parameterNameTypeValues, returnType='Void', fields=fields, timeout=timeout) + def DeleteCalendarEvent( + self, + calendarEventId: str, + fields: Optional[Union[List[str], Dict[str, Any]]] = None, + timeout: Optional[float] = None, + ) -> None: + """Delete an existing calendar event. + + Args: + calendarEventId (str): ID of the calendar event. + 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]] = [ + ('calendarEventId', 'String!', calendarEventId), + ] + return self._CallSimpleGraphAPI('mutation', operationName='DeleteCalendarEvent', parameterNameTypeValues=parameterNameTypeValues, returnType='Void', fields=fields, timeout=timeout) + + def DeleteCertificate( + self, + id: str, + fields: Optional[Union[List[str], Dict[str, Any]]] = None, + timeout: Optional[float] = None, + ) -> None: + """Delete a certificate. + + Args: + id (str): ID of the certificate to delete + 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]] = [ + ('id', 'String!', id), + ] + return self._CallSimpleGraphAPI('mutation', operationName='DeleteCertificate', parameterNameTypeValues=parameterNameTypeValues, returnType='Void', fields=fields, timeout=timeout) + def DeleteConfiguration( self, configurationId: str, @@ -7131,6 +7825,7 @@ def DeleteConnectedBody( bodyId: str, connectedBodyId: str, environmentId: str, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -7142,6 +7837,7 @@ def DeleteConnectedBody( bodyId (str): ID of the body. connectedBodyId (str): ID of the connected body to delete. environmentId (str): ID of the environment. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -7154,6 +7850,7 @@ def DeleteConnectedBody( ('bodyId', 'String!', bodyId), ('connectedBodyId', 'String!', connectedBodyId), ('environmentId', 'String!', environmentId), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] @@ -7259,6 +7956,7 @@ def DeleteFeedbackHistory( self, bodyId: str, environmentId: str, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -7269,6 +7967,7 @@ def DeleteFeedbackHistory( Args: bodyId (str): ID of the body. environmentId (str): ID of the environment. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -7280,17 +7979,52 @@ def DeleteFeedbackHistory( parameterNameTypeValues: List[Tuple[str, str, Any]] = [ ('bodyId', 'String!', bodyId), ('environmentId', 'String!', environmentId), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] return self._CallSimpleGraphAPI('mutation', operationName='DeleteFeedbackHistory', parameterNameTypeValues=parameterNameTypeValues, returnType='Void', fields=fields, timeout=timeout) + def DeleteFieldOfView( + self, + bodyId: str, + environmentId: str, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, + resolveReferences: Optional[bool] = None, + units: Optional[Any] = None, + fields: Optional[Union[List[str], Dict[str, Any]]] = None, + timeout: Optional[float] = None, + ) -> None: + """Delete a field of view in a body. + + Args: + bodyId (str): ID of the body. + environmentId (str): ID of the environment. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. + resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. + units (UnitSelectionInput, optional): Optional unit selection. + 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]] = [ + ('bodyId', 'String!', bodyId), + ('environmentId', 'String!', environmentId), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), + ('resolveReferences', 'Boolean', resolveReferences), + ('units', 'UnitSelectionInput', units), + ] + return self._CallSimpleGraphAPI('mutation', operationName='DeleteFieldOfView', parameterNameTypeValues=parameterNameTypeValues, returnType='Void', fields=fields, timeout=timeout) + def DeleteGeometry( self, bodyId: str, environmentId: str, geometryId: str, linkId: str, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -7303,6 +8037,7 @@ def DeleteGeometry( environmentId (str): ID of the environment. geometryId (str): ID of the geometry to delete. linkId (str): ID of the link. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -7316,6 +8051,7 @@ def DeleteGeometry( ('environmentId', 'String!', environmentId), ('geometryId', 'String!', geometryId), ('linkId', 'String!', linkId), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] @@ -7326,6 +8062,7 @@ def DeleteGrabbed( bodyId: str, environmentId: str, grabbedId: str, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -7337,6 +8074,7 @@ def DeleteGrabbed( bodyId (str): ID of the body. environmentId (str): ID of the environment. grabbedId (str): ID of the grabbed object to delete. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -7349,6 +8087,7 @@ def DeleteGrabbed( ('bodyId', 'String!', bodyId), ('environmentId', 'String!', environmentId), ('grabbedId', 'String!', grabbedId), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] @@ -7359,6 +8098,7 @@ def DeleteGraspSet( bodyId: str, environmentId: str, graspSetId: str, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -7370,6 +8110,7 @@ def DeleteGraspSet( bodyId (str): ID of the body. environmentId (str): ID of the environment. graspSetId (str): ID of the grasp set to delete. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -7382,6 +8123,7 @@ def DeleteGraspSet( ('bodyId', 'String!', bodyId), ('environmentId', 'String!', environmentId), ('graspSetId', 'String!', graspSetId), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] @@ -7392,6 +8134,7 @@ def DeleteGripperInfo( bodyId: str, environmentId: str, gripperInfoId: str, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -7403,6 +8146,7 @@ def DeleteGripperInfo( bodyId (str): ID of the body. environmentId (str): ID of the environment. gripperInfoId (str): ID of the gripper info to delete. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -7415,6 +8159,7 @@ def DeleteGripperInfo( ('bodyId', 'String!', bodyId), ('environmentId', 'String!', environmentId), ('gripperInfoId', 'String!', gripperInfoId), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] @@ -7426,6 +8171,7 @@ def DeleteGripperInfoAirChannel( environmentId: str, gripperInfoAirChannelId: str, gripperInfoId: str, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -7438,6 +8184,7 @@ def DeleteGripperInfoAirChannel( environmentId (str): ID of the environment. gripperInfoAirChannelId (str): ID of the air channel to delete. gripperInfoId (str): ID of the gripper info + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -7451,6 +8198,7 @@ def DeleteGripperInfoAirChannel( ('environmentId', 'String!', environmentId), ('gripperInfoAirChannelId', 'String!', gripperInfoAirChannelId), ('gripperInfoId', 'String!', gripperInfoId), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] @@ -7482,6 +8230,7 @@ def DeleteIKParameterization( bodyId: str, environmentId: str, ikParamId: str, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -7493,6 +8242,7 @@ def DeleteIKParameterization( bodyId (str): ID of the body. environmentId (str): ID of the environment. ikParamId (str): ID of the ikparam to delete. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -7505,6 +8255,7 @@ def DeleteIKParameterization( ('bodyId', 'String!', bodyId), ('environmentId', 'String!', environmentId), ('ikParamId', 'String!', ikParamId), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] @@ -7536,6 +8287,7 @@ def DeleteLink( bodyId: str, environmentId: str, linkId: str, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -7547,6 +8299,7 @@ def DeleteLink( bodyId (str): ID of the body. environmentId (str): ID of the environment. linkId (str): ID of the link to delete. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -7559,6 +8312,7 @@ def DeleteLink( ('bodyId', 'String!', bodyId), ('environmentId', 'String!', environmentId), ('linkId', 'String!', linkId), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] @@ -7569,6 +8323,7 @@ def DeleteLinkAndJoint( bodyId: str, environmentId: str, linkId: str, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -7580,6 +8335,7 @@ def DeleteLinkAndJoint( bodyId (str): ID of the body. environmentId (str): ID of the environment. linkId (str): ID of the link to be deleted. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -7592,6 +8348,7 @@ def DeleteLinkAndJoint( ('bodyId', 'String!', bodyId), ('environmentId', 'String!', environmentId), ('linkId', 'String!', linkId), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] @@ -7601,6 +8358,7 @@ def DeleteModelProcessorProperties( self, bodyId: str, environmentId: str, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -7611,6 +8369,7 @@ def DeleteModelProcessorProperties( Args: bodyId (str): ID of the body. environmentId (str): ID of the environment. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -7622,16 +8381,43 @@ def DeleteModelProcessorProperties( parameterNameTypeValues: List[Tuple[str, str, Any]] = [ ('bodyId', 'String!', bodyId), ('environmentId', 'String!', environmentId), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] return self._CallSimpleGraphAPI('mutation', operationName='DeleteModelProcessorProperties', parameterNameTypeValues=parameterNameTypeValues, returnType='Void', fields=fields, timeout=timeout) + def DeletePortalBackup( + self, + id: str, + portalName: str, + fields: Optional[Union[List[str], Dict[str, Any]]] = None, + timeout: Optional[float] = None, + ) -> None: + """DeletePortalBackup removes the named backup on the portal. +Idempotent. Deleting an unknown id returns nil. + + Args: + id (str): + portalName (str): + 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]] = [ + ('id', 'String!', id), + ('portalName', 'String!', portalName), + ] + return self._CallSimpleGraphAPI('mutation', operationName='DeletePortalBackup', parameterNameTypeValues=parameterNameTypeValues, returnType='Void', fields=fields, timeout=timeout) + def DeletePositionConfiguration( self, bodyId: str, environmentId: str, positionConfigurationId: str, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -7643,6 +8429,7 @@ def DeletePositionConfiguration( bodyId (str): ID of the body. environmentId (str): ID of the environment. positionConfigurationId (str): ID of the position configuration to delete. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -7655,6 +8442,7 @@ def DeletePositionConfiguration( ('bodyId', 'String!', bodyId), ('environmentId', 'String!', environmentId), ('positionConfigurationId', 'String!', positionConfigurationId), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] @@ -7710,6 +8498,7 @@ def DeleteReadable( bodyId: str, environmentId: str, readableId: str, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -7721,6 +8510,7 @@ def DeleteReadable( bodyId (str): ID of the body. environmentId (str): ID of the environment. readableId (str): ID of the readable. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -7733,6 +8523,7 @@ def DeleteReadable( ('bodyId', 'String!', bodyId), ('environmentId', 'String!', environmentId), ('readableId', 'String!', readableId), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] @@ -7742,6 +8533,7 @@ def DeleteRobotMotionParameters( self, bodyId: str, environmentId: str, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -7752,6 +8544,7 @@ def DeleteRobotMotionParameters( Args: bodyId (str): ID of the body. environmentId (str): ID of the environment. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -7763,6 +8556,7 @@ def DeleteRobotMotionParameters( parameterNameTypeValues: List[Tuple[str, str, Any]] = [ ('bodyId', 'String!', bodyId), ('environmentId', 'String!', environmentId), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] @@ -7789,32 +8583,12 @@ def DeleteRole( ] return self._CallSimpleGraphAPI('mutation', operationName='DeleteRole', parameterNameTypeValues=parameterNameTypeValues, returnType='Void', fields=fields, timeout=timeout) - def DeleteScheduleEvent( - self, - scheduleEventId: str, - fields: Optional[Union[List[str], Dict[str, Any]]] = None, - timeout: Optional[float] = None, - ) -> None: - """Delete an existing schedule event. - - Args: - scheduleEventId (str): ID of the schedule event. - 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]] = [ - ('scheduleEventId', 'String!', scheduleEventId), - ] - return self._CallSimpleGraphAPI('mutation', operationName='DeleteScheduleEvent', parameterNameTypeValues=parameterNameTypeValues, returnType='Void', fields=fields, timeout=timeout) - def DeleteTool( self, bodyId: str, environmentId: str, toolId: str, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -7826,6 +8600,7 @@ def DeleteTool( bodyId (str): ID of the body. environmentId (str): ID of the environment. toolId (str): ID of the tool to delete. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -7838,6 +8613,7 @@ def DeleteTool( ('bodyId', 'String!', bodyId), ('environmentId', 'String!', environmentId), ('toolId', 'String!', toolId), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] @@ -7915,6 +8691,7 @@ def ExtractBody( bodyId: str, environment: Any, environmentId: str, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, replaceOriginalBody: Optional[bool] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, @@ -7928,6 +8705,7 @@ def ExtractBody( bodyId (str): ID of the body to extract. environment (EnvironmentInput): Properties to be applied on the newly created environment. environmentId (str): ID of the environment. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. replaceOriginalBody (bool, optional): Replace original body with reference uri pointing to the newly created body. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. @@ -7942,6 +8720,7 @@ def ExtractBody( ('bodyId', 'String!', bodyId), ('environment', 'EnvironmentInput!', environment), ('environmentId', 'String!', environmentId), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('replaceOriginalBody', 'Boolean', replaceOriginalBody), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), @@ -8082,6 +8861,61 @@ def IdentifyNetworkInterface( ] return self._CallSimpleGraphAPI('mutation', operationName='IdentifyNetworkInterface', parameterNameTypeValues=parameterNameTypeValues, returnType='Void', fields=fields, timeout=timeout) + def InitiatePortalLink( + self, + portalName: str, + fields: Optional[Union[List[str], Dict[str, Any]]] = None, + timeout: Optional[float] = None, + ) -> Any: + """Ask the named portal to mint a self-service link code for +this controller. Returns the code and the redirect URL the +user's browser should be sent to. The link is finalized on +the portal after the user signs in and approves. + + Args: + portalName (str): PortalName as returned by ListPortalStates (socket filename + stem, typically the portal's hostname). + fields (list or dict, optional): Specifies a subset of fields to return. + timeout (float, optional): Number of seconds to wait for response. + + Returns: + PortalLinkInitiation: PortalLinkInitiation is the response the uicore hands back to the + user's browser. The caller + `window.location.assign(redirectUrl)`s to start the flow. The + portal's /link/ page takes it from there. Code is surfaced + so callers who want to display or log it can. + """ + parameterNameTypeValues: List[Tuple[str, str, Any]] = [ + ('portalName', 'String!', portalName), + ] + return self._CallSimpleGraphAPI('mutation', operationName='InitiatePortalLink', parameterNameTypeValues=parameterNameTypeValues, returnType='PortalLinkInitiation', fields=fields, timeout=timeout) + + def InstallWebAppFromWebAppStore( + self, + webAppId: str, + rejectIfIncompatible: Optional[bool] = None, + fields: Optional[Union[List[str], Dict[str, Any]]] = None, + timeout: Optional[float] = None, + ) -> None: + """Install an app from the remote web app store by its ID. + + Args: + webAppId (str): ID of the web app to install. + rejectIfIncompatible (bool, optional): When true, verify the app's compatibility with this controller and reject the install with an error if it is + incompatible, so nothing is written. Optional. Defaults to false when omitted, in which case the app is + installed regardless and its compatibility is only reported, not enforced. + 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]] = [ + ('webAppId', 'String!', webAppId), + ('rejectIfIncompatible', 'Boolean', rejectIfIncompatible), + ] + return self._CallSimpleGraphAPI('mutation', operationName='InstallWebAppFromWebAppStore', parameterNameTypeValues=parameterNameTypeValues, returnType='Void', fields=fields, timeout=timeout) + def InstantiateApplicationTemplate( self, applicationTemplateId: str, @@ -8106,6 +8940,33 @@ def InstantiateApplicationTemplate( ] return self._CallSimpleGraphAPI('mutation', operationName='InstantiateApplicationTemplate', parameterNameTypeValues=parameterNameTypeValues, returnType='InstantiateApplicationTemplateReturnValue', fields=fields, timeout=timeout) + def LockEnvironment( + self, + environmentId: str, + resolveReferences: Optional[bool] = None, + units: Optional[Any] = None, + fields: Optional[Union[List[str], Dict[str, Any]]] = None, + timeout: Optional[float] = None, + ) -> Any: + """Lock an environment so it cannot be modified or deleted until it is unlocked. Locking a locked environment changes nothing. + + Args: + environmentId (str): ID of the environment to lock. + resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. + units (UnitSelectionInput, optional): Optional unit selection. + fields (list or dict, optional): Specifies a subset of fields to return. + timeout (float, optional): Number of seconds to wait for response. + + Returns: + Environment: An OpenRAVE Environment + """ + parameterNameTypeValues: List[Tuple[str, str, Any]] = [ + ('environmentId', 'String!', environmentId), + ('resolveReferences', 'Boolean', resolveReferences), + ('units', 'UnitSelectionInput', units), + ] + return self._CallSimpleGraphAPI('mutation', operationName='LockEnvironment', parameterNameTypeValues=parameterNameTypeValues, returnType='Environment', fields=fields, timeout=timeout) + def Login( self, username: str, @@ -8135,6 +8996,7 @@ def MergeApplicationConfiguration( content: Any, relativeConfigurationId: str, applicationId: Optional[str] = None, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: bool = True, fields: Optional[Union[List[str], Dict[str, Any]]] = None, timeout: Optional[float] = None, @@ -8145,6 +9007,7 @@ def MergeApplicationConfiguration( content (Any): Untyped content to merge into the configuration. relativeConfigurationId (str): ID of the configuration, for example "controllersystem.conf". applicationId (str, optional): ID of the application. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved configurations. Defaults to operate and return resolved data. fields (list or dict, optional): Specifies a subset of fields to return. timeout (float, optional): Number of seconds to wait for response. @@ -8156,6 +9019,7 @@ def MergeApplicationConfiguration( ('content', 'Any!', content), ('relativeConfigurationId', 'String!', relativeConfigurationId), ('applicationId', 'String', applicationId), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ] return self._CallSimpleGraphAPI('mutation', operationName='MergeApplicationConfiguration', parameterNameTypeValues=parameterNameTypeValues, returnType='Configuration', fields=fields, timeout=timeout) @@ -8164,6 +9028,8 @@ def MergeConfiguration( self, configurationId: str, content: Any, + ifMatchRevisionId: Optional[int] = None, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: bool = False, fields: Optional[Union[List[str], Dict[str, Any]]] = None, timeout: Optional[float] = None, @@ -8173,6 +9039,8 @@ def MergeConfiguration( Args: configurationId (str): ID of the configuration, for example "controllersystem.conf". content (Any): Untyped content to merge into the configuration. + ifMatchRevisionId (int, optional): If supplied, the mutation only proceeds when the stored configuration's revisionId matches. Mismatch returns a conflict error. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved configurations. Defaults to operate and return unresolved data. fields (list or dict, optional): Specifies a subset of fields to return. timeout (float, optional): Number of seconds to wait for response. @@ -8183,6 +9051,8 @@ def MergeConfiguration( parameterNameTypeValues: List[Tuple[str, str, Any]] = [ ('configurationId', 'String!', configurationId), ('content', 'Any!', content), + ('ifMatchRevisionId', 'Int', ifMatchRevisionId), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ] return self._CallSimpleGraphAPI('mutation', operationName='MergeConfiguration', parameterNameTypeValues=parameterNameTypeValues, returnType='Configuration', fields=fields, timeout=timeout) @@ -8218,6 +9088,7 @@ def MergeEnvironment( self, environment: Any, environmentId: str, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -8228,6 +9099,7 @@ def MergeEnvironment( Args: environment (EnvironmentInput): Properties to be merged on the existing environment. environmentId (str): ID of the environment to modify. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -8239,6 +9111,7 @@ def MergeEnvironment( parameterNameTypeValues: List[Tuple[str, str, Any]] = [ ('environment', 'EnvironmentInput!', environment), ('environmentId', 'String!', environmentId), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] @@ -8248,6 +9121,7 @@ def MergeEnvironments( self, environmentIds: List[str], environments: List[Any], + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -8258,6 +9132,7 @@ def MergeEnvironments( Args: environmentIds ([String]): IDs of the environments to modify. environments ([EnvironmentInput]): Properties to be merged on the existing environments. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -8269,6 +9144,7 @@ def MergeEnvironments( parameterNameTypeValues: List[Tuple[str, str, Any]] = [ ('environmentIds', '[String!]!', environmentIds), ('environments', '[EnvironmentInput!]!', environments), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] @@ -8444,6 +9320,7 @@ def MergeUntypedApplicationConfiguration( content: Any, relativeConfigurationId: str, applicationId: Optional[str] = None, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: bool = True, fields: Optional[Union[List[str], Dict[str, Any]]] = None, timeout: Optional[float] = None, @@ -8454,6 +9331,7 @@ def MergeUntypedApplicationConfiguration( content (Any): Untyped content to merge into the configuration. relativeConfigurationId (str): ID of the configuration, for example "controllersystem.conf". applicationId (str, optional): ID of the application. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved configurations. Defaults to operate and return resolved data. fields (list or dict, optional): Specifies a subset of fields to return. timeout (float, optional): Number of seconds to wait for response. @@ -8465,6 +9343,7 @@ def MergeUntypedApplicationConfiguration( ('content', 'Any!', content), ('relativeConfigurationId', 'String!', relativeConfigurationId), ('applicationId', 'String', applicationId), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ] return self._CallSimpleGraphAPI('mutation', operationName='MergeUntypedApplicationConfiguration', parameterNameTypeValues=parameterNameTypeValues, returnType='Any', fields=fields, timeout=timeout) @@ -8473,6 +9352,8 @@ def MergeUntypedConfiguration( self, configurationId: str, content: Any, + ifMatchRevisionId: Optional[int] = None, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: bool = False, fields: Optional[Union[List[str], Dict[str, Any]]] = None, timeout: Optional[float] = None, @@ -8482,6 +9363,8 @@ def MergeUntypedConfiguration( Args: configurationId (str): ID of the configuration, for example "controllersystem.conf". content (Any): Untyped content to merge into the configuration. + ifMatchRevisionId (int, optional): If supplied, the mutation only proceeds when the stored configuration's revisionId matches. Mismatch returns a conflict error. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved configurations. Defaults to operate and return unresolved data. fields (list or dict, optional): Specifies a subset of fields to return. timeout (float, optional): Number of seconds to wait for response. @@ -8492,6 +9375,8 @@ def MergeUntypedConfiguration( parameterNameTypeValues: List[Tuple[str, str, Any]] = [ ('configurationId', 'String!', configurationId), ('content', 'Any!', content), + ('ifMatchRevisionId', 'Int', ifMatchRevisionId), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ] return self._CallSimpleGraphAPI('mutation', operationName='MergeUntypedConfiguration', parameterNameTypeValues=parameterNameTypeValues, returnType='Any', fields=fields, timeout=timeout) @@ -8552,6 +9437,7 @@ def ModifyAppearanceParameters( appearanceParameters: Any, bodyId: str, environmentId: str, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -8563,6 +9449,7 @@ def ModifyAppearanceParameters( appearanceParameters (AppearanceParametersInput): Properties to be modified on the appearance parameters. bodyId (str): ID of the body. environmentId (str): ID of the environment. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -8575,6 +9462,7 @@ def ModifyAppearanceParameters( ('appearanceParameters', 'AppearanceParametersInput!', appearanceParameters), ('bodyId', 'String!', bodyId), ('environmentId', 'String!', environmentId), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] @@ -8586,6 +9474,7 @@ def ModifyAttachedSensor( attachedSensorId: str, bodyId: str, environmentId: str, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -8598,6 +9487,7 @@ def ModifyAttachedSensor( attachedSensorId (str): ID of the attached sensor to modify. bodyId (str): ID of the body. environmentId (str): ID of the environment. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -8611,6 +9501,7 @@ def ModifyAttachedSensor( ('attachedSensorId', 'String!', attachedSensorId), ('bodyId', 'String!', bodyId), ('environmentId', 'String!', environmentId), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] @@ -8621,6 +9512,7 @@ def ModifyBody( body: Any, bodyId: str, environmentId: str, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -8632,6 +9524,7 @@ def ModifyBody( body (BodyInput): Properties to be modified on the body. bodyId (str): ID of the body to modify. environmentId (str): ID of the environment. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -8644,6 +9537,7 @@ def ModifyBody( ('body', 'BodyInput!', body), ('bodyId', 'String!', bodyId), ('environmentId', 'String!', environmentId), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] @@ -8654,6 +9548,7 @@ def ModifyBodyParameters( bodyId: str, bodyParameters: Any, environmentId: str, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -8665,6 +9560,7 @@ def ModifyBodyParameters( bodyId (str): ID of the body. bodyParameters (BodyParametersInput): Properties to be modified on the body parameters. environmentId (str): ID of the environment. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -8677,17 +9573,65 @@ def ModifyBodyParameters( ('bodyId', 'String!', bodyId), ('bodyParameters', 'BodyParametersInput!', bodyParameters), ('environmentId', 'String!', environmentId), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] return self._CallSimpleGraphAPI('mutation', operationName='ModifyBodyParameters', parameterNameTypeValues=parameterNameTypeValues, returnType='BodyParameters', fields=fields, timeout=timeout) - def ModifyConnectedBody( + def ModifyCalendarEvent( self, - bodyId: str, - connectedBody: Any, - connectedBodyId: str, + calendarEvent: Any, + calendarEventId: str, + fields: Optional[Union[List[str], Dict[str, Any]]] = None, + timeout: Optional[float] = None, + ) -> Any: + """Modify an existing calendar event. + + Args: + calendarEvent (CalendarEventInput): Properties to be modified on the calendar event. + calendarEventId (str): ID of the calendar event. + fields (list or dict, optional): Specifies a subset of fields to return. + timeout (float, optional): Number of seconds to wait for response. + + Returns: + CalendarEvent: + """ + parameterNameTypeValues: List[Tuple[str, str, Any]] = [ + ('calendarEvent', 'CalendarEventInput!', calendarEvent), + ('calendarEventId', 'String!', calendarEventId), + ] + return self._CallSimpleGraphAPI('mutation', operationName='ModifyCalendarEvent', parameterNameTypeValues=parameterNameTypeValues, returnType='CalendarEvent', fields=fields, timeout=timeout) + + def ModifyCertificate( + self, + certificate: Any, + fields: Optional[Union[List[str], Dict[str, Any]]] = None, + timeout: Optional[float] = None, + ) -> Any: + """Modifies the user-editable fields (name, description) of a certificate. + + Args: + certificate (CertificateInput): Properties to be applied on the modified certificate. Only name and + description are editable. The derived fields are ignored. + fields (list or dict, optional): Specifies a subset of fields to return. + timeout (float, optional): Number of seconds to wait for response. + + Returns: + Certificate: Certificate is the data structure for a stored X.509 certificate. + """ + parameterNameTypeValues: List[Tuple[str, str, Any]] = [ + ('certificate', 'CertificateInput!', certificate), + ] + return self._CallSimpleGraphAPI('mutation', operationName='ModifyCertificate', parameterNameTypeValues=parameterNameTypeValues, returnType='Certificate', fields=fields, timeout=timeout) + + def ModifyConnectedBody( + self, + bodyId: str, + connectedBody: Any, + connectedBodyId: str, environmentId: str, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -8700,6 +9644,7 @@ def ModifyConnectedBody( connectedBody (ConnectedBodyInput): Properties to modify on the connected body. connectedBodyId (str): ID of the connected body to modify. environmentId (str): ID of the environment. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -8713,6 +9658,7 @@ def ModifyConnectedBody( ('connectedBody', 'ConnectedBodyInput!', connectedBody), ('connectedBodyId', 'String!', connectedBodyId), ('environmentId', 'String!', environmentId), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] @@ -8742,10 +9688,32 @@ def ModifyElectronicDataSheet( ] return self._CallSimpleGraphAPI('mutation', operationName='ModifyElectronicDataSheet', parameterNameTypeValues=parameterNameTypeValues, returnType='ElectronicDataSheet', fields=fields, timeout=timeout) + def ModifyElectronicDataSheetByDeviceIdentity( + self, + electronicDataSheet: Any, + fields: Optional[Union[List[str], Dict[str, Any]]] = None, + timeout: Optional[float] = None, + ) -> Any: + """Modify the existing electronic data sheet carrying the device identity in the input, regardless of its id. All device identity fields are required. Never creates. + + Args: + electronicDataSheet (ElectronicDataSheetInput): Properties to be modified on the electronic data sheet carrying the device identity in the input. + fields (list or dict, optional): Specifies a subset of fields to return. + timeout (float, optional): Number of seconds to wait for response. + + Returns: + ElectronicDataSheet: An EDS (Electronic Data Sheet) used for network configuration. + """ + parameterNameTypeValues: List[Tuple[str, str, Any]] = [ + ('electronicDataSheet', 'ElectronicDataSheetInput!', electronicDataSheet), + ] + return self._CallSimpleGraphAPI('mutation', operationName='ModifyElectronicDataSheetByDeviceIdentity', parameterNameTypeValues=parameterNameTypeValues, returnType='ElectronicDataSheet', fields=fields, timeout=timeout) + def ModifyEnvironment( self, environment: Any, environmentId: str, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -8756,6 +9724,7 @@ def ModifyEnvironment( Args: environment (EnvironmentInput): Properties to be modified on the existing environment. environmentId (str): ID of the environment to modify. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -8767,6 +9736,7 @@ def ModifyEnvironment( parameterNameTypeValues: List[Tuple[str, str, Any]] = [ ('environment', 'EnvironmentInput!', environment), ('environmentId', 'String!', environmentId), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] @@ -8776,6 +9746,7 @@ def ModifyEnvironments( self, environmentIds: List[str], environments: List[Any], + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -8786,6 +9757,7 @@ def ModifyEnvironments( Args: environmentIds ([String]): IDs of the environments to modify. environments ([EnvironmentInput]): Properties to be modified on the existing environments. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -8797,6 +9769,7 @@ def ModifyEnvironments( parameterNameTypeValues: List[Tuple[str, str, Any]] = [ ('environmentIds', '[String!]!', environmentIds), ('environments', '[EnvironmentInput!]!', environments), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] @@ -8826,11 +9799,33 @@ def ModifyEtherCATSubDeviceInformation( ] return self._CallSimpleGraphAPI('mutation', operationName='ModifyEtherCATSubDeviceInformation', parameterNameTypeValues=parameterNameTypeValues, returnType='EtherCATSubDeviceInformation', fields=fields, timeout=timeout) + def ModifyEtherCATSubDeviceInformationByDeviceIdentity( + self, + etherCatSubDeviceInformation: Any, + fields: Optional[Union[List[str], Dict[str, Any]]] = None, + timeout: Optional[float] = None, + ) -> Any: + """Modify the existing ethercat sub-device information carrying the device identity in the input, regardless of its id. All device identity fields are required. Never creates. + + Args: + etherCatSubDeviceInformation (EtherCATSubDeviceInformationInput): Properties to be modified on the ethercat sub-device information carrying the device identity in the input. + fields (list or dict, optional): Specifies a subset of fields to return. + timeout (float, optional): Number of seconds to wait for response. + + Returns: + EtherCATSubDeviceInformation: An ESI (EtherCAT SubDevice Information) used for network configuration. + """ + parameterNameTypeValues: List[Tuple[str, str, Any]] = [ + ('etherCatSubDeviceInformation', 'EtherCATSubDeviceInformationInput!', etherCatSubDeviceInformation), + ] + return self._CallSimpleGraphAPI('mutation', operationName='ModifyEtherCATSubDeviceInformationByDeviceIdentity', parameterNameTypeValues=parameterNameTypeValues, returnType='EtherCATSubDeviceInformation', fields=fields, timeout=timeout) + def ModifyFeedbackHistory( self, bodyId: str, environmentId: str, feedbackHistory: Any, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -8842,6 +9837,7 @@ def ModifyFeedbackHistory( bodyId (str): ID of the body. environmentId (str): ID of the environment. feedbackHistory (FeedbackHistoryInput): Properties to be modified on the feedback history. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -8854,11 +9850,48 @@ def ModifyFeedbackHistory( ('bodyId', 'String!', bodyId), ('environmentId', 'String!', environmentId), ('feedbackHistory', 'FeedbackHistoryInput!', feedbackHistory), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] return self._CallSimpleGraphAPI('mutation', operationName='ModifyFeedbackHistory', parameterNameTypeValues=parameterNameTypeValues, returnType='FeedbackHistory', fields=fields, timeout=timeout) + def ModifyFieldOfView( + self, + bodyId: str, + environmentId: str, + fieldOfView: Any, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, + resolveReferences: Optional[bool] = None, + units: Optional[Any] = None, + fields: Optional[Union[List[str], Dict[str, Any]]] = None, + timeout: Optional[float] = None, + ) -> Any: + """Modify an existing field of view in a body. + + Args: + bodyId (str): ID of the body. + environmentId (str): ID of the environment. + fieldOfView (FieldOfViewInput): Properties to be modified on the field of view. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. + resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. + units (UnitSelectionInput, optional): Optional unit selection. + fields (list or dict, optional): Specifies a subset of fields to return. + timeout (float, optional): Number of seconds to wait for response. + + Returns: + FieldOfView: Field of view of a camera, sampled at one or more distances. + """ + parameterNameTypeValues: List[Tuple[str, str, Any]] = [ + ('bodyId', 'String!', bodyId), + ('environmentId', 'String!', environmentId), + ('fieldOfView', 'FieldOfViewInput!', fieldOfView), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), + ('resolveReferences', 'Boolean', resolveReferences), + ('units', 'UnitSelectionInput', units), + ] + return self._CallSimpleGraphAPI('mutation', operationName='ModifyFieldOfView', parameterNameTypeValues=parameterNameTypeValues, returnType='FieldOfView', fields=fields, timeout=timeout) + def ModifyGeometry( self, bodyId: str, @@ -8866,6 +9899,7 @@ def ModifyGeometry( geometry: Any, geometryId: str, linkId: str, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -8879,6 +9913,7 @@ def ModifyGeometry( geometry (GeometryInput): Properties to be modified on the geometry. geometryId (str): ID of the geometry to modify. linkId (str): ID of the link. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -8893,6 +9928,7 @@ def ModifyGeometry( ('geometry', 'GeometryInput!', geometry), ('geometryId', 'String!', geometryId), ('linkId', 'String!', linkId), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] @@ -8904,6 +9940,7 @@ def ModifyGrabbed( environmentId: str, grabbed: Any, grabbedId: str, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -8916,6 +9953,7 @@ def ModifyGrabbed( environmentId (str): ID of the environment. grabbed (GrabbedInput): Properties to be modified on the grabbed object. grabbedId (str): ID of the grabbed object to modify. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -8929,6 +9967,7 @@ def ModifyGrabbed( ('environmentId', 'String!', environmentId), ('grabbed', 'GrabbedInput!', grabbed), ('grabbedId', 'String!', grabbedId), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] @@ -8940,6 +9979,7 @@ def ModifyGraspSet( environmentId: str, graspSet: Any, graspSetId: str, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -8952,19 +9992,21 @@ def ModifyGraspSet( environmentId (str): ID of the environment. graspSet (GraspSetInput): Properties to be modified on the grasp set. graspSetId (str): ID of the grasp set to modify. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. timeout (float, optional): Number of seconds to wait for response. Returns: - GraspSet: Represents a set of IKParams at which an object may be grasped. + GraspSet: Represents a set of IKParameters at which an object may be grasped. """ parameterNameTypeValues: List[Tuple[str, str, Any]] = [ ('bodyId', 'String!', bodyId), ('environmentId', 'String!', environmentId), ('graspSet', 'GraspSetInput!', graspSet), ('graspSetId', 'String!', graspSetId), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] @@ -8976,6 +10018,7 @@ def ModifyGripperInfo( environmentId: str, gripperInfo: Any, gripperInfoId: str, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -8988,6 +10031,7 @@ def ModifyGripperInfo( environmentId (str): ID of the environment. gripperInfo (GripperInfoInput): Properties to modify on the gripper info. gripperInfoId (str): ID of the gripper info to modify. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -9001,6 +10045,7 @@ def ModifyGripperInfo( ('environmentId', 'String!', environmentId), ('gripperInfo', 'GripperInfoInput!', gripperInfo), ('gripperInfoId', 'String!', gripperInfoId), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] @@ -9013,6 +10058,7 @@ def ModifyGripperInfoAirChannel( gripperInfoAirChannel: Any, gripperInfoAirChannelId: str, gripperInfoId: str, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -9026,6 +10072,7 @@ def ModifyGripperInfoAirChannel( gripperInfoAirChannel (GripperInfoAirChannelInput): Properties to modify on the air channel. gripperInfoAirChannelId (str): ID of the air channel to modify. gripperInfoId (str): ID of the gripper info + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -9040,6 +10087,7 @@ def ModifyGripperInfoAirChannel( ('gripperInfoAirChannel', 'GripperInfoAirChannelInput!', gripperInfoAirChannel), ('gripperInfoAirChannelId', 'String!', gripperInfoAirChannelId), ('gripperInfoId', 'String!', gripperInfoId), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] @@ -9073,6 +10121,7 @@ def ModifyIKParameterization( environmentId: str, ikParam: Any, ikParamId: str, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -9085,6 +10134,7 @@ def ModifyIKParameterization( environmentId (str): ID of the environment. ikParam (IKParameterizationInput): Properties to be modified on the ikparam. ikParamId (str): ID of the ikparam to modify. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -9098,6 +10148,7 @@ def ModifyIKParameterization( ('environmentId', 'String!', environmentId), ('ikParam', 'IKParameterizationInput!', ikParam), ('ikParamId', 'String!', ikParamId), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] @@ -9127,12 +10178,34 @@ def ModifyInputOutputDeviceDescription( ] return self._CallSimpleGraphAPI('mutation', operationName='ModifyInputOutputDeviceDescription', parameterNameTypeValues=parameterNameTypeValues, returnType='InputOutputDeviceDescription', fields=fields, timeout=timeout) + def ModifyInputOutputDeviceDescriptionByDeviceIdentity( + self, + inputOutputDeviceDescription: Any, + fields: Optional[Union[List[str], Dict[str, Any]]] = None, + timeout: Optional[float] = None, + ) -> Any: + """Modify the existing input/output device description carrying the device identity in the input, regardless of its id. All device identity fields are required. Never creates. + + Args: + inputOutputDeviceDescription (InputOutputDeviceDescriptionInput): Properties to be modified on the input/output device description carrying the device identity in the input. + fields (list or dict, optional): Specifies a subset of fields to return. + timeout (float, optional): Number of seconds to wait for response. + + Returns: + InputOutputDeviceDescription: An IODD (Input/Output Device Description) used for network configuration. + """ + parameterNameTypeValues: List[Tuple[str, str, Any]] = [ + ('inputOutputDeviceDescription', 'InputOutputDeviceDescriptionInput!', inputOutputDeviceDescription), + ] + return self._CallSimpleGraphAPI('mutation', operationName='ModifyInputOutputDeviceDescriptionByDeviceIdentity', parameterNameTypeValues=parameterNameTypeValues, returnType='InputOutputDeviceDescription', fields=fields, timeout=timeout) + def ModifyJoint( self, bodyId: str, environmentId: str, joint: Any, jointId: str, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -9145,6 +10218,7 @@ def ModifyJoint( environmentId (str): ID of the environment. joint (JointInput): Properties to be modified on the joint. jointId (str): ID of the joint to modify. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -9158,6 +10232,7 @@ def ModifyJoint( ('environmentId', 'String!', environmentId), ('joint', 'JointInput!', joint), ('jointId', 'String!', jointId), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] @@ -9169,6 +10244,7 @@ def ModifyLink( environmentId: str, link: Any, linkId: str, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -9181,6 +10257,7 @@ def ModifyLink( environmentId (str): ID of the environment. link (LinkInput): Properties to be modified on the link. linkId (str): ID of the link to modify. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -9194,6 +10271,7 @@ def ModifyLink( ('environmentId', 'String!', environmentId), ('link', 'LinkInput!', link), ('linkId', 'String!', linkId), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] @@ -9204,6 +10282,7 @@ def ModifyModelProcessorProperties( bodyId: str, environmentId: str, modelProcessorProperties: Any, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -9215,6 +10294,7 @@ def ModifyModelProcessorProperties( bodyId (str): ID of the body. environmentId (str): ID of the environment. modelProcessorProperties (ModelProcessorPropertiesInput): Properties to be modified on the model processor properties. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -9227,6 +10307,7 @@ def ModifyModelProcessorProperties( ('bodyId', 'String!', bodyId), ('environmentId', 'String!', environmentId), ('modelProcessorProperties', 'ModelProcessorPropertiesInput!', modelProcessorProperties), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] @@ -9238,6 +10319,7 @@ def ModifyPositionConfiguration( environmentId: str, positionConfiguration: Any, positionConfigurationId: str, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -9250,6 +10332,7 @@ def ModifyPositionConfiguration( environmentId (str): ID of the environment. positionConfiguration (PositionConfigurationInput): Properties to be modified on the position configuration. positionConfigurationId (str): ID of the position configuration to modify. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -9263,6 +10346,7 @@ def ModifyPositionConfiguration( ('environmentId', 'String!', environmentId), ('positionConfiguration', 'PositionConfigurationInput!', positionConfiguration), ('positionConfigurationId', 'String!', positionConfigurationId), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] @@ -9328,6 +10412,7 @@ def ModifyReferenceObjectPKs( environmentId: str, addDisabledReferenceObjectPks: Optional[List[str]] = None, addReferenceObjectPks: Optional[List[str]] = None, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, removeDisabledReferenceObjectPks: Optional[List[str]] = None, removeReferenceObjectPks: Optional[List[str]] = None, resolveReferences: Optional[bool] = None, @@ -9342,6 +10427,7 @@ def ModifyReferenceObjectPKs( environmentId (str): ID of the environment. addDisabledReferenceObjectPks ([String], optional): A list of reference object pks to add to the disable list. addReferenceObjectPks ([String], optional): A list of reference object pks to add. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. removeDisabledReferenceObjectPks ([String], optional): A list of reference object pks to remove from the disable list. removeReferenceObjectPks ([String], optional): A list of reference object pks to remove. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. @@ -9357,6 +10443,7 @@ def ModifyReferenceObjectPKs( ('environmentId', 'String!', environmentId), ('addDisabledReferenceObjectPks', '[String!]', addDisabledReferenceObjectPks), ('addReferenceObjectPks', '[String!]', addReferenceObjectPks), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('removeDisabledReferenceObjectPks', '[String!]', removeDisabledReferenceObjectPks), ('removeReferenceObjectPks', '[String!]', removeReferenceObjectPks), ('resolveReferences', 'Boolean', resolveReferences), @@ -9369,6 +10456,7 @@ def ModifyRobotMotionParameters( bodyId: str, environmentId: str, robotMotionParameters: Any, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -9380,6 +10468,7 @@ def ModifyRobotMotionParameters( bodyId (str): ID of the body. environmentId (str): ID of the environment. robotMotionParameters (RobotMotionParametersInput): Properties to be modified on the robot motion parameters. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -9392,6 +10481,7 @@ def ModifyRobotMotionParameters( ('bodyId', 'String!', bodyId), ('environmentId', 'String!', environmentId), ('robotMotionParameters', 'RobotMotionParametersInput!', robotMotionParameters), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] @@ -9419,36 +10509,13 @@ def ModifyRole( ] return self._CallSimpleGraphAPI('mutation', operationName='ModifyRole', parameterNameTypeValues=parameterNameTypeValues, returnType='Role', fields=fields, timeout=timeout) - def ModifyScheduleEvent( - self, - scheduleEvent: Any, - scheduleEventId: str, - fields: Optional[Union[List[str], Dict[str, Any]]] = None, - timeout: Optional[float] = None, - ) -> Any: - """Modify an existing schedule event. - - Args: - scheduleEvent (ScheduleEventInput): Properties to be modified on the schedule event. - scheduleEventId (str): ID of the schedule event. - fields (list or dict, optional): Specifies a subset of fields to return. - timeout (float, optional): Number of seconds to wait for response. - - Returns: - ScheduleEvent: - """ - parameterNameTypeValues: List[Tuple[str, str, Any]] = [ - ('scheduleEvent', 'ScheduleEventInput!', scheduleEvent), - ('scheduleEventId', 'String!', scheduleEventId), - ] - return self._CallSimpleGraphAPI('mutation', operationName='ModifyScheduleEvent', parameterNameTypeValues=parameterNameTypeValues, returnType='ScheduleEvent', fields=fields, timeout=timeout) - def ModifyTool( self, bodyId: str, environmentId: str, tool: Any, toolId: str, + ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: Optional[bool] = None, units: Optional[Any] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -9461,6 +10528,7 @@ def ModifyTool( environmentId (str): ID of the environment. tool (ToolInput): Properties to modify on the tool. toolId (str): ID of the tool to modify. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. units (UnitSelectionInput, optional): Optional unit selection. fields (list or dict, optional): Specifies a subset of fields to return. @@ -9474,6 +10542,7 @@ def ModifyTool( ('environmentId', 'String!', environmentId), ('tool', 'ToolInput!', tool), ('toolId', 'String!', toolId), + ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ('units', 'UnitSelectionInput', units), ] @@ -9502,19 +10571,23 @@ def ModifyUser( def PurgeUnusedRuntimeImages( self, + removeDependents: bool = True, fields: Optional[Union[List[str], Dict[str, Any]]] = None, timeout: Optional[float] = None, ) -> None: """Purge unused runtime images Args: + removeDependents (bool, optional): If true, also remove resources that depend on this image. 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]] = [] + parameterNameTypeValues: List[Tuple[str, str, Any]] = [ + ('removeDependents', 'Boolean', removeDependents), + ] return self._CallSimpleGraphAPI('mutation', operationName='PurgeUnusedRuntimeImages', parameterNameTypeValues=parameterNameTypeValues, returnType='Void', fields=fields, timeout=timeout) def Reboot( @@ -9630,6 +10703,7 @@ def RemoveRoleFromGroup( def RemoveRuntimeImage( self, imageId: str, + removeDependents: bool = True, fields: Optional[Union[List[str], Dict[str, Any]]] = None, timeout: Optional[float] = None, ) -> None: @@ -9637,6 +10711,7 @@ def RemoveRuntimeImage( Args: imageId (str): ID of the runtime image to remove. + removeDependents (bool, optional): If true, also remove resources that depend on this image. fields (list or dict, optional): Specifies a subset of fields to return. timeout (float, optional): Number of seconds to wait for response. @@ -9645,6 +10720,7 @@ def RemoveRuntimeImage( """ parameterNameTypeValues: List[Tuple[str, str, Any]] = [ ('imageId', 'String!', imageId), + ('removeDependents', 'Boolean', removeDependents), ] return self._CallSimpleGraphAPI('mutation', operationName='RemoveRuntimeImage', parameterNameTypeValues=parameterNameTypeValues, returnType='Void', fields=fields, timeout=timeout) @@ -9772,6 +10848,39 @@ def RestartRuntimeContainer( parameterNameTypeValues: List[Tuple[str, str, Any]] = [] return self._CallSimpleGraphAPI('mutation', operationName='RestartRuntimeContainer', parameterNameTypeValues=parameterNameTypeValues, returnType='Void', fields=fields, timeout=timeout) + def RestorePortalBackup( + self, + id: str, + portalName: str, + selection: Optional[Any] = None, + fields: Optional[Union[List[str], Dict[str, Any]]] = None, + timeout: Optional[float] = None, + ) -> None: + """RestorePortalBackup downloads the named backup from the +portal and applies it. The controller restarts as part of +the restore. Returns nil on success. Failures surface +through the standard GraphQL error envelope. + + Args: + id (str): + portalName (str): + selection (PortalBackupSelectionInput, optional): PortalBackupSelection mirrors the subsystem flags on backup.Options, + declared here so webstack.conf gains no dependency on runtime + packages. Every flag is `*bool` so null (inherit the default) is + distinct from explicit false (exclude). + 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]] = [ + ('id', 'String!', id), + ('portalName', 'String!', portalName), + ('selection', 'PortalBackupSelectionInput', selection), + ] + return self._CallSimpleGraphAPI('mutation', operationName='RestorePortalBackup', parameterNameTypeValues=parameterNameTypeValues, returnType='Void', fields=fields, timeout=timeout) + def ScanWirelessNetwork( self, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -9789,6 +10898,32 @@ def ScanWirelessNetwork( parameterNameTypeValues: List[Tuple[str, str, Any]] = [] return self._CallSimpleGraphAPI('mutation', operationName='ScanWirelessNetwork', parameterNameTypeValues=parameterNameTypeValues, returnType='Void', fields=fields, timeout=timeout) + def SetGroupRoles( + self, + groupId: str, + roleIds: List[str], + fields: Optional[Union[List[str], Dict[str, Any]]] = None, + timeout: Optional[float] = None, + ) -> Any: + """Replace the group's role memberships with the supplied set. + + Args: + groupId (str): ID of the group. + roleIds ([String]): Role IDs the group should hold after this call. Pass an empty list to drop + every existing assignment. + fields (list or dict, optional): Specifies a subset of fields to return. + timeout (float, optional): Number of seconds to wait for response. + + Returns: + Group: Group of multiple User, a User can belong to multiple Group. + A User must belong to a Group to receive Role assignment. + """ + parameterNameTypeValues: List[Tuple[str, str, Any]] = [ + ('groupId', 'String!', groupId), + ('roleIds', '[String!]!', roleIds), + ] + return self._CallSimpleGraphAPI('mutation', operationName='SetGroupRoles', parameterNameTypeValues=parameterNameTypeValues, returnType='Group', fields=fields, timeout=timeout) + def SetPendantBuzzerOn( self, address: Optional[str] = None, @@ -9912,6 +11047,32 @@ def SetPendantTouchscreenModes( ] return self._CallSimpleGraphAPI('mutation', operationName='SetPendantTouchscreenModes', parameterNameTypeValues=parameterNameTypeValues, returnType='Void', fields=fields, timeout=timeout) + def SetRolePermissions( + self, + permissions: List[Any], + roleId: str, + fields: Optional[Union[List[str], Dict[str, Any]]] = None, + timeout: Optional[float] = None, + ) -> Any: + """Replace the role's permission set with the supplied list. + + Args: + permissions ([PermissionInput]): Permissions the role should grant after this call. Pass an empty list to + drop every existing permission. + roleId (str): ID of the role. + fields (list or dict, optional): Specifies a subset of fields to return. + timeout (float, optional): Number of seconds to wait for response. + + Returns: + Role: Each Group can have zero or more Role assigned. + A Role can be assigned to multiple Group. + """ + parameterNameTypeValues: List[Tuple[str, str, Any]] = [ + ('permissions', '[PermissionInput!]!', permissions), + ('roleId', 'String!', roleId), + ] + return self._CallSimpleGraphAPI('mutation', operationName='SetRolePermissions', parameterNameTypeValues=parameterNameTypeValues, returnType='Role', fields=fields, timeout=timeout) + def SetUntypedApplicationConfiguration( self, content: Any, @@ -9928,7 +11089,7 @@ def SetUntypedApplicationConfiguration( content (Any): Untyped content to replace the configuration with. relativeConfigurationId (str): ID of the configuration, for example "controllersystem.conf". applicationId (str, optional): ID of the application. - ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, will return null unless modified after this timestamp. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved configurations. Defaults to operate and return resolved data. fields (list or dict, optional): Specifies a subset of fields to return. timeout (float, optional): Number of seconds to wait for response. @@ -9949,6 +11110,7 @@ def SetUntypedConfiguration( self, configurationId: str, content: Any, + ifMatchRevisionId: Optional[int] = None, ifUnmodifiedSinceModifiedAt: Optional[Any] = None, resolveReferences: bool = False, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -9959,7 +11121,8 @@ def SetUntypedConfiguration( Args: configurationId (str): ID of the configuration, for example "controllersystem.conf". content (Any): Untyped content to replace the configuration with. - ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, will return null unless modified after this timestamp. + ifMatchRevisionId (int, optional): If supplied, the mutation only proceeds when the stored configuration's revisionId matches. Mismatch returns a conflict error. + ifUnmodifiedSinceModifiedAt (DateTime, optional): If supplied, the mutation only proceeds when everything it writes was modified strictly before this timestamp, so pass a timestamp taken after the read. Mismatch returns a conflict error. resolveReferences (bool, optional): Whether to operate on resolved configurations. Defaults to operate and return unresolved data. fields (list or dict, optional): Specifies a subset of fields to return. timeout (float, optional): Number of seconds to wait for response. @@ -9970,6 +11133,7 @@ def SetUntypedConfiguration( parameterNameTypeValues: List[Tuple[str, str, Any]] = [ ('configurationId', 'String!', configurationId), ('content', 'Any!', content), + ('ifMatchRevisionId', 'Int', ifMatchRevisionId), ('ifUnmodifiedSinceModifiedAt', 'DateTime', ifUnmodifiedSinceModifiedAt), ('resolveReferences', 'Boolean', resolveReferences), ] @@ -10002,6 +11166,58 @@ def SetUntypedWebAppConfiguration( ] return self._CallSimpleGraphAPI('mutation', operationName='SetUntypedWebAppConfiguration', parameterNameTypeValues=parameterNameTypeValues, returnType='Any', fields=fields, timeout=timeout) + def SetUserCredentials( + self, + algorithm: Any, + digest: str, + userId: str, + fields: Optional[Union[List[str], Dict[str, Any]]] = None, + timeout: Optional[float] = None, + ) -> Any: + """Store a caller-supplied bcrypt digest on the user verbatim. + + Args: + algorithm (CredentialAlgorithm): Hashing algorithm the digest was produced with. + digest (str): Hashed credential digest, stored verbatim. Must parse as a valid bcrypt digest. + userId (str): ID of the user. + fields (list or dict, optional): Specifies a subset of fields to return. + timeout (float, optional): Number of seconds to wait for response. + + Returns: + User: Represents one identity, such as “John Doe”. + """ + parameterNameTypeValues: List[Tuple[str, str, Any]] = [ + ('algorithm', 'CredentialAlgorithm!', algorithm), + ('digest', 'String!', digest), + ('userId', 'String!', userId), + ] + return self._CallSimpleGraphAPI('mutation', operationName='SetUserCredentials', parameterNameTypeValues=parameterNameTypeValues, returnType='User', fields=fields, timeout=timeout) + + def SetUserGroups( + self, + groupIds: List[str], + userId: str, + fields: Optional[Union[List[str], Dict[str, Any]]] = None, + timeout: Optional[float] = None, + ) -> Any: + """Replace the user's group memberships with the supplied set. + + Args: + groupIds ([String]): Group IDs the user should belong to after this call. Pass an empty list + to drop every existing membership. + userId (str): ID of the user. + fields (list or dict, optional): Specifies a subset of fields to return. + timeout (float, optional): Number of seconds to wait for response. + + Returns: + User: Represents one identity, such as “John Doe”. + """ + parameterNameTypeValues: List[Tuple[str, str, Any]] = [ + ('groupIds', '[String!]!', groupIds), + ('userId', 'String!', userId), + ] + return self._CallSimpleGraphAPI('mutation', operationName='SetUserGroups', parameterNameTypeValues=parameterNameTypeValues, returnType='User', fields=fields, timeout=timeout) + def SnapImages( self, parameters: Optional[Any] = None, @@ -10023,6 +11239,30 @@ def SnapImages( ] return self._CallSimpleGraphAPI('mutation', operationName='SnapImages', parameterNameTypeValues=parameterNameTypeValues, returnType='MujinImage', fields=fields, timeout=timeout) + def SquashAllApplicationConfigurations( + self, + applicationId: str, + resolveReferences: bool = True, + fields: Optional[Union[List[str], Dict[str, Any]]] = None, + timeout: Optional[float] = None, + ) -> Any: + """Squash a source application's resolved configurations into the application it references, returns the derived destination and the modified relative configuration ids. + + Args: + applicationId (str): ID of the source application whose resolved configurations are squashed into the application it references. + resolveReferences (bool, optional): Whether to operate on resolved configurations. Defaults to operate and return resolved data. + fields (list or dict, optional): Specifies a subset of fields to return. + timeout (float, optional): Number of seconds to wait for response. + + Returns: + SquashAllApplicationConfigurationsReturnValue: + """ + parameterNameTypeValues: List[Tuple[str, str, Any]] = [ + ('applicationId', 'String!', applicationId), + ('resolveReferences', 'Boolean', resolveReferences), + ] + return self._CallSimpleGraphAPI('mutation', operationName='SquashAllApplicationConfigurations', parameterNameTypeValues=parameterNameTypeValues, returnType='SquashAllApplicationConfigurationsReturnValue', fields=fields, timeout=timeout) + def StartPacketCapture( self, label: str, @@ -10077,6 +11317,7 @@ def SyncConfigurationsFromRemote( remoteUrl: str, ignoreDownloadFailures: Optional[bool] = None, remotePassword: Optional[str] = None, + remoteProxyUrl: Optional[str] = None, remoteUsername: Optional[str] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, timeout: Optional[float] = None, @@ -10088,6 +11329,7 @@ def SyncConfigurationsFromRemote( remoteUrl (str): URL to remote webstack, e.g. "http://username:password@controller123". ignoreDownloadFailures (bool, optional): If set to true, ignores download failures. remotePassword (str, optional): Optional credential to use when authenticating with remote webstack, if credentials are not given in remoteUrl already. + remoteProxyUrl (str, optional): Optional proxy URL for outbound requests to the remote webstack. Supports http, https, and socks5 schemes. When empty, no proxy is used. remoteUsername (str, optional): Optional credential to use when authenticating with remote webstack, if credentials are not given in remoteUrl already. fields (list or dict, optional): Specifies a subset of fields to return. timeout (float, optional): Number of seconds to wait for response. @@ -10100,6 +11342,7 @@ def SyncConfigurationsFromRemote( ('remoteUrl', 'String!', remoteUrl), ('ignoreDownloadFailures', 'Boolean', ignoreDownloadFailures), ('remotePassword', 'String', remotePassword), + ('remoteProxyUrl', 'String', remoteProxyUrl), ('remoteUsername', 'String', remoteUsername), ] return self._CallSimpleGraphAPI('mutation', operationName='SyncConfigurationsFromRemote', parameterNameTypeValues=parameterNameTypeValues, returnType='SyncConfigurationsFromRemoteReturnValue', fields=fields, timeout=timeout) @@ -10110,6 +11353,7 @@ def SyncConfigurationsToRemote( remoteUrl: str, ignoreUploadFailures: Optional[bool] = None, remotePassword: Optional[str] = None, + remoteProxyUrl: Optional[str] = None, remoteUsername: Optional[str] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, timeout: Optional[float] = None, @@ -10121,6 +11365,7 @@ def SyncConfigurationsToRemote( remoteUrl (str): URL to remote webstack, e.g. "http://username:password@controller123". ignoreUploadFailures (bool, optional): If set to true, ignores download failures. remotePassword (str, optional): Optional credential to use when authenticating with remote webstack, if credentials are not given in remoteUrl already. + remoteProxyUrl (str, optional): Optional proxy URL for outbound requests to the remote webstack. Supports http, https, and socks5 schemes. When empty, no proxy is used. remoteUsername (str, optional): Optional credential to use when authenticating with remote webstack, if credentials are not given in remoteUrl already. fields (list or dict, optional): Specifies a subset of fields to return. timeout (float, optional): Number of seconds to wait for response. @@ -10133,6 +11378,7 @@ def SyncConfigurationsToRemote( ('remoteUrl', 'String!', remoteUrl), ('ignoreUploadFailures', 'Boolean', ignoreUploadFailures), ('remotePassword', 'String', remotePassword), + ('remoteProxyUrl', 'String', remoteProxyUrl), ('remoteUsername', 'String', remoteUsername), ] return self._CallSimpleGraphAPI('mutation', operationName='SyncConfigurationsToRemote', parameterNameTypeValues=parameterNameTypeValues, returnType='SyncConfigurationsToRemoteReturnValue', fields=fields, timeout=timeout) @@ -10147,6 +11393,7 @@ def SyncEnvironments( fileNamePatterns: Optional[List[str]] = None, ignoreDownloadFailures: Optional[bool] = None, remotePassword: Optional[str] = None, + remoteProxyUrl: Optional[str] = None, remoteUsername: Optional[str] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, timeout: Optional[float] = None, @@ -10165,6 +11412,7 @@ def SyncEnvironments( fileNamePatterns ([String], optional): List of regular expression patterns to determine what files to sync inside each environment. ignoreDownloadFailures (bool, optional): If set to true, ignores download failures. remotePassword (str, optional): Optional credential to use when authenticating with remote webstack, if credentials are not given in remoteUrl already. + remoteProxyUrl (str, optional): Optional proxy URL for outbound requests to the remote webstack. Supports http, https, and socks5 schemes. When empty, no proxy is used. remoteUsername (str, optional): Optional credential to use when authenticating with remote webstack, if credentials are not given in remoteUrl already. fields (list or dict, optional): Specifies a subset of fields to return. timeout (float, optional): Number of seconds to wait for response. @@ -10182,6 +11430,7 @@ def SyncEnvironments( ('fileNamePatterns', '[String!]', fileNamePatterns), ('ignoreDownloadFailures', 'Boolean', ignoreDownloadFailures), ('remotePassword', 'String', remotePassword), + ('remoteProxyUrl', 'String', remoteProxyUrl), ('remoteUsername', 'String', remoteUsername), ] return self._CallSimpleGraphAPI('mutation', operationName='SyncEnvironments', parameterNameTypeValues=parameterNameTypeValues, returnType='SyncEnvironmentsFromRemoteReturnValue', fields=fields, timeout=timeout) @@ -10196,6 +11445,7 @@ def SyncEnvironmentsFromRemote( fileNamePatterns: Optional[List[str]] = None, ignoreDownloadFailures: Optional[bool] = None, remotePassword: Optional[str] = None, + remoteProxyUrl: Optional[str] = None, remoteUsername: Optional[str] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, timeout: Optional[float] = None, @@ -10211,6 +11461,7 @@ def SyncEnvironmentsFromRemote( fileNamePatterns ([String], optional): List of regular expression patterns to determine what files to sync inside each environment. ignoreDownloadFailures (bool, optional): If set to true, ignores download failures. remotePassword (str, optional): Optional credential to use when authenticating with remote webstack, if credentials are not given in remoteUrl already. + remoteProxyUrl (str, optional): Optional proxy URL for outbound requests to the remote webstack. Supports http, https, and socks5 schemes. When empty, no proxy is used. remoteUsername (str, optional): Optional credential to use when authenticating with remote webstack, if credentials are not given in remoteUrl already. fields (list or dict, optional): Specifies a subset of fields to return. timeout (float, optional): Number of seconds to wait for response. @@ -10227,6 +11478,7 @@ def SyncEnvironmentsFromRemote( ('fileNamePatterns', '[String!]', fileNamePatterns), ('ignoreDownloadFailures', 'Boolean', ignoreDownloadFailures), ('remotePassword', 'String', remotePassword), + ('remoteProxyUrl', 'String', remoteProxyUrl), ('remoteUsername', 'String', remoteUsername), ] return self._CallSimpleGraphAPI('mutation', operationName='SyncEnvironmentsFromRemote', parameterNameTypeValues=parameterNameTypeValues, returnType='SyncEnvironmentsFromRemoteReturnValue', fields=fields, timeout=timeout) @@ -10240,6 +11492,7 @@ def SyncEnvironmentsToRemote( fileNamePatterns: Optional[List[str]] = None, ignoreUploadFailures: Optional[bool] = None, remotePassword: Optional[str] = None, + remoteProxyUrl: Optional[str] = None, remoteUsername: Optional[str] = None, uploadReferenceObjects: Optional[bool] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, @@ -10255,6 +11508,7 @@ def SyncEnvironmentsToRemote( fileNamePatterns ([String], optional): List of regular expression patterns to determine what files to sync inside each environment. ignoreUploadFailures (bool, optional): If set to true, ignores upload failures. remotePassword (str, optional): Optional credential to use when authenticating with remote webstack, if credentials are not given in remoteUrl already. + remoteProxyUrl (str, optional): Optional proxy URL for outbound requests to the remote webstack. Supports http, https, and socks5 schemes. When empty, no proxy is used. remoteUsername (str, optional): Optional credential to use when authenticating with remote webstack, if credentials are not given in remoteUrl already. uploadReferenceObjects (bool, optional): If set to true, upload objects referenced in bodies. fields (list or dict, optional): Specifies a subset of fields to return. @@ -10271,11 +11525,39 @@ def SyncEnvironmentsToRemote( ('fileNamePatterns', '[String!]', fileNamePatterns), ('ignoreUploadFailures', 'Boolean', ignoreUploadFailures), ('remotePassword', 'String', remotePassword), + ('remoteProxyUrl', 'String', remoteProxyUrl), ('remoteUsername', 'String', remoteUsername), ('uploadReferenceObjects', 'Boolean', uploadReferenceObjects), ] return self._CallSimpleGraphAPI('mutation', operationName='SyncEnvironmentsToRemote', parameterNameTypeValues=parameterNameTypeValues, returnType='SyncEnvironmentsToRemoteReturnValue', fields=fields, timeout=timeout) + def UnlockEnvironment( + self, + environmentId: str, + resolveReferences: Optional[bool] = None, + units: Optional[Any] = None, + fields: Optional[Union[List[str], Dict[str, Any]]] = None, + timeout: Optional[float] = None, + ) -> Any: + """Unlock a locked environment. Any user can unlock an environment. + + Args: + environmentId (str): ID of the environment to unlock. + resolveReferences (bool, optional): Whether to operate on resolved bodies in the environment. Defaults to operate and return unresolved data. + units (UnitSelectionInput, optional): Optional unit selection. + fields (list or dict, optional): Specifies a subset of fields to return. + timeout (float, optional): Number of seconds to wait for response. + + Returns: + Environment: An OpenRAVE Environment + """ + parameterNameTypeValues: List[Tuple[str, str, Any]] = [ + ('environmentId', 'String!', environmentId), + ('resolveReferences', 'Boolean', resolveReferences), + ('units', 'UnitSelectionInput', units), + ] + return self._CallSimpleGraphAPI('mutation', operationName='UnlockEnvironment', parameterNameTypeValues=parameterNameTypeValues, returnType='Environment', fields=fields, timeout=timeout) + def Upgrade( self, autoRestartRuntimeContainer: Optional[bool] = None, @@ -10303,6 +11585,39 @@ def Upgrade( ] return self._CallSimpleGraphAPI('mutation', operationName='Upgrade', parameterNameTypeValues=parameterNameTypeValues, returnType='Void', fields=fields, timeout=timeout) + def UploadPortalBackup( + self, + label: str, + portalName: str, + selection: Optional[Any] = None, + fields: Optional[Union[List[str], Dict[str, Any]]] = None, + timeout: Optional[float] = None, + ) -> Any: + """UploadPortalBackup enqueues a backup upload to the named +portal and returns immediately with the job id, without +waiting for the upload to finish. Poll the returned job id +via ListPortalBackupJobs to observe progress and completion. + + Args: + label (str): + portalName (str): + selection (PortalBackupSelectionInput, optional): PortalBackupSelection mirrors the subsystem flags on backup.Options, + declared here so webstack.conf gains no dependency on runtime + packages. Every flag is `*bool` so null (inherit the default) is + distinct from explicit false (exclude). + fields (list or dict, optional): Specifies a subset of fields to return. + timeout (float, optional): Number of seconds to wait for response. + + Returns: + PortalBackupJob: PortalBackupJob is one upload attempt against one portal. + """ + parameterNameTypeValues: List[Tuple[str, str, Any]] = [ + ('label', 'String!', label), + ('portalName', 'String!', portalName), + ('selection', 'PortalBackupSelectionInput', selection), + ] + return self._CallSimpleGraphAPI('mutation', operationName='UploadPortalBackup', parameterNameTypeValues=parameterNameTypeValues, returnType='PortalBackupJob', fields=fields, timeout=timeout) + class GraphSubscriptions: def Unsubscribe(self, subscription: Subscription) -> None: @@ -10314,13 +11629,15 @@ def Unsubscribe(self, subscription: Subscription) -> None: """ self._webclient.UnsubscribeGraphAPI(subscription) - def SubscribeApplicationConfigurationChange( + def SubscribeActiveAlarmChange( self, callbackFunction: Callable[[Optional[Any], Optional[Dict[str, Any]]], None], - applicationId: Optional[str] = None, + filter: Optional[Any] = None, + interval: str = '5s', fields: Optional[Union[List[str], Dict[str, Any]]] = None, ) -> Subscription: - """ + """Subscribe to the alarms that have not been resolved yet. The first message carries every +active alarm, each later message carries only what changed since the previous one. Args: callbackFunction (Callable[[Optional[ControllerGraphClientException], Optional[dict]], None]): @@ -10328,22 +11645,23 @@ def SubscribeApplicationConfigurationChange( def CallbackFunction(error: Optional[ControllerGraphClientException], response: Optional[dict]) -> None - error: Contains an error message (or `None` if no error occurred). - response: Contains the returned payload (or `None` if an error occurred). - applicationId (str, optional): ID of the application. + filter (FilterInput, optional): Report only the alarms matching this filter. Sorting and pagination do not apply to a stream of changes. + interval (str, optional): Interval at which the subscription rate should not exceed, for example "2s" or "200ms" fields (list or dict, optional): Specifies a subset of fields to return. Returns: - ConfigurationChange: + ActiveAlarmChange: """ parameterNameTypeValues: List[Tuple[str, str, Any]] = [ - ('applicationId', 'String', applicationId), + ('filter', 'FilterInput', filter), + ('interval', 'String', interval), ] - return self._CallSubscribeGraphAPI(operationName='SubscribeApplicationConfigurationChange', parameterNameTypeValues=parameterNameTypeValues, returnType='ConfigurationChange', callbackFunction=callbackFunction, fields=fields) + return self._CallSubscribeGraphAPI(operationName='SubscribeActiveAlarmChange', parameterNameTypeValues=parameterNameTypeValues, returnType='ActiveAlarmChange', callbackFunction=callbackFunction, fields=fields) - def SubscribeBaseSystemOrchestratorState( + def SubscribeApplicationConfigurationChange( self, callbackFunction: Callable[[Optional[Any], Optional[Dict[str, Any]]], None], - orchestratorId: str, - interval: str = '5s', + applicationId: Optional[str] = None, fields: Optional[Union[List[str], Dict[str, Any]]] = None, ) -> Subscription: """ @@ -10354,20 +11672,18 @@ def SubscribeBaseSystemOrchestratorState( def CallbackFunction(error: Optional[ControllerGraphClientException], response: Optional[dict]) -> None - error: Contains an error message (or `None` if no error occurred). - response: Contains the returned payload (or `None` if an error occurred). - orchestratorId (str): ID of the orchestrator to subscribe to - interval (str, optional): Interval at which the subscription rate should not exceed, for example "2s" or "200ms" + applicationId (str, optional): ID of the application. fields (list or dict, optional): Specifies a subset of fields to return. Returns: - BaseSystemOrchestratorState: + ConfigurationChange: """ parameterNameTypeValues: List[Tuple[str, str, Any]] = [ - ('orchestratorId', 'String!', orchestratorId), - ('interval', 'String', interval), + ('applicationId', 'String', applicationId), ] - return self._CallSubscribeGraphAPI(operationName='SubscribeBaseSystemOrchestratorState', parameterNameTypeValues=parameterNameTypeValues, returnType='BaseSystemOrchestratorState', callbackFunction=callbackFunction, fields=fields) + return self._CallSubscribeGraphAPI(operationName='SubscribeApplicationConfigurationChange', parameterNameTypeValues=parameterNameTypeValues, returnType='ConfigurationChange', callbackFunction=callbackFunction, fields=fields) - def SubscribeCameraCalibrationOrchestratorState( + def SubscribeBaseSystemOrchestratorState( self, callbackFunction: Callable[[Optional[Any], Optional[Dict[str, Any]]], None], orchestratorId: str, @@ -10387,17 +11703,18 @@ def CallbackFunction(error: Optional[ControllerGraphClientException], response: fields (list or dict, optional): Specifies a subset of fields to return. Returns: - CalibrationOrchestratorState: + BaseSystemOrchestratorState: """ parameterNameTypeValues: List[Tuple[str, str, Any]] = [ ('orchestratorId', 'String!', orchestratorId), ('interval', 'String', interval), ] - return self._CallSubscribeGraphAPI(operationName='SubscribeCameraCalibrationOrchestratorState', parameterNameTypeValues=parameterNameTypeValues, returnType='CalibrationOrchestratorState', callbackFunction=callbackFunction, fields=fields) + return self._CallSubscribeGraphAPI(operationName='SubscribeBaseSystemOrchestratorState', parameterNameTypeValues=parameterNameTypeValues, returnType='BaseSystemOrchestratorState', callbackFunction=callbackFunction, fields=fields) - def SubscribeCloudAgentState( + def SubscribeCameraCalibrationOrchestratorState( self, callbackFunction: Callable[[Optional[Any], Optional[Dict[str, Any]]], None], + orchestratorId: str, interval: str = '5s', fields: Optional[Union[List[str], Dict[str, Any]]] = None, ) -> Subscription: @@ -10409,16 +11726,18 @@ def SubscribeCloudAgentState( def CallbackFunction(error: Optional[ControllerGraphClientException], response: Optional[dict]) -> None - error: Contains an error message (or `None` if no error occurred). - response: Contains the returned payload (or `None` if an error occurred). + orchestratorId (str): ID of the orchestrator to subscribe to interval (str, optional): Interval at which the subscription rate should not exceed, for example "2s" or "200ms" fields (list or dict, optional): Specifies a subset of fields to return. Returns: - CloudAgentState: + CalibrationOrchestratorState: """ parameterNameTypeValues: List[Tuple[str, str, Any]] = [ + ('orchestratorId', 'String!', orchestratorId), ('interval', 'String', interval), ] - return self._CallSubscribeGraphAPI(operationName='SubscribeCloudAgentState', parameterNameTypeValues=parameterNameTypeValues, returnType='CloudAgentState', callbackFunction=callbackFunction, fields=fields) + return self._CallSubscribeGraphAPI(operationName='SubscribeCameraCalibrationOrchestratorState', parameterNameTypeValues=parameterNameTypeValues, returnType='CalibrationOrchestratorState', callbackFunction=callbackFunction, fields=fields) def SubscribeConfigurationChange( self, @@ -10712,6 +12031,40 @@ def CallbackFunction(error: Optional[ControllerGraphClientException], response: ] return self._CallSubscribeGraphAPI(operationName='SubscribePlanningServerState', parameterNameTypeValues=parameterNameTypeValues, returnType='PlanningServerState', callbackFunction=callbackFunction, fields=fields) + def SubscribePortalStates( + self, + callbackFunction: Callable[[Optional[Any], Optional[Dict[str, Any]]], None], + interval: str = '5s', + fields: Optional[Union[List[str], Dict[str, Any]]] = None, + ) -> Subscription: + """Emit the current portal states immediately, then re-poll on the +given interval (default 5s, floored at the configured minimum). + + Args: + callbackFunction (Callable[[Optional[ControllerGraphClientException], Optional[dict]], None]): + A function with signature that will be called when the subscription is triggered: + def CallbackFunction(error: Optional[ControllerGraphClientException], response: Optional[dict]) -> None + - error: Contains an error message (or `None` if no error occurred). + - response: Contains the returned payload (or `None` if an error occurred). + interval (str, optional): Interval at which the subscription rate should not exceed, for example "2s" or "200ms" + fields (list or dict, optional): Specifies a subset of fields to return. + + Returns: + [PortalState]: PortalState is the per-portal view ListPortalStates returns. One + entry per `.sock` found under the socket directory. The + fields beyond Name are populated from the portal's + /api/controller/info response. Connected is false (and + ControllerID / OrganizationID empty) when the socket exists but + the portal cannot be reached, e.g. the portal-client daemon has + lost its phone-home session. The uicore uses Linked and + OrganizationID to render "linked to org X" next to each portal + entry. + """ + parameterNameTypeValues: List[Tuple[str, str, Any]] = [ + ('interval', 'String', interval), + ] + return self._CallSubscribeGraphAPI(operationName='SubscribePortalStates', parameterNameTypeValues=parameterNameTypeValues, returnType='PortalState', callbackFunction=callbackFunction, fields=fields) + def SubscribeProductionCycleOrchestratorState( self, callbackFunction: Callable[[Optional[Any], Optional[Dict[str, Any]]], None], @@ -10776,6 +12129,31 @@ def CallbackFunction(error: Optional[ControllerGraphClientException], response: ] return self._CallSubscribeGraphAPI(operationName='SubscribeProgramLogLines', parameterNameTypeValues=parameterNameTypeValues, returnType='String', callbackFunction=callbackFunction, fields=fields) + def SubscribeRedis( + self, + callbackFunction: Callable[[Optional[Any], Optional[Dict[str, Any]]], None], + command: List[str], + fields: Optional[Union[List[str], Dict[str, Any]]] = None, + ) -> Subscription: + """Subscribes to one or more Redis pub/sub channels or patterns. + + Args: + callbackFunction (Callable[[Optional[ControllerGraphClientException], Optional[dict]], None]): + A function with signature that will be called when the subscription is triggered: + def CallbackFunction(error: Optional[ControllerGraphClientException], response: Optional[dict]) -> None + - error: Contains an error message (or `None` if no error occurred). + - response: Contains the returned payload (or `None` if an error occurred). + command ([String]): The Redis subscription command split into verb and channels (for example ["SUBSCRIBE", "channel1", "channel2"]). + fields (list or dict, optional): Specifies a subset of fields to return. + + Returns: + RedisSubscriptionResult: + """ + parameterNameTypeValues: List[Tuple[str, str, Any]] = [ + ('command', '[String!]!', command), + ] + return self._CallSubscribeGraphAPI(operationName='SubscribeRedis', parameterNameTypeValues=parameterNameTypeValues, returnType='RedisSubscriptionResult', callbackFunction=callbackFunction, fields=fields) + def SubscribeRegistrationOrchestratorState( self, callbackFunction: Callable[[Optional[Any], Optional[Dict[str, Any]]], None], @@ -10916,6 +12294,34 @@ def CallbackFunction(error: Optional[ControllerGraphClientException], response: ] return self._CallSubscribeGraphAPI(operationName='SubscribeSensorBridgesState', parameterNameTypeValues=parameterNameTypeValues, returnType='SensorBridgesState', callbackFunction=callbackFunction, fields=fields) + def SubscribeSoukoExecutionOrchestratorState( + self, + callbackFunction: Callable[[Optional[Any], Optional[Dict[str, Any]]], None], + orchestratorId: str, + interval: str = '5s', + fields: Optional[Union[List[str], Dict[str, Any]]] = None, + ) -> Subscription: + """ + + Args: + callbackFunction (Callable[[Optional[ControllerGraphClientException], Optional[dict]], None]): + A function with signature that will be called when the subscription is triggered: + def CallbackFunction(error: Optional[ControllerGraphClientException], response: Optional[dict]) -> None + - error: Contains an error message (or `None` if no error occurred). + - response: Contains the returned payload (or `None` if an error occurred). + orchestratorId (str): ID of the orchestrator to subscribe to + interval (str, optional): Interval at which the subscription rate should not exceed, for example "2s" or "200ms" + fields (list or dict, optional): Specifies a subset of fields to return. + + Returns: + SoukoExecutionOrchestratorState: + """ + parameterNameTypeValues: List[Tuple[str, str, Any]] = [ + ('orchestratorId', 'String!', orchestratorId), + ('interval', 'String', interval), + ] + return self._CallSubscribeGraphAPI(operationName='SubscribeSoukoExecutionOrchestratorState', parameterNameTypeValues=parameterNameTypeValues, returnType='SoukoExecutionOrchestratorState', callbackFunction=callbackFunction, fields=fields) + def SubscribeTeachWorkerOrchestratorState( self, callbackFunction: Callable[[Optional[Any], Optional[Dict[str, Any]]], None], @@ -11221,6 +12627,27 @@ def CallbackFunction(error: Optional[ControllerGraphClientException], response: ] return self._CallSubscribeGraphAPI(operationName='SubscribeWarehouseExecutionOrchestratorState', parameterNameTypeValues=parameterNameTypeValues, returnType='WarehouseExecutionOrchestratorState', callbackFunction=callbackFunction, fields=fields) + def SubscribeWebAppChange( + self, + callbackFunction: Callable[[Optional[Any], Optional[Dict[str, Any]]], None], + fields: Optional[Union[List[str], Dict[str, Any]]] = None, + ) -> Subscription: + """Subscribe to web app changes. + + Args: + callbackFunction (Callable[[Optional[ControllerGraphClientException], Optional[dict]], None]): + A function with signature that will be called when the subscription is triggered: + def CallbackFunction(error: Optional[ControllerGraphClientException], response: Optional[dict]) -> None + - error: Contains an error message (or `None` if no error occurred). + - response: Contains the returned payload (or `None` if an error occurred). + fields (list or dict, optional): Specifies a subset of fields to return. + + Returns: + WebAppChange: + """ + parameterNameTypeValues: List[Tuple[str, str, Any]] = [] + return self._CallSubscribeGraphAPI(operationName='SubscribeWebAppChange', parameterNameTypeValues=parameterNameTypeValues, returnType='WebAppChange', callbackFunction=callbackFunction, fields=fields) + def SubscribeWebStackState( self, callbackFunction: Callable[[Optional[Any], Optional[Dict[str, Any]]], None], @@ -11246,6 +12673,62 @@ def CallbackFunction(error: Optional[ControllerGraphClientException], response: ] return self._CallSubscribeGraphAPI(operationName='SubscribeWebStackState', parameterNameTypeValues=parameterNameTypeValues, returnType='WebStackState', callbackFunction=callbackFunction, fields=fields) + def SubscribeWorldEnvironment( + self, + callbackFunction: Callable[[Optional[Any], Optional[Dict[str, Any]]], None], + interval: str = '5s', + units: Optional[Any] = None, + fields: Optional[Union[List[str], Dict[str, Any]]] = None, + ) -> Subscription: + """Subscribe to the merged world environment. The current snapshot is sent immediately on subscribe. + + Args: + callbackFunction (Callable[[Optional[ControllerGraphClientException], Optional[dict]], None]): + A function with signature that will be called when the subscription is triggered: + def CallbackFunction(error: Optional[ControllerGraphClientException], response: Optional[dict]) -> None + - error: Contains an error message (or `None` if no error occurred). + - response: Contains the returned payload (or `None` if an error occurred). + interval (str, optional): Interval at which the subscription rate should not exceed, for example "2s" or "200ms" + units (UnitSelectionInput, optional): Optional unit selection. + fields (list or dict, optional): Specifies a subset of fields to return. + + Returns: + Environment: An OpenRAVE Environment + """ + parameterNameTypeValues: List[Tuple[str, str, Any]] = [ + ('interval', 'String', interval), + ('units', 'UnitSelectionInput', units), + ] + return self._CallSubscribeGraphAPI(operationName='SubscribeWorldEnvironment', parameterNameTypeValues=parameterNameTypeValues, returnType='Environment', callbackFunction=callbackFunction, fields=fields) + + def SubscribeWorldSimulatorEnvironment( + self, + callbackFunction: Callable[[Optional[Any], Optional[Dict[str, Any]]], None], + interval: str = '5s', + units: Optional[Any] = None, + fields: Optional[Union[List[str], Dict[str, Any]]] = None, + ) -> Subscription: + """Subscribe to the world simulator environment. The current snapshot is sent immediately on subscribe. + + Args: + callbackFunction (Callable[[Optional[ControllerGraphClientException], Optional[dict]], None]): + A function with signature that will be called when the subscription is triggered: + def CallbackFunction(error: Optional[ControllerGraphClientException], response: Optional[dict]) -> None + - error: Contains an error message (or `None` if no error occurred). + - response: Contains the returned payload (or `None` if an error occurred). + interval (str, optional): Interval at which the subscription rate should not exceed, for example "2s" or "200ms" + units (UnitSelectionInput, optional): Optional unit selection. + fields (list or dict, optional): Specifies a subset of fields to return. + + Returns: + Environment: An OpenRAVE Environment + """ + parameterNameTypeValues: List[Tuple[str, str, Any]] = [ + ('interval', 'String', interval), + ('units', 'UnitSelectionInput', units), + ] + return self._CallSubscribeGraphAPI(operationName='SubscribeWorldSimulatorEnvironment', parameterNameTypeValues=parameterNameTypeValues, returnType='Environment', callbackFunction=callbackFunction, fields=fields) + class GraphQueriesClient(GraphClientBase, GraphQueries): pass