@formant/data-sdk 1.62.0 → 1.64.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +510 -0
- package/dist/data-sdk.cjs.js +24 -24
- package/dist/data-sdk.cjs.js.map +1 -1
- package/dist/data-sdk.es.js +933 -922
- package/dist/data-sdk.es.js.map +1 -1
- package/dist/data-sdk.es6.js +933 -922
- package/dist/data-sdk.umd.js +24 -24
- package/package.json +1 -1
- package/dist/types/common/browser.d.ts +0 -2
- package/dist/types/common/defined.d.ts +0 -3
- package/dist/types/common/delay.d.ts +0 -1
- package/dist/types/common/duration.d.ts +0 -10
- package/dist/types/common/fork.d.ts +0 -5
- package/dist/types/data-sdk/src/Account.d.ts +0 -10
- package/dist/types/data-sdk/src/App.d.ts +0 -47
- package/dist/types/data-sdk/src/AppRtcClientPools.d.ts +0 -20
- package/dist/types/data-sdk/src/AudioPlayer.d.ts +0 -23
- package/dist/types/data-sdk/src/Authentication.d.ts +0 -2
- package/dist/types/data-sdk/src/CaptureStream.d.ts +0 -18
- package/dist/types/data-sdk/src/DataChannel.d.ts +0 -30
- package/dist/types/data-sdk/src/EventTriggerGroup.d.ts +0 -0
- package/dist/types/data-sdk/src/Fleet.d.ts +0 -88
- package/dist/types/data-sdk/src/KeyValue.d.ts +0 -8
- package/dist/types/data-sdk/src/Manipulator.d.ts +0 -21
- package/dist/types/data-sdk/src/RequestDataChannel.d.ts +0 -29
- package/dist/types/data-sdk/src/Role.d.ts +0 -8
- package/dist/types/data-sdk/src/User.d.ts +0 -8
- package/dist/types/data-sdk/src/api/addDeviceToFleet.d.ts +0 -1
- package/dist/types/data-sdk/src/api/aggregateTelemetry.d.ts +0 -3
- package/dist/types/data-sdk/src/api/createDevice.d.ts +0 -2
- package/dist/types/data-sdk/src/api/createFleet.d.ts +0 -2
- package/dist/types/data-sdk/src/api/createShareLink.d.ts +0 -22
- package/dist/types/data-sdk/src/api/deleteFleet.d.ts +0 -1
- package/dist/types/data-sdk/src/api/disableDevice.d.ts +0 -2
- package/dist/types/data-sdk/src/api/eventsCounter.d.ts +0 -7
- package/dist/types/data-sdk/src/api/getAllEventTriggerGroup.d.ts +0 -2
- package/dist/types/data-sdk/src/api/getAnalyticsModules.d.ts +0 -2
- package/dist/types/data-sdk/src/api/getAnalyticsRows.d.ts +0 -8
- package/dist/types/data-sdk/src/api/getAnalyticsStreams.d.ts +0 -18
- package/dist/types/data-sdk/src/api/getAnnotationCount.d.ts +0 -4
- package/dist/types/data-sdk/src/api/getAnnotationCountByIntervals.d.ts +0 -8
- package/dist/types/data-sdk/src/api/getCurrentGroup.d.ts +0 -2
- package/dist/types/data-sdk/src/api/getDevice.d.ts +0 -2
- package/dist/types/data-sdk/src/api/getDevices.d.ts +0 -2
- package/dist/types/data-sdk/src/api/getDevicesData.d.ts +0 -2
- package/dist/types/data-sdk/src/api/getEvent.d.ts +0 -2
- package/dist/types/data-sdk/src/api/getEventTriggerGroup.d.ts +0 -2
- package/dist/types/data-sdk/src/api/getFileUrl.d.ts +0 -1
- package/dist/types/data-sdk/src/api/getFleet.d.ts +0 -2
- package/dist/types/data-sdk/src/api/getFleetDevices.d.ts +0 -1
- package/dist/types/data-sdk/src/api/getInterventions.d.ts +0 -2
- package/dist/types/data-sdk/src/api/getLatestTelemetry.d.ts +0 -3
- package/dist/types/data-sdk/src/api/getModuleConfiguration.d.ts +0 -1
- package/dist/types/data-sdk/src/api/getOnlineDevices.d.ts +0 -2
- package/dist/types/data-sdk/src/api/getPeers.d.ts +0 -2
- package/dist/types/data-sdk/src/api/getRealtimeDevices.d.ts +0 -2
- package/dist/types/data-sdk/src/api/getRealtimeSessions.d.ts +0 -3
- package/dist/types/data-sdk/src/api/getStreams.d.ts +0 -2
- package/dist/types/data-sdk/src/api/getTaskReportRows.d.ts +0 -26
- package/dist/types/data-sdk/src/api/getTaskreportTables.d.ts +0 -23
- package/dist/types/data-sdk/src/api/getTelemetry.d.ts +0 -4
- package/dist/types/data-sdk/src/api/getViews.d.ts +0 -2
- package/dist/types/data-sdk/src/api/listFleets.d.ts +0 -2
- package/dist/types/data-sdk/src/api/patchDevice.d.ts +0 -2
- package/dist/types/data-sdk/src/api/patchEventTriggerGroup.d.ts +0 -2
- package/dist/types/data-sdk/src/api/patchFleet.d.ts +0 -2
- package/dist/types/data-sdk/src/api/patchStreams.d.ts +0 -2
- package/dist/types/data-sdk/src/api/patchView.d.ts +0 -2
- package/dist/types/data-sdk/src/api/queryAnalytics.d.ts +0 -43
- package/dist/types/data-sdk/src/api/queryDevices.d.ts +0 -3
- package/dist/types/data-sdk/src/api/queryDevicesData.d.ts +0 -3
- package/dist/types/data-sdk/src/api/queryEvents.d.ts +0 -3
- package/dist/types/data-sdk/src/api/queryTelemetry.d.ts +0 -3
- package/dist/types/data-sdk/src/cache/StoreCache.d.ts +0 -19
- package/dist/types/data-sdk/src/cache/filterDataByTime.d.ts +0 -2
- package/dist/types/data-sdk/src/cache/filterDataByType.d.ts +0 -3
- package/dist/types/data-sdk/src/cache/queryStore.d.ts +0 -11
- package/dist/types/data-sdk/src/config/index.d.ts +0 -1
- package/dist/types/data-sdk/src/config/whichFormantApiUrl.d.ts +0 -6
- package/dist/types/data-sdk/src/connector/common/Color.d.ts +0 -13
- package/dist/types/data-sdk/src/connector/common/Timeout.d.ts +0 -1
- package/dist/types/data-sdk/src/connector/common/defined.d.ts +0 -3
- package/dist/types/data-sdk/src/connector/common/delay.d.ts +0 -1
- package/dist/types/data-sdk/src/connector/common/duration.d.ts +0 -10
- package/dist/types/data-sdk/src/connector/common/equals.d.ts +0 -1
- package/dist/types/data-sdk/src/connector/common/filterDataByTime.d.ts +0 -2
- package/dist/types/data-sdk/src/connector/common/filterDataByType.d.ts +0 -3
- package/dist/types/data-sdk/src/connector/common/flattenPoints.d.ts +0 -8
- package/dist/types/data-sdk/src/connector/common/fork.d.ts +0 -5
- package/dist/types/data-sdk/src/connector/common/range.d.ts +0 -1
- package/dist/types/data-sdk/src/connector/common/throttle.d.ts +0 -1
- package/dist/types/data-sdk/src/connector/common/toJsonLines.d.ts +0 -1
- package/dist/types/data-sdk/src/connector/data/BaseUniverseDataConnector.d.ts +0 -68
- package/dist/types/data-sdk/src/connector/data/DataFetchWorker.d.ts +0 -1
- package/dist/types/data-sdk/src/connector/data/LiveUniverseData.d.ts +0 -36
- package/dist/types/data-sdk/src/connector/data/PcdLoaderWorker.d.ts +0 -1
- package/dist/types/data-sdk/src/connector/data/StoreCache.d.ts +0 -17
- package/dist/types/data-sdk/src/connector/data/TelemetryUniverseData.d.ts +0 -44
- package/dist/types/data-sdk/src/connector/data/pcd.d.ts +0 -23
- package/dist/types/data-sdk/src/connector/data/queryStore.d.ts +0 -12
- package/dist/types/data-sdk/src/connector/data/range.d.ts +0 -1
- package/dist/types/data-sdk/src/connector/model/IPcd.d.ts +0 -20
- package/dist/types/data-sdk/src/connector/model/IPose.d.ts +0 -3
- package/dist/types/data-sdk/src/connector/model/IUniverseData.d.ts +0 -124
- package/dist/types/data-sdk/src/connector/model/IUniverseGridMap.d.ts +0 -11
- package/dist/types/data-sdk/src/connector/model/IUniverseOdometry.d.ts +0 -6
- package/dist/types/data-sdk/src/connector/model/IUniversePath.d.ts +0 -3
- package/dist/types/data-sdk/src/connector/model/IUniversePointCloud.d.ts +0 -6
- package/dist/types/data-sdk/src/devices/BaseDevice.d.ts +0 -45
- package/dist/types/data-sdk/src/devices/Device.d.ts +0 -88
- package/dist/types/data-sdk/src/devices/ICustomDataChannelCreator.d.ts +0 -4
- package/dist/types/data-sdk/src/devices/IRealtimeSubscriber.d.ts +0 -7
- package/dist/types/data-sdk/src/devices/IView.d.ts +0 -29
- package/dist/types/data-sdk/src/devices/PeerDevice.d.ts +0 -35
- package/dist/types/data-sdk/src/devices/device.types.d.ts +0 -91
- package/dist/types/data-sdk/src/init.d.ts +0 -1
- package/dist/types/data-sdk/src/main.d.ts +0 -172
- package/dist/types/data-sdk/src/message-bus/bidirectional/getDate.d.ts +0 -1
- package/dist/types/data-sdk/src/message-bus/bidirectional/prompt.d.ts +0 -5
- package/dist/types/data-sdk/src/message-bus/listeners/EmbeddedAppMessage.d.ts +0 -54
- package/dist/types/data-sdk/src/message-bus/listeners/addAccessTokenRefreshListener.d.ts +0 -1
- package/dist/types/data-sdk/src/message-bus/listeners/addChannelDataListener.d.ts +0 -4
- package/dist/types/data-sdk/src/message-bus/listeners/addMenuListener.d.ts +0 -1
- package/dist/types/data-sdk/src/message-bus/listeners/addModuleConfigurationListener.d.ts +0 -2
- package/dist/types/data-sdk/src/message-bus/listeners/addModuleDataListener.d.ts +0 -29
- package/dist/types/data-sdk/src/message-bus/listeners/addOverviewDeviceListener.d.ts +0 -2
- package/dist/types/data-sdk/src/message-bus/listeners/addStreamLIstener.d.ts +0 -3
- package/dist/types/data-sdk/src/message-bus/senders/AppMessage.d.ts +0 -63
- package/dist/types/data-sdk/src/message-bus/senders/disableAnalyticsBottomBar.d.ts +0 -1
- package/dist/types/data-sdk/src/message-bus/senders/goToDevice.d.ts +0 -1
- package/dist/types/data-sdk/src/message-bus/senders/goToTime.d.ts +0 -1
- package/dist/types/data-sdk/src/message-bus/senders/refreshAuthToken.d.ts +0 -1
- package/dist/types/data-sdk/src/message-bus/senders/requestModuleData.d.ts +0 -1
- package/dist/types/data-sdk/src/message-bus/senders/sendAppMessage.d.ts +0 -2
- package/dist/types/data-sdk/src/message-bus/senders/sendChannelData.d.ts +0 -1
- package/dist/types/data-sdk/src/message-bus/senders/setModuleDateTimeRange.d.ts +0 -1
- package/dist/types/data-sdk/src/message-bus/senders/setupModuleMenus.d.ts +0 -3
- package/dist/types/data-sdk/src/message-bus/senders/showMessage.d.ts +0 -1
- package/dist/types/data-sdk/src/model/AccessLevel.d.ts +0 -5
- package/dist/types/data-sdk/src/model/AggregateLevel.d.ts +0 -1
- package/dist/types/data-sdk/src/model/AggregateType.d.ts +0 -2
- package/dist/types/data-sdk/src/model/AnalyticsAggregateType.d.ts +0 -2
- package/dist/types/data-sdk/src/model/AnalyticsChartType.d.ts +0 -2
- package/dist/types/data-sdk/src/model/AnnotationAreaType.d.ts +0 -2
- package/dist/types/data-sdk/src/model/AnnotationType.d.ts +0 -2
- package/dist/types/data-sdk/src/model/CognitoRegion.d.ts +0 -2
- package/dist/types/data-sdk/src/model/DeviceType.d.ts +0 -2
- package/dist/types/data-sdk/src/model/EventSortableColumn.d.ts +0 -1
- package/dist/types/data-sdk/src/model/EventType.d.ts +0 -2
- package/dist/types/data-sdk/src/model/HealthStatus.d.ts +0 -2
- package/dist/types/data-sdk/src/model/HexRgbColor.d.ts +0 -1
- package/dist/types/data-sdk/src/model/IAccount.d.ts +0 -7
- package/dist/types/data-sdk/src/model/IAccountTree.d.ts +0 -4
- package/dist/types/data-sdk/src/model/IAggregateRow.d.ts +0 -8
- package/dist/types/data-sdk/src/model/IAnalyticsModule.d.ts +0 -15
- package/dist/types/data-sdk/src/model/IAnalyticsModuleConfiguration.d.ts +0 -6
- package/dist/types/data-sdk/src/model/IAnnotation.d.ts +0 -13
- package/dist/types/data-sdk/src/model/IAnnotationAreaTypeMap.d.ts +0 -4
- package/dist/types/data-sdk/src/model/IAnnotationQuery.d.ts +0 -7
- package/dist/types/data-sdk/src/model/IAudioInfo.d.ts +0 -4
- package/dist/types/data-sdk/src/model/IBaseEntity.d.ts +0 -7
- package/dist/types/data-sdk/src/model/IBaseEvent.d.ts +0 -22
- package/dist/types/data-sdk/src/model/IBattery.d.ts +0 -6
- package/dist/types/data-sdk/src/model/IBitset.d.ts +0 -4
- package/dist/types/data-sdk/src/model/IBoundingBox.d.ts +0 -6
- package/dist/types/data-sdk/src/model/IChallenge.d.ts +0 -6
- package/dist/types/data-sdk/src/model/IColorRGBA.d.ts +0 -6
- package/dist/types/data-sdk/src/model/ICommandDeliveryEvent.d.ts +0 -3
- package/dist/types/data-sdk/src/model/ICommandEventBase.d.ts +0 -5
- package/dist/types/data-sdk/src/model/ICommandParameter.d.ts +0 -9
- package/dist/types/data-sdk/src/model/ICommandPropgress.d.ts +0 -5
- package/dist/types/data-sdk/src/model/ICommandRequest.d.ts +0 -9
- package/dist/types/data-sdk/src/model/ICommandRequestEvent.d.ts +0 -5
- package/dist/types/data-sdk/src/model/ICommandResponse.d.ts +0 -13
- package/dist/types/data-sdk/src/model/ICommandResponseEvent.d.ts +0 -3
- package/dist/types/data-sdk/src/model/IComment.d.ts +0 -7
- package/dist/types/data-sdk/src/model/IConfigurationMap.d.ts +0 -3
- package/dist/types/data-sdk/src/model/ICustomEvent.d.ts +0 -5
- package/dist/types/data-sdk/src/model/IDataAggregate.d.ts +0 -7
- package/dist/types/data-sdk/src/model/IDataPoint.d.ts +0 -7
- package/dist/types/data-sdk/src/model/IDatapointEvent.d.ts +0 -3
- package/dist/types/data-sdk/src/model/IDevice.d.ts +0 -31
- package/dist/types/data-sdk/src/model/IDeviceOfflineEvent.d.ts +0 -3
- package/dist/types/data-sdk/src/model/IDeviceOnlineEvent.d.ts +0 -3
- package/dist/types/data-sdk/src/model/IDeviceQuery.d.ts +0 -14
- package/dist/types/data-sdk/src/model/IDeviceReportedConfigurationState.d.ts +0 -3
- package/dist/types/data-sdk/src/model/IDeviceRosState.d.ts +0 -4
- package/dist/types/data-sdk/src/model/IDeviceScope.d.ts +0 -5
- package/dist/types/data-sdk/src/model/IDeviceState.d.ts +0 -16
- package/dist/types/data-sdk/src/model/IDictionary.d.ts +0 -3
- package/dist/types/data-sdk/src/model/IEvent.d.ts +0 -18
- package/dist/types/data-sdk/src/model/IEventFilter.d.ts +0 -19
- package/dist/types/data-sdk/src/model/IEventQuery.d.ts +0 -7
- package/dist/types/data-sdk/src/model/IEventSort.d.ts +0 -6
- package/dist/types/data-sdk/src/model/IEventTriggerGroup.d.ts +0 -13
- package/dist/types/data-sdk/src/model/IFieldParametersTypeMap.d.ts +0 -8
- package/dist/types/data-sdk/src/model/IFile.d.ts +0 -6
- package/dist/types/data-sdk/src/model/IFileInfo.d.ts +0 -6
- package/dist/types/data-sdk/src/model/IFilter.d.ts +0 -10
- package/dist/types/data-sdk/src/model/IFleet.d.ts +0 -8
- package/dist/types/data-sdk/src/model/IGoal.d.ts +0 -5
- package/dist/types/data-sdk/src/model/IGoalID.d.ts +0 -3
- package/dist/types/data-sdk/src/model/IH264VideoFrame.d.ts +0 -5
- package/dist/types/data-sdk/src/model/IHealth.d.ts +0 -4
- package/dist/types/data-sdk/src/model/IHwInfo.d.ts +0 -17
- package/dist/types/data-sdk/src/model/IImage.d.ts +0 -6
- package/dist/types/data-sdk/src/model/IImageAnnotation.d.ts +0 -9
- package/dist/types/data-sdk/src/model/IInterventionRequest.d.ts +0 -9
- package/dist/types/data-sdk/src/model/IInterventionResponse.d.ts +0 -10
- package/dist/types/data-sdk/src/model/IInterventionTypeMap.d.ts +0 -26
- package/dist/types/data-sdk/src/model/IJointState.d.ts +0 -8
- package/dist/types/data-sdk/src/model/IKernelInfo.d.ts +0 -5
- package/dist/types/data-sdk/src/model/ILabel.d.ts +0 -4
- package/dist/types/data-sdk/src/model/ILabeledPolygon.d.ts +0 -4
- package/dist/types/data-sdk/src/model/ILabelingRequestData.d.ts +0 -9
- package/dist/types/data-sdk/src/model/ILabelingResponseData.d.ts +0 -4
- package/dist/types/data-sdk/src/model/ILocalization.d.ts +0 -14
- package/dist/types/data-sdk/src/model/ILocation.d.ts +0 -6
- package/dist/types/data-sdk/src/model/IMap.d.ts +0 -10
- package/dist/types/data-sdk/src/model/IMarker3D.d.ts +0 -27
- package/dist/types/data-sdk/src/model/IMarker3DArray.d.ts +0 -4
- package/dist/types/data-sdk/src/model/INetwork.d.ts +0 -4
- package/dist/types/data-sdk/src/model/INodeInfo.d.ts +0 -5
- package/dist/types/data-sdk/src/model/INumericAggregate.d.ts +0 -7
- package/dist/types/data-sdk/src/model/INumericSetAggregateMap.d.ts +0 -5
- package/dist/types/data-sdk/src/model/INumericSetEntry.d.ts +0 -5
- package/dist/types/data-sdk/src/model/IOdometry.d.ts +0 -7
- package/dist/types/data-sdk/src/model/IOnDemandPresenceStreamItemGroup.d.ts +0 -6
- package/dist/types/data-sdk/src/model/IOnDemandPresenceTimeRange.d.ts +0 -7
- package/dist/types/data-sdk/src/model/IOnDemandState.d.ts +0 -4
- package/dist/types/data-sdk/src/model/IOnDemandStreamPresence.d.ts +0 -5
- package/dist/types/data-sdk/src/model/IOnDemmandBuffer.d.ts +0 -6
- package/dist/types/data-sdk/src/model/IOnvifDevice.d.ts +0 -5
- package/dist/types/data-sdk/src/model/IOsInfo.d.ts +0 -6
- package/dist/types/data-sdk/src/model/IPath.d.ts +0 -5
- package/dist/types/data-sdk/src/model/IPhysicalInterventionMetadata.d.ts +0 -3
- package/dist/types/data-sdk/src/model/IPhysicalRequestData.d.ts +0 -8
- package/dist/types/data-sdk/src/model/IPhysicalResponsetData.d.ts +0 -3
- package/dist/types/data-sdk/src/model/IPointCloud.d.ts +0 -6
- package/dist/types/data-sdk/src/model/IPortForwardingSessionRecord.d.ts +0 -3
- package/dist/types/data-sdk/src/model/IPoseWithCovariance.d.ts +0 -5
- package/dist/types/data-sdk/src/model/IQuaternion.d.ts +0 -6
- package/dist/types/data-sdk/src/model/IQuery.d.ts +0 -9
- package/dist/types/data-sdk/src/model/IRole.d.ts +0 -9
- package/dist/types/data-sdk/src/model/IRosTopic.d.ts +0 -4
- package/dist/types/data-sdk/src/model/IRtcPointCloud.d.ts +0 -5
- package/dist/types/data-sdk/src/model/IRtcSessionRecord.d.ts +0 -9
- package/dist/types/data-sdk/src/model/IScopeFilter.d.ts +0 -6
- package/dist/types/data-sdk/src/model/ISelectionRequestData.d.ts +0 -6
- package/dist/types/data-sdk/src/model/ISelectionResponseData.d.ts +0 -3
- package/dist/types/data-sdk/src/model/IShare.d.ts +0 -16
- package/dist/types/data-sdk/src/model/ISheetParameters.d.ts +0 -5
- package/dist/types/data-sdk/src/model/ISpreadsheetIdRange.d.ts +0 -4
- package/dist/types/data-sdk/src/model/ISqlColumn.d.ts +0 -6
- package/dist/types/data-sdk/src/model/ISqlQuery.d.ts +0 -21
- package/dist/types/data-sdk/src/model/ISqlResult.d.ts +0 -12
- package/dist/types/data-sdk/src/model/ISqlRow.d.ts +0 -5
- package/dist/types/data-sdk/src/model/IStatefulEvent.d.ts +0 -5
- package/dist/types/data-sdk/src/model/IStream.d.ts +0 -18
- package/dist/types/data-sdk/src/model/IStreamAggregateData.d.ts +0 -11
- package/dist/types/data-sdk/src/model/IStreamAggregateTypeMap.d.ts +0 -10
- package/dist/types/data-sdk/src/model/IStreamColumn.d.ts +0 -7
- package/dist/types/data-sdk/src/model/IStreamCurrentValue.d.ts +0 -13
- package/dist/types/data-sdk/src/model/IStreamData.d.ts +0 -11
- package/dist/types/data-sdk/src/model/IStreamTypeMap.d.ts +0 -27
- package/dist/types/data-sdk/src/model/ISystemEvent.d.ts +0 -3
- package/dist/types/data-sdk/src/model/ITagParameters.d.ts +0 -3
- package/dist/types/data-sdk/src/model/ITagSets.d.ts +0 -3
- package/dist/types/data-sdk/src/model/ITaggedEntity.d.ts +0 -5
- package/dist/types/data-sdk/src/model/ITaggedUsers.d.ts +0 -4
- package/dist/types/data-sdk/src/model/ITags.d.ts +0 -3
- package/dist/types/data-sdk/src/model/ITaskReportColumn.d.ts +0 -7
- package/dist/types/data-sdk/src/model/ITaskSummary.d.ts +0 -13
- package/dist/types/data-sdk/src/model/ITeleopRequestData.d.ts +0 -3
- package/dist/types/data-sdk/src/model/ITeleopResponseData.d.ts +0 -4
- package/dist/types/data-sdk/src/model/ITeleopSessionRecord.d.ts +0 -3
- package/dist/types/data-sdk/src/model/ITransform.d.ts +0 -6
- package/dist/types/data-sdk/src/model/ITransformNode.d.ts +0 -7
- package/dist/types/data-sdk/src/model/ITriggeredEvent.d.ts +0 -11
- package/dist/types/data-sdk/src/model/ITwist.d.ts +0 -5
- package/dist/types/data-sdk/src/model/IUser.d.ts +0 -29
- package/dist/types/data-sdk/src/model/IUserParameters.d.ts +0 -4
- package/dist/types/data-sdk/src/model/IUserScope.d.ts +0 -15
- package/dist/types/data-sdk/src/model/IVector2.d.ts +0 -4
- package/dist/types/data-sdk/src/model/IVector3.d.ts +0 -5
- package/dist/types/data-sdk/src/model/IVideo.d.ts +0 -7
- package/dist/types/data-sdk/src/model/IVideoDevice.d.ts +0 -4
- package/dist/types/data-sdk/src/model/IView.d.ts +0 -15
- package/dist/types/data-sdk/src/model/IdeviceFollower.d.ts +0 -4
- package/dist/types/data-sdk/src/model/InetworkInfo.d.ts +0 -4
- package/dist/types/data-sdk/src/model/InterventionType.d.ts +0 -2
- package/dist/types/data-sdk/src/model/IsoDate.d.ts +0 -1
- package/dist/types/data-sdk/src/model/JsonSchema.d.ts +0 -39
- package/dist/types/data-sdk/src/model/Marker3DAction.d.ts +0 -2
- package/dist/types/data-sdk/src/model/Marker3DType.d.ts +0 -2
- package/dist/types/data-sdk/src/model/OnDemandBufferType.d.ts +0 -2
- package/dist/types/data-sdk/src/model/Policies.d.ts +0 -35
- package/dist/types/data-sdk/src/model/RequiredKeys.d.ts +0 -3
- package/dist/types/data-sdk/src/model/Resource.d.ts +0 -2
- package/dist/types/data-sdk/src/model/SessionType.d.ts +0 -26
- package/dist/types/data-sdk/src/model/Severity.d.ts +0 -2
- package/dist/types/data-sdk/src/model/SortOrder.d.ts +0 -1
- package/dist/types/data-sdk/src/model/StreamType.d.ts +0 -2
- package/dist/types/data-sdk/src/model/TelemetryResult.d.ts +0 -9
- package/dist/types/data-sdk/src/model/Timestamp.d.ts +0 -1
- package/dist/types/data-sdk/src/model/Uuid.d.ts +0 -1
- package/dist/types/data-sdk/src/model/VideoMimeType.d.ts +0 -2
- package/dist/types/data-sdk/src/model/accessLevels.d.ts +0 -1
- package/dist/types/data-sdk/src/model/aggregateLevels.d.ts +0 -2
- package/dist/types/data-sdk/src/model/aggregateTypes.d.ts +0 -1
- package/dist/types/data-sdk/src/model/analyticsAggregteTypes.d.ts +0 -1
- package/dist/types/data-sdk/src/model/analyticsChartTypes.d.ts +0 -1
- package/dist/types/data-sdk/src/model/annotationTypes.d.ts +0 -1
- package/dist/types/data-sdk/src/model/cognitoRegions.d.ts +0 -1
- package/dist/types/data-sdk/src/model/deviceTypes.d.ts +0 -1
- package/dist/types/data-sdk/src/model/eventTypes.d.ts +0 -1
- package/dist/types/data-sdk/src/model/healthStatuses.d.ts +0 -1
- package/dist/types/data-sdk/src/model/interventionTypes.d.ts +0 -1
- package/dist/types/data-sdk/src/model/marker3DActions.d.ts +0 -1
- package/dist/types/data-sdk/src/model/marker3DTypes.d.ts +0 -1
- package/dist/types/data-sdk/src/model/onDemandBufferTypes.d.ts +0 -1
- package/dist/types/data-sdk/src/model/resources.d.ts +0 -1
- package/dist/types/data-sdk/src/model/severities.d.ts +0 -1
- package/dist/types/data-sdk/src/model/videoMimeTypes.d.ts +0 -1
- package/dist/types/data-sdk/src/stores/AuthenticationErrors.d.ts +0 -9
- package/dist/types/data-sdk/src/stores/AuthenticationResult.d.ts +0 -15
- package/dist/types/data-sdk/src/stores/AuthenticationStore.d.ts +0 -68
- package/dist/types/data-sdk/src/stores/IAuthentication.d.ts +0 -6
- package/dist/types/data-sdk/src/stores/IAuthenticationStore.d.ts +0 -43
- package/dist/types/data-sdk/src/stores/ICheckSsoResult.d.ts +0 -5
- package/dist/types/data-sdk/src/stores/IConfirmForgotPasswordRequest.d.ts +0 -5
- package/dist/types/data-sdk/src/stores/IRespondToNewPasswordRequiredChallengeRequest.d.ts +0 -5
- package/dist/types/data-sdk/src/utils/RtcClientPool.d.ts +0 -25
- package/dist/types/data-sdk/src/utils/aggregateFunctionUtils.d.ts +0 -38
- package/dist/types/data-sdk/src/utils/getCurrentModuleContext.d.ts +0 -1
- package/dist/types/data-sdk/src/utils/isRtcPeer.d.ts +0 -2
- package/dist/types/data-sdk/src/utils/numericAggregateUtils.d.ts +0 -26
- package/dist/types/data-sdk/src/utils/serializeHash.d.ts +0 -2
- package/dist/types/data-sdk/src/utils/stringToArrayBuffer.d.ts +0 -1
- package/dist/types/data-sdk/src/utils/timeout.d.ts +0 -1
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { ISqlQuery } from "../model/ISqlQuery";
|
|
2
|
-
import { ISqlResult } from "../model/ISqlResult";
|
|
3
|
-
/**
|
|
4
|
-
*Retrieves all stream rows
|
|
5
|
-
* @example
|
|
6
|
-
* // Body
|
|
7
|
-
* const analytics = await queryAnalytics({
|
|
8
|
-
* aggregateLevel: "day",
|
|
9
|
-
* orderByColumn: "TIMESTAMP",
|
|
10
|
-
* streamColumns: [
|
|
11
|
-
* {
|
|
12
|
-
* streamName: "consumables_residual_percentage",
|
|
13
|
-
* streamType: "numeric set",
|
|
14
|
-
* },
|
|
15
|
-
* ],
|
|
16
|
-
* });
|
|
17
|
-
* //Returns
|
|
18
|
-
* {
|
|
19
|
-
* aggregates: [],
|
|
20
|
-
* columns: [
|
|
21
|
-
* {
|
|
22
|
-
* name: 'TIMESTAMP',
|
|
23
|
-
* isNullable: true,
|
|
24
|
-
* dataType: 'string',
|
|
25
|
-
* tableName: 'NUMERIC_SET_MAIN'
|
|
26
|
-
* }
|
|
27
|
-
* ],
|
|
28
|
-
* items: [
|
|
29
|
-
* {
|
|
30
|
-
* axisLabel: "suction_blade",
|
|
31
|
-
* name: "consumables_residual_percentage",
|
|
32
|
-
* tableName: "NUMERIC_SET_TEST",
|
|
33
|
-
* time: "2020-04-20T08:00:00.000Z",
|
|
34
|
-
* type: "numeric set",
|
|
35
|
-
* unitLabel: "percent"
|
|
36
|
-
* }
|
|
37
|
-
* ],
|
|
38
|
-
* rowCount: 14,
|
|
39
|
-
* rows: []
|
|
40
|
-
* sqlText: "SELECT dateadd(day, dayofweek(TIMESTAMP), to_timestamp_tz('4/20/2020')) AS TIMESTAMP, SUM(VALUE)"
|
|
41
|
-
* }
|
|
42
|
-
*/
|
|
43
|
-
export declare function queryAnalytics(query: ISqlQuery): Promise<ISqlResult>;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export declare class StoreCache<Key, Value> {
|
|
2
|
-
private entries;
|
|
3
|
-
private metadata;
|
|
4
|
-
private capacity;
|
|
5
|
-
private staleIntervalMs;
|
|
6
|
-
constructor({ capacity, timeout, }?: {
|
|
7
|
-
capacity?: number;
|
|
8
|
-
timeout?: number;
|
|
9
|
-
});
|
|
10
|
-
get(key: Key, generator?: () => Promise<Value>): Value | undefined;
|
|
11
|
-
set(key: Key, value: Value): void;
|
|
12
|
-
clear(): void;
|
|
13
|
-
clearKey(key: string): void;
|
|
14
|
-
private keyToCacheKey;
|
|
15
|
-
private enforceMaxSize;
|
|
16
|
-
private isStale;
|
|
17
|
-
private isGenerating;
|
|
18
|
-
private generate;
|
|
19
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { IStreamData } from "../model/IStreamData";
|
|
2
|
-
import { StreamType } from "../model/StreamType";
|
|
3
|
-
import { IFilter } from "../model/IFilter";
|
|
4
|
-
export declare class QueryStore {
|
|
5
|
-
private queryStoreCache;
|
|
6
|
-
private liveQueryStoreCache;
|
|
7
|
-
moduleQuery(filter: IFilter, name: string[], type: StreamType[], start: Date, end: Date, latestOnly?: boolean): IStreamData[] | "too much data" | undefined;
|
|
8
|
-
query(filter: IFilter, start: Date, end: Date, latestOnly?: boolean): IStreamData[] | "too much data" | undefined;
|
|
9
|
-
private queryCache;
|
|
10
|
-
private liveQueryCache;
|
|
11
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const FORMANT_API_URL: any;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export declare class Color {
|
|
2
|
-
r: number;
|
|
3
|
-
g: number;
|
|
4
|
-
b: number;
|
|
5
|
-
a: number;
|
|
6
|
-
h: number;
|
|
7
|
-
s: number;
|
|
8
|
-
l: number;
|
|
9
|
-
static fromString(color: string): Color | undefined;
|
|
10
|
-
constructor(r: number, g: number, b: number, a?: number);
|
|
11
|
-
toString(): string;
|
|
12
|
-
withAlpha(a: number): Color;
|
|
13
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type Timeout = ReturnType<typeof setTimeout>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function delay(ms: number): Promise<unknown>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function equals<T>(a: T, b: T): boolean;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { IStreamData, StreamType, Timestamp } from "../../main";
|
|
2
|
-
export interface IFlattenedPoint {
|
|
3
|
-
streamName: string;
|
|
4
|
-
streamType: StreamType;
|
|
5
|
-
timestamp: Timestamp;
|
|
6
|
-
value: any;
|
|
7
|
-
}
|
|
8
|
-
export declare function flattenPoints(streamData: IStreamData): IFlattenedPoint[];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const range: (start: number, end: number) => number[];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const throttle: <T>(callback: (...args: T[]) => void, time: number) => (...args: T[]) => void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function toJsonLines(objects: any[]): string;
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { H264BytestreamCanvasDrawer } from "@formant/ui-sdk-realtime-player-core";
|
|
2
|
-
import { IRtcStreamMessage } from "@formant/realtime-sdk";
|
|
3
|
-
import { ITransform } from "@formant/realtime-sdk/dist/model/ITransform";
|
|
4
|
-
import { Device } from "../../devices/Device";
|
|
5
|
-
import { PeerDevice } from "../../devices/PeerDevice";
|
|
6
|
-
import { IBitset } from "../../model/IBitset";
|
|
7
|
-
import { ILocation } from "../../model/ILocation";
|
|
8
|
-
import { IStreamData } from "../../model/IStreamData";
|
|
9
|
-
import { ITransformNode } from "../../model/ITransformNode";
|
|
10
|
-
import { CloseSubscription, DataSourceState, IRealtimeStream, ITelemetryRosStream, ITelemetryStream, IUniverseStatistics, Interaction, RealtimeButtonConfiguration, UniverseDataSource } from "../model/IUniverseData";
|
|
11
|
-
import { QueryStore } from "./queryStore";
|
|
12
|
-
export type DeviceId = string;
|
|
13
|
-
export type DataSourceId = string;
|
|
14
|
-
export type DataResult<T> = {
|
|
15
|
-
deviceId: DeviceId;
|
|
16
|
-
sourceId: DataSourceId;
|
|
17
|
-
data: T | undefined;
|
|
18
|
-
};
|
|
19
|
-
export declare class BasicUniverseDataConnector {
|
|
20
|
-
subscriberSources: Map<string, Map<string, UniverseDataSource>>;
|
|
21
|
-
subscriberLoaders: Map<DeviceId, Map<DataSourceId, (data: any) => Promise<DataResult<any>>>>;
|
|
22
|
-
subscriberDistributorsLoaders: Map<DeviceId, Map<DataSourceId, ((data: any) => void)[]>>;
|
|
23
|
-
mapRealtimeConnections: Map<string, Device | PeerDevice | "loading">;
|
|
24
|
-
lastQueriedHistoricTime: Date | undefined;
|
|
25
|
-
time: Date | "live";
|
|
26
|
-
timeChangeListeners: ((time: Date | "live") => void)[];
|
|
27
|
-
queryStore: QueryStore;
|
|
28
|
-
setTime(time: Date | "live"): void;
|
|
29
|
-
getTime(): Date | "live";
|
|
30
|
-
getTimeMs(): number;
|
|
31
|
-
constructor();
|
|
32
|
-
private generateTelemetryFilter;
|
|
33
|
-
protected sendRtcMessage(deviceId: string, msg: IRtcStreamMessage): Promise<void>;
|
|
34
|
-
protected createRealtimeConnection(deviceId: string, sessionType?: number): Promise<void>;
|
|
35
|
-
protected addRemovableTelemetrySubscription<T>(deviceId: string, source: UniverseDataSource, loader: (data: IStreamData[]) => Promise<DataResult<T>>, distribute: (data: T) => void): () => void;
|
|
36
|
-
protected createH264Drawer(): H264BytestreamCanvasDrawer;
|
|
37
|
-
sendCommand(deviceId: string, name: string, data?: string | undefined): Promise<void>;
|
|
38
|
-
sendRealtimePose(deviceId: string, streamName: string, pose: ITransform): Promise<void>;
|
|
39
|
-
sendRealtimeBoolean(deviceId: string, streamName: string, value: boolean): Promise<void>;
|
|
40
|
-
sendRealtimeBitset(deviceId: string, streamName: string, bitset: IBitset): Promise<void>;
|
|
41
|
-
getUrdfs(deviceId: string): Promise<string[]>;
|
|
42
|
-
getTelemetryStreams(_deviceId: string): Promise<ITelemetryStream[]>;
|
|
43
|
-
getTeleopRosStreams(_deviceId: string): Promise<ITelemetryRosStream[]>;
|
|
44
|
-
getHardwareStreams(_deviceId: string): Promise<IRealtimeStream[]>;
|
|
45
|
-
addInteraction(_interaction: Interaction): void;
|
|
46
|
-
removeInteraction(_id: string): void;
|
|
47
|
-
getInteractions(): Interaction[];
|
|
48
|
-
addInteractionsChangedListener(_callback: (interactions: Interaction[]) => void): () => void;
|
|
49
|
-
addInteractionListener(_callback: (interaction: Interaction) => void): () => void;
|
|
50
|
-
getRealtimeButtons(_deviceId: string): Promise<RealtimeButtonConfiguration[]>;
|
|
51
|
-
getLatestTransformTrees(_deviceId: string): Promise<{
|
|
52
|
-
streamName: string;
|
|
53
|
-
transformTree: ITransformNode;
|
|
54
|
-
}[]>;
|
|
55
|
-
getLatestLocations(): Promise<{
|
|
56
|
-
streamName: string;
|
|
57
|
-
location: ILocation;
|
|
58
|
-
}[]>;
|
|
59
|
-
getDeviceContexts(): Promise<{
|
|
60
|
-
deviceName: string;
|
|
61
|
-
deviceId: string;
|
|
62
|
-
}[]>;
|
|
63
|
-
getDeviceContextName(_deviceId: string): Promise<string | undefined>;
|
|
64
|
-
getTelemetryStreamType(_deviceId: string, _streamName: string): Promise<string | undefined>;
|
|
65
|
-
getStatistics(): Promise<IUniverseStatistics>;
|
|
66
|
-
subscribeDataSourceStateChange(_deviceId: string, _source: UniverseDataSource, _onDataSourceStateChange?: (state: DataSourceState) => void): CloseSubscription;
|
|
67
|
-
fetchImage(url: string): Promise<HTMLImageElement>;
|
|
68
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { RealtimeListener } from "../../devices/device.types";
|
|
2
|
-
import { IBitset } from "../../model/IBitset";
|
|
3
|
-
import { IJointState } from "../../model/IJointState";
|
|
4
|
-
import { INumericSetEntry } from "../../model/INumericSetEntry";
|
|
5
|
-
import { ITransformNode } from "../../model/ITransformNode";
|
|
6
|
-
import { IPose } from "../model/IPose";
|
|
7
|
-
import { CloseSubscription, IUniverseData, UniverseDataSource } from "../model/IUniverseData";
|
|
8
|
-
import { IUniverseGridMap } from "../model/IUniverseGridMap";
|
|
9
|
-
import { IUniverseOdometry } from "../model/IUniverseOdometry";
|
|
10
|
-
import { IUniversePath } from "../model/IUniversePath";
|
|
11
|
-
import { IUniversePointCloud } from "../model/IUniversePointCloud";
|
|
12
|
-
import { ILocation } from "../../model/ILocation";
|
|
13
|
-
import { IMarker3DArray } from "../../model/IMarker3DArray";
|
|
14
|
-
import { BasicUniverseDataConnector } from "./BaseUniverseDataConnector";
|
|
15
|
-
export declare class LiveUniverseData extends BasicUniverseDataConnector implements IUniverseData {
|
|
16
|
-
constructor();
|
|
17
|
-
subscribeToPath(_deviceId: string, _source: UniverseDataSource, _callback: (data: Symbol | IUniversePath) => void): CloseSubscription;
|
|
18
|
-
subscribeToImage(_deviceId: string, _source: UniverseDataSource, _callback: (image: HTMLCanvasElement) => void): CloseSubscription;
|
|
19
|
-
subcribeToVideo(_deviceId: string, _source: UniverseDataSource, _callback: (frame: HTMLVideoElement) => void): CloseSubscription;
|
|
20
|
-
subscribeToBitset(deviceId: string, source: UniverseDataSource, callback: (data: IBitset | Symbol) => void): CloseSubscription;
|
|
21
|
-
subscribeToOdometry(deviceId: string, source: UniverseDataSource, callback: (data: IUniverseOdometry) => void, _trail?: number): CloseSubscription;
|
|
22
|
-
subscribeToPose(deviceId: string, source: UniverseDataSource, callback: (data: IPose) => void): CloseSubscription;
|
|
23
|
-
subscribeToNumeric(deviceId: string, source: UniverseDataSource, callback: (num: [number, number][]) => void): CloseSubscription;
|
|
24
|
-
subscribeToNumericSet(deviceId: string, source: UniverseDataSource, callback: (entry: [number, INumericSetEntry[]][]) => void): CloseSubscription;
|
|
25
|
-
subscribeToRealtimeMessages(deviceId: string, streamName: string, callback: RealtimeListener): Promise<void>;
|
|
26
|
-
unsubscribeToRealtimeMessages(deviceId: string, streamName: string, callback: RealtimeListener): Promise<void>;
|
|
27
|
-
subscribeToJson<T>(deviceId: string, source: UniverseDataSource, callback: (data: T) => void): CloseSubscription;
|
|
28
|
-
subscribeToText(deviceId: string, source: UniverseDataSource, callback: (data: string) => void): CloseSubscription;
|
|
29
|
-
subscribeToPointCloud(deviceId: string, source: UniverseDataSource, callback: (data: IUniversePointCloud) => void): () => void;
|
|
30
|
-
subscribeToGeometry(_deviceId: string, _source: UniverseDataSource, _callback: (data: IMarker3DArray) => void): () => void;
|
|
31
|
-
subscribeToJointState(deviceId: string, source: UniverseDataSource, callback: (data: IJointState) => void): () => void;
|
|
32
|
-
subscribeToGridMap(deviceId: string, source: UniverseDataSource, callback: (data: IUniverseGridMap) => void): () => void;
|
|
33
|
-
subscribeToVideo(deviceId: string, source: UniverseDataSource, callback: (frame: HTMLCanvasElement) => void): () => void;
|
|
34
|
-
subscribeToTransformTree(deviceId: string, source: UniverseDataSource, callback: (data: ITransformNode) => void): () => void;
|
|
35
|
-
subscribeToLocation(_deviceId: string, _source: UniverseDataSource, _callback: (data: ILocation) => void): () => void;
|
|
36
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export declare class StoreCache<Key, Value> {
|
|
2
|
-
private entries;
|
|
3
|
-
private metadata;
|
|
4
|
-
private capacity;
|
|
5
|
-
private timeout;
|
|
6
|
-
constructor({ capacity, timeout, }?: {
|
|
7
|
-
capacity?: number;
|
|
8
|
-
timeout?: number;
|
|
9
|
-
});
|
|
10
|
-
get(key: Key, generator?: () => Promise<Value>): Value | undefined;
|
|
11
|
-
set(key: Key, value: Value): void;
|
|
12
|
-
clear(): void;
|
|
13
|
-
clearKey(key: string): void;
|
|
14
|
-
private keyToCacheKey;
|
|
15
|
-
private deleteOldestEntry;
|
|
16
|
-
private generate;
|
|
17
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { IBitset } from "../../model/IBitset";
|
|
2
|
-
import { IDataPoint } from "../../model/IDataPoint";
|
|
3
|
-
import { IJointState } from "../../model/IJointState";
|
|
4
|
-
import { ILocation } from "../../model/ILocation";
|
|
5
|
-
import { IMarker3DArray } from "../../model/IMarker3DArray";
|
|
6
|
-
import { INumericSetEntry } from "../../model/INumericSetEntry";
|
|
7
|
-
import { ITransformNode } from "../../model/ITransformNode";
|
|
8
|
-
import { StreamType } from "../../model/StreamType";
|
|
9
|
-
import { IPose } from "../model/IPose";
|
|
10
|
-
import { CloseSubscription, IUniverseData, UniverseDataSource } from "../model/IUniverseData";
|
|
11
|
-
import { IUniverseGridMap } from "../model/IUniverseGridMap";
|
|
12
|
-
import { IUniverseOdometry } from "../model/IUniverseOdometry";
|
|
13
|
-
import { IUniversePath } from "../model/IUniversePath";
|
|
14
|
-
import { IUniversePointCloud } from "../model/IUniversePointCloud";
|
|
15
|
-
import { BasicUniverseDataConnector } from "./BaseUniverseDataConnector";
|
|
16
|
-
import { StoreCache } from "./StoreCache";
|
|
17
|
-
export declare class TelemetryUniverseData extends BasicUniverseDataConnector implements IUniverseData {
|
|
18
|
-
liveIntervalHandle: number | undefined;
|
|
19
|
-
constructor();
|
|
20
|
-
subscribeToBitset(_deviceId: string, _source: UniverseDataSource, _callback: (data: IBitset | Symbol) => void): CloseSubscription;
|
|
21
|
-
subscribeToPath(deviceId: string, source: UniverseDataSource, callback: (data: Symbol | IUniversePath) => void): CloseSubscription;
|
|
22
|
-
onTimeChange(time: Date | "live"): void;
|
|
23
|
-
findDataForTime(time: Date): void;
|
|
24
|
-
timeFinders: ((time: Date) => void)[];
|
|
25
|
-
addFinder<T extends StreamType>(callback: (f: "too much data" | IDataPoint<T>[] | undefined) => Promise<void>, deviceId: string, name: string, dataType: T, latestOnly: boolean): (time: Date) => void;
|
|
26
|
-
private getNearestPoint;
|
|
27
|
-
removeFinder(fn: (time: Date) => void): void;
|
|
28
|
-
subscribeTelemetry<T extends StreamType>(deviceId: string, source: UniverseDataSource, type: T, callback: (f: "too much data" | IDataPoint<T>[] | undefined) => Promise<void>): CloseSubscription;
|
|
29
|
-
subscribeToPointCloud(deviceId: string, source: UniverseDataSource, callback: (data: IUniversePointCloud | Symbol) => void): CloseSubscription;
|
|
30
|
-
subscribeToOdometry(deviceId: string, source: UniverseDataSource, callback: (data: Symbol | IUniverseOdometry) => void, trail?: number): CloseSubscription;
|
|
31
|
-
subscribeToPose(_deviceId: string, _source: UniverseDataSource, _callback: (data: Symbol | IPose) => void): CloseSubscription;
|
|
32
|
-
subscribeToGeometry(deviceId: string, source: UniverseDataSource, callback: (data: Symbol | IMarker3DArray) => void): CloseSubscription;
|
|
33
|
-
subscribeToJointState(deviceId: string, source: UniverseDataSource, callback: (data: Symbol | IJointState) => void): CloseSubscription;
|
|
34
|
-
subscribeToGridMap(deviceId: string, source: UniverseDataSource, callback: (data: Symbol | IUniverseGridMap) => void): CloseSubscription;
|
|
35
|
-
videoCache: StoreCache<string, HTMLVideoElement>;
|
|
36
|
-
subscribeToVideo(deviceId: string, source: UniverseDataSource, callback: (frame: Symbol | HTMLCanvasElement) => void): CloseSubscription;
|
|
37
|
-
subscribeToTransformTree(deviceId: string, source: UniverseDataSource, callback: (data: Symbol | ITransformNode) => void): CloseSubscription;
|
|
38
|
-
subscribeToLocation(deviceId: string, source: UniverseDataSource, callback: (data: Symbol | ILocation) => void): CloseSubscription;
|
|
39
|
-
subscribeToJson<T>(deviceId: string, source: UniverseDataSource, callback: (data: Symbol | T) => void): CloseSubscription;
|
|
40
|
-
subscribeToText(deviceId: string, source: UniverseDataSource, callback: (text: string | Symbol) => void): CloseSubscription;
|
|
41
|
-
subscribeToNumeric(deviceId: string, source: UniverseDataSource, callback: (num: Symbol | [number, number][]) => void): CloseSubscription;
|
|
42
|
-
subscribeToNumericSet(deviceId: string, source: UniverseDataSource, callback: (entry: Symbol | [number, INumericSetEntry[]][]) => void): CloseSubscription;
|
|
43
|
-
subscribeToImage(deviceId: string, source: UniverseDataSource, callback: (image: Symbol | HTMLCanvasElement) => void): CloseSubscription;
|
|
44
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export type Field = "x" | "y" | "z" | "rgb" | "rgba" | "intensity";
|
|
2
|
-
export type Type = "i" | "u" | "f";
|
|
3
|
-
export type Data = "ascii" | "binary" | "binary_compressed";
|
|
4
|
-
export interface IPcdHeader {
|
|
5
|
-
version: string;
|
|
6
|
-
fields: Field[];
|
|
7
|
-
size: number[];
|
|
8
|
-
type: Type[];
|
|
9
|
-
count: number[];
|
|
10
|
-
height: number;
|
|
11
|
-
width: number;
|
|
12
|
-
points: number;
|
|
13
|
-
data: Data;
|
|
14
|
-
}
|
|
15
|
-
export interface IPcd {
|
|
16
|
-
header: IPcdHeader;
|
|
17
|
-
positions?: Float32Array;
|
|
18
|
-
colors?: Float32Array;
|
|
19
|
-
intensity?: Float32Array;
|
|
20
|
-
}
|
|
21
|
-
export declare function parse(buffer: ArrayBuffer): IPcd;
|
|
22
|
-
export declare function loadFromUrl(path: string): Promise<IPcd>;
|
|
23
|
-
export declare function loadFromBase64(data: string): IPcd;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { IFilter } from "../../model/IFilter";
|
|
2
|
-
import { IQuery } from "../../model/IQuery";
|
|
3
|
-
import { IStreamData } from "../../model/IStreamData";
|
|
4
|
-
import { StreamType } from "../../model/StreamType";
|
|
5
|
-
export declare class QueryStore {
|
|
6
|
-
private queryStoreCache;
|
|
7
|
-
private liveQueryStoreCache;
|
|
8
|
-
moduleQuery<T extends StreamType>(filter: IFilter, name: string, type: T, start: Date, end: Date, latestOnly?: boolean): IStreamData<T>[] | "too much data" | undefined;
|
|
9
|
-
query(q: IQuery): IStreamData[] | "too much data" | undefined;
|
|
10
|
-
private queryCache;
|
|
11
|
-
private liveQueryCache;
|
|
12
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const range: (start: number, end: number) => number[];
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export type Field = "x" | "y" | "z" | "rgb" | "rgba" | "intensity";
|
|
2
|
-
export type Type = "i" | "u" | "f";
|
|
3
|
-
export type Data = "ascii" | "binary" | "binary_compressed";
|
|
4
|
-
export interface IPcdHeader {
|
|
5
|
-
version: string;
|
|
6
|
-
fields: Field[];
|
|
7
|
-
size: number[];
|
|
8
|
-
type: Type[];
|
|
9
|
-
count: number[];
|
|
10
|
-
height: number;
|
|
11
|
-
width: number;
|
|
12
|
-
points: number;
|
|
13
|
-
data: Data;
|
|
14
|
-
}
|
|
15
|
-
export interface IPcd {
|
|
16
|
-
header: IPcdHeader;
|
|
17
|
-
positions?: Float32Array | number[];
|
|
18
|
-
colors?: Float32Array | number[];
|
|
19
|
-
intensity?: Float32Array | number[];
|
|
20
|
-
}
|
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
import { IBitset } from "../../model/IBitset";
|
|
2
|
-
import { IJointState } from "../../model/IJointState";
|
|
3
|
-
import { ILocation } from "../../model/ILocation";
|
|
4
|
-
import { IMarker3DArray } from "../../model/IMarker3DArray";
|
|
5
|
-
import { INumericSetEntry } from "../../model/INumericSetEntry";
|
|
6
|
-
import { ITransformNode } from "../../model/ITransformNode";
|
|
7
|
-
import { StreamType } from "../../model/StreamType";
|
|
8
|
-
import { IPose } from "./IPose";
|
|
9
|
-
import { IUniverseGridMap } from "./IUniverseGridMap";
|
|
10
|
-
import { IUniverseOdometry } from "./IUniverseOdometry";
|
|
11
|
-
import { IUniversePath } from "./IUniversePath";
|
|
12
|
-
import { IUniversePointCloud } from "./IUniversePointCloud";
|
|
13
|
-
export type DataSourceState = "missing_data" | "connected" | "disconnected" | "connecting" | "disconnecting";
|
|
14
|
-
export declare const NoData: unique symbol;
|
|
15
|
-
export declare const LoadingData: unique symbol;
|
|
16
|
-
export declare const FailedData: unique symbol;
|
|
17
|
-
export type DataStatus = Symbol;
|
|
18
|
-
export type RtcStreamType = "ping" | "pong" | "stream-control" | "streams-info" | "agent-info" | "numeric" | "boolean" | "bitset" | "twist" | "compressed-image" | "h264-video-frame" | "audio-chunk" | "pose" | "goal-id" | "joint-state" | "pose-with-covariance" | "point-cloud" | "marker-array" | "point" | "json-string";
|
|
19
|
-
export type CloseSubscription = () => void;
|
|
20
|
-
export interface UniverseRosDataSource {
|
|
21
|
-
id: string;
|
|
22
|
-
sourceType: "realtime";
|
|
23
|
-
rosTopicName: string;
|
|
24
|
-
rosTopicType: string;
|
|
25
|
-
}
|
|
26
|
-
export interface UniverseHardwareDataSource {
|
|
27
|
-
id: string;
|
|
28
|
-
sourceType: "hardware";
|
|
29
|
-
rtcStreamName: string;
|
|
30
|
-
}
|
|
31
|
-
export interface UniverseTelemetrySource {
|
|
32
|
-
id: string;
|
|
33
|
-
sourceType: "telemetry";
|
|
34
|
-
streamName: string;
|
|
35
|
-
streamType?: StreamType;
|
|
36
|
-
latestDataPoint?: boolean;
|
|
37
|
-
}
|
|
38
|
-
export type UniverseDataSource = UniverseRosDataSource | UniverseTelemetrySource | UniverseHardwareDataSource;
|
|
39
|
-
export interface ITelemetryStream {
|
|
40
|
-
name: string;
|
|
41
|
-
disabled?: boolean;
|
|
42
|
-
validation?: {
|
|
43
|
-
schemaId: string;
|
|
44
|
-
};
|
|
45
|
-
configuration: {
|
|
46
|
-
type: string;
|
|
47
|
-
mapTopic?: string;
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
export interface ITelemetryRosStream {
|
|
51
|
-
topicName: string;
|
|
52
|
-
topicType: string;
|
|
53
|
-
}
|
|
54
|
-
export interface IRealtimeStream {
|
|
55
|
-
rtcStreamType: RtcStreamType;
|
|
56
|
-
name: string;
|
|
57
|
-
}
|
|
58
|
-
export interface IUniverseStatistics {
|
|
59
|
-
rtcDevices: {
|
|
60
|
-
deviceId: string;
|
|
61
|
-
deviceName: string;
|
|
62
|
-
totalRtcDataBytes: number;
|
|
63
|
-
}[];
|
|
64
|
-
}
|
|
65
|
-
export interface Interaction {
|
|
66
|
-
deviceId: string;
|
|
67
|
-
id: string;
|
|
68
|
-
name: string;
|
|
69
|
-
description: string;
|
|
70
|
-
icon: string;
|
|
71
|
-
}
|
|
72
|
-
export interface RealtimeButtonConfiguration {
|
|
73
|
-
streamName: string;
|
|
74
|
-
}
|
|
75
|
-
export interface IUniverseData {
|
|
76
|
-
addInteraction: (interaction: Interaction) => void;
|
|
77
|
-
removeInteraction: (id: string) => void;
|
|
78
|
-
getInteractions: () => Interaction[];
|
|
79
|
-
addInteractionsChangedListener: (callback: (interactions: Interaction[]) => void) => () => void;
|
|
80
|
-
addInteractionListener: (callback: (interaction: Interaction) => void) => () => void;
|
|
81
|
-
setTime(time: Date | "live"): void;
|
|
82
|
-
getTime(): Date | "live";
|
|
83
|
-
getTimeMs(): number;
|
|
84
|
-
getLatestTransformTrees(deviceId: string): Promise<{
|
|
85
|
-
streamName: string;
|
|
86
|
-
transformTree: ITransformNode;
|
|
87
|
-
}[]>;
|
|
88
|
-
getLatestLocations(deviceId: string): Promise<{
|
|
89
|
-
streamName: string;
|
|
90
|
-
location: ILocation;
|
|
91
|
-
}[]>;
|
|
92
|
-
getDeviceContexts(): Promise<{
|
|
93
|
-
deviceName: string;
|
|
94
|
-
deviceId: string;
|
|
95
|
-
}[]>;
|
|
96
|
-
getDeviceContextName(deviceId: string): Promise<string | undefined>;
|
|
97
|
-
getTelemetryStreamType(deviceId: string, streamName: string): Promise<string | undefined>;
|
|
98
|
-
getTelemetryStreams(deviceId: string): Promise<ITelemetryStream[]>;
|
|
99
|
-
getTeleopRosStreams(deviceId: string): Promise<ITelemetryRosStream[]>;
|
|
100
|
-
getUrdfs(deviceId: string): Promise<string[]>;
|
|
101
|
-
getHardwareStreams(deviceId: string): Promise<IRealtimeStream[]>;
|
|
102
|
-
subscribeToBitset(deviceId: string, source: UniverseDataSource, callback: (data: IBitset | DataStatus) => void): CloseSubscription;
|
|
103
|
-
subscribeToPointCloud(deviceId: string, source: UniverseDataSource, callback: (data: IUniversePointCloud | DataStatus) => void): CloseSubscription;
|
|
104
|
-
subscribeToOdometry(deviceId: string, source: UniverseDataSource, callback: (data: IUniverseOdometry | DataStatus) => void, trail?: number): CloseSubscription;
|
|
105
|
-
subscribeToPath(deviceId: string, source: UniverseDataSource, callback: (data: IUniversePath | DataStatus) => void): CloseSubscription;
|
|
106
|
-
subscribeToPose(deviceId: string, source: UniverseDataSource, callback: (data: IPose | DataStatus) => void): CloseSubscription;
|
|
107
|
-
subscribeToGeometry(deviceId: string, source: UniverseDataSource, callback: (data: IMarker3DArray | DataStatus) => void): CloseSubscription;
|
|
108
|
-
subscribeToJointState(deviceId: string, source: UniverseDataSource, callback: (data: IJointState | DataStatus) => void): CloseSubscription;
|
|
109
|
-
subscribeToGridMap(deviceId: string, source: UniverseDataSource, callback: (data: IUniverseGridMap | DataStatus) => void): CloseSubscription;
|
|
110
|
-
subscribeToVideo(deviceId: string, source: UniverseDataSource, callback: (frame: HTMLCanvasElement | DataStatus) => void): CloseSubscription;
|
|
111
|
-
subscribeToTransformTree(deviceId: string, source: UniverseDataSource, callback: (data: ITransformNode | DataStatus) => void): CloseSubscription;
|
|
112
|
-
subscribeToLocation(deviceId: string, source: UniverseDataSource, callback: (data: ILocation | DataStatus) => void): CloseSubscription;
|
|
113
|
-
subscribeToJson<T>(deviceId: string, source: UniverseDataSource, callback: (data: T | DataStatus) => void): CloseSubscription;
|
|
114
|
-
subscribeToText(deviceId: string, source: UniverseDataSource, callback: (text: string | DataStatus) => void): CloseSubscription;
|
|
115
|
-
subscribeToNumeric(deviceId: string, source: UniverseDataSource, callback: (num: [number, number][] | DataStatus) => void): CloseSubscription;
|
|
116
|
-
subscribeToNumericSet(deviceId: string, source: UniverseDataSource, callback: (entry: [number, INumericSetEntry[]][] | DataStatus) => void): CloseSubscription;
|
|
117
|
-
getStatistics(): Promise<IUniverseStatistics>;
|
|
118
|
-
subscribeDataSourceStateChange(deviceId: string, source: UniverseDataSource, onDataSourceStateChange?: (state: DataSourceState | DataStatus) => void): CloseSubscription;
|
|
119
|
-
subscribeToImage(deviceId: string, source: UniverseDataSource, callback: (image: HTMLCanvasElement | DataStatus) => void): CloseSubscription;
|
|
120
|
-
sendRealtimePose(deviceId: string, streamName: string, pose: IPose): Promise<void>;
|
|
121
|
-
sendRealtimeBoolean(deviceId: string, streamName: string, value: boolean): Promise<void>;
|
|
122
|
-
sendRealtimeBitset(deviceId: string, streamName: string, bitset: IBitset): Promise<void>;
|
|
123
|
-
sendCommand(deviceId: string, name: string, data?: string): Promise<void>;
|
|
124
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ITransform } from "../../model/ITransform";
|
|
2
|
-
export interface IUniverseGridMap {
|
|
3
|
-
worldToLocal?: ITransform;
|
|
4
|
-
width: number;
|
|
5
|
-
height: number;
|
|
6
|
-
resolution: number;
|
|
7
|
-
origin: ITransform;
|
|
8
|
-
url?: string;
|
|
9
|
-
data?: number[];
|
|
10
|
-
alpha?: number[];
|
|
11
|
-
}
|