@formant/data-sdk 1.80.6 → 1.80.8
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/dist/data-sdk.cjs.js +131 -66
- package/dist/data-sdk.cjs.js.map +1 -1
- package/dist/data-sdk.es.js +23669 -22313
- package/dist/data-sdk.es.js.map +1 -1
- package/dist/data-sdk.es6.js +23669 -22313
- package/dist/data-sdk.umd.js +131 -66
- package/dist/types/common/browser.d.ts +2 -0
- package/dist/types/common/defined.d.ts +3 -0
- package/dist/types/common/delay.d.ts +1 -0
- package/dist/types/common/duration.d.ts +10 -0
- package/dist/types/common/fork.d.ts +5 -0
- package/dist/types/data-sdk/src/Account.d.ts +10 -0
- package/dist/types/data-sdk/src/App.d.ts +47 -0
- package/dist/types/data-sdk/src/AppRtcClientPools.d.ts +20 -0
- package/dist/types/data-sdk/src/AudioPlayer.d.ts +23 -0
- package/dist/types/data-sdk/src/Authentication.d.ts +2 -0
- package/dist/types/data-sdk/src/CaptureStream.d.ts +18 -0
- package/dist/types/data-sdk/src/DataChannel.d.ts +30 -0
- package/dist/types/data-sdk/src/EventTriggerGroup.d.ts +0 -0
- package/dist/types/data-sdk/src/Fleet.d.ts +88 -0
- package/dist/types/data-sdk/src/KeyValue.d.ts +8 -0
- package/dist/types/data-sdk/src/Manipulator.d.ts +21 -0
- package/dist/types/data-sdk/src/RequestDataChannel.d.ts +29 -0
- package/dist/types/data-sdk/src/Role.d.ts +8 -0
- package/dist/types/data-sdk/src/User.d.ts +8 -0
- package/dist/types/data-sdk/src/Views.d.ts +9 -0
- package/dist/types/data-sdk/src/api/addDeviceToFleet.d.ts +1 -0
- package/dist/types/data-sdk/src/api/aggregateTelemetry.d.ts +3 -0
- package/dist/types/data-sdk/src/api/createDevice.d.ts +2 -0
- package/dist/types/data-sdk/src/api/createFleet.d.ts +2 -0
- package/dist/types/data-sdk/src/api/createShareLink.d.ts +22 -0
- package/dist/types/data-sdk/src/api/deleteFleet.d.ts +1 -0
- package/dist/types/data-sdk/src/api/disableDevice.d.ts +2 -0
- package/dist/types/data-sdk/src/api/eventsCounter.d.ts +7 -0
- package/dist/types/data-sdk/src/api/getAllEventTriggerGroup.d.ts +2 -0
- package/dist/types/data-sdk/src/api/getAnalyticsModules.d.ts +2 -0
- package/dist/types/data-sdk/src/api/getAnalyticsRows.d.ts +8 -0
- package/dist/types/data-sdk/src/api/getAnalyticsStreams.d.ts +18 -0
- package/dist/types/data-sdk/src/api/getAnnotationCount.d.ts +4 -0
- package/dist/types/data-sdk/src/api/getAnnotationCountByIntervals.d.ts +8 -0
- package/dist/types/data-sdk/src/api/getCurrentGroup.d.ts +2 -0
- package/dist/types/data-sdk/src/api/getDevice.d.ts +2 -0
- package/dist/types/data-sdk/src/api/getDevices.d.ts +2 -0
- package/dist/types/data-sdk/src/api/getDevicesData.d.ts +2 -0
- package/dist/types/data-sdk/src/api/getEvent.d.ts +2 -0
- package/dist/types/data-sdk/src/api/getEventTriggerGroup.d.ts +2 -0
- package/dist/types/data-sdk/src/api/getFileUrl.d.ts +1 -0
- package/dist/types/data-sdk/src/api/getFleet.d.ts +2 -0
- package/dist/types/data-sdk/src/api/getFleetDevices.d.ts +1 -0
- package/dist/types/data-sdk/src/api/getInterventions.d.ts +2 -0
- package/dist/types/data-sdk/src/api/getLatestTelemetry.d.ts +3 -0
- package/dist/types/data-sdk/src/api/getModuleConfiguration.d.ts +1 -0
- package/dist/types/data-sdk/src/api/getOnlineDevices.d.ts +2 -0
- package/dist/types/data-sdk/src/api/getPeers.d.ts +2 -0
- package/dist/types/data-sdk/src/api/getRealtimeDevices.d.ts +2 -0
- package/dist/types/data-sdk/src/api/getRealtimeSessions.d.ts +3 -0
- package/dist/types/data-sdk/src/api/getStreams.d.ts +2 -0
- package/dist/types/data-sdk/src/api/getTaskReportRows.d.ts +26 -0
- package/dist/types/data-sdk/src/api/getTaskreportTables.d.ts +23 -0
- package/dist/types/data-sdk/src/api/getTelemetry.d.ts +4 -0
- package/dist/types/data-sdk/src/api/getViews.d.ts +2 -0
- package/dist/types/data-sdk/src/api/listFleets.d.ts +2 -0
- package/dist/types/data-sdk/src/api/patchDevice.d.ts +2 -0
- package/dist/types/data-sdk/src/api/patchEventTriggerGroup.d.ts +2 -0
- package/dist/types/data-sdk/src/api/patchFleet.d.ts +2 -0
- package/dist/types/data-sdk/src/api/patchStreams.d.ts +2 -0
- package/dist/types/data-sdk/src/api/patchView.d.ts +2 -0
- package/dist/types/data-sdk/src/api/queryAnalytics.d.ts +43 -0
- package/dist/types/data-sdk/src/api/queryDevices.d.ts +3 -0
- package/dist/types/data-sdk/src/api/queryDevicesData.d.ts +3 -0
- package/dist/types/data-sdk/src/api/queryEvents.d.ts +3 -0
- package/dist/types/data-sdk/src/api/queryTelemetry.d.ts +3 -0
- package/dist/types/data-sdk/src/api/teleopViews.d.ts +73 -0
- package/dist/types/data-sdk/src/cache/StoreCache.d.ts +19 -0
- package/dist/types/data-sdk/src/cache/filterDataByTime.d.ts +2 -0
- package/dist/types/data-sdk/src/cache/filterDataByType.d.ts +3 -0
- package/dist/types/data-sdk/src/cache/queryStore.d.ts +11 -0
- package/dist/types/data-sdk/src/config/index.d.ts +2 -0
- package/dist/types/data-sdk/src/config/whichFormantApiUrl.d.ts +6 -0
- package/dist/types/data-sdk/src/connector/common/Color.d.ts +13 -0
- package/dist/types/data-sdk/src/connector/common/LruCache.d.ts +18 -0
- package/dist/types/data-sdk/src/connector/common/PromiseLruCache.d.ts +11 -0
- package/dist/types/data-sdk/src/connector/common/Timeout.d.ts +1 -0
- package/dist/types/data-sdk/src/connector/common/defined.d.ts +3 -0
- package/dist/types/data-sdk/src/connector/common/delay.d.ts +1 -0
- package/dist/types/data-sdk/src/connector/common/duration.d.ts +10 -0
- package/dist/types/data-sdk/src/connector/common/equals.d.ts +1 -0
- package/dist/types/data-sdk/src/connector/common/errorToObject.d.ts +14 -0
- package/dist/types/data-sdk/src/connector/common/errorToString.d.ts +4 -0
- package/dist/types/data-sdk/src/connector/common/filterDataByTime.d.ts +2 -0
- package/dist/types/data-sdk/src/connector/common/filterDataByType.d.ts +3 -0
- package/dist/types/data-sdk/src/connector/common/flattenPoints.d.ts +8 -0
- package/dist/types/data-sdk/src/connector/common/fork.d.ts +5 -0
- package/dist/types/data-sdk/src/connector/common/range.d.ts +1 -0
- package/dist/types/data-sdk/src/connector/common/throttle.d.ts +1 -0
- package/dist/types/data-sdk/src/connector/common/toJsonLines.d.ts +1 -0
- package/dist/types/data-sdk/src/connector/common/toStringSafe.d.ts +8 -0
- package/dist/types/data-sdk/src/connector/data/BaseUniverseDataConnector.d.ts +69 -0
- package/dist/types/data-sdk/src/connector/data/DataFetchWorker.d.ts +1 -0
- package/dist/types/data-sdk/src/connector/data/LiveUniverseData.d.ts +36 -0
- package/dist/types/data-sdk/src/connector/data/PcdLoaderWorker.d.ts +1 -0
- package/dist/types/data-sdk/src/connector/data/StoreCache.d.ts +17 -0
- package/dist/types/data-sdk/src/connector/data/TelemetryUniverseData.d.ts +44 -0
- package/dist/types/data-sdk/src/connector/data/loader/DataLoader.d.ts +27 -0
- package/dist/types/data-sdk/src/connector/data/loader/data-loader.worker.d.ts +1 -0
- package/dist/types/data-sdk/src/connector/data/pcd.d.ts +23 -0
- package/dist/types/data-sdk/src/connector/data/queryStore.d.ts +12 -0
- package/dist/types/data-sdk/src/connector/data/range.d.ts +1 -0
- package/dist/types/data-sdk/src/connector/model/IPcd.d.ts +20 -0
- package/dist/types/data-sdk/src/connector/model/IPose.d.ts +3 -0
- package/dist/types/data-sdk/src/connector/model/IUniverseData.d.ts +124 -0
- package/dist/types/data-sdk/src/connector/model/IUniverseGridMap.d.ts +11 -0
- package/dist/types/data-sdk/src/connector/model/IUniverseOdometry.d.ts +6 -0
- package/dist/types/data-sdk/src/connector/model/IUniversePath.d.ts +3 -0
- package/dist/types/data-sdk/src/connector/model/IUniversePointCloud.d.ts +6 -0
- package/dist/types/data-sdk/src/devices/BaseDevice.d.ts +47 -0
- package/dist/types/data-sdk/src/devices/Device.d.ts +88 -0
- package/dist/types/data-sdk/src/devices/ICustomDataChannelCreator.d.ts +4 -0
- package/dist/types/data-sdk/src/devices/IRealtimeSubscriber.d.ts +7 -0
- package/dist/types/data-sdk/src/devices/IView.d.ts +29 -0
- package/dist/types/data-sdk/src/devices/PeerDevice.d.ts +35 -0
- package/dist/types/data-sdk/src/devices/device.types.d.ts +115 -0
- package/dist/types/data-sdk/src/init.d.ts +1 -0
- package/dist/types/data-sdk/src/main.d.ts +176 -0
- package/dist/types/data-sdk/src/message-bus/bidirectional/getDate.d.ts +1 -0
- package/dist/types/data-sdk/src/message-bus/bidirectional/prompt.d.ts +5 -0
- package/dist/types/data-sdk/src/message-bus/listeners/EmbeddedAppMessage.d.ts +54 -0
- package/dist/types/data-sdk/src/message-bus/listeners/addAccessTokenRefreshListener.d.ts +1 -0
- package/dist/types/data-sdk/src/message-bus/listeners/addChannelDataListener.d.ts +4 -0
- package/dist/types/data-sdk/src/message-bus/listeners/addMenuListener.d.ts +1 -0
- package/dist/types/data-sdk/src/message-bus/listeners/addModuleConfigurationListener.d.ts +2 -0
- package/dist/types/data-sdk/src/message-bus/listeners/addModuleDataListener.d.ts +29 -0
- package/dist/types/data-sdk/src/message-bus/listeners/addOverviewDeviceListener.d.ts +2 -0
- package/dist/types/data-sdk/src/message-bus/listeners/addStreamLIstener.d.ts +3 -0
- package/dist/types/data-sdk/src/message-bus/senders/AppMessage.d.ts +63 -0
- package/dist/types/data-sdk/src/message-bus/senders/disableAnalyticsBottomBar.d.ts +1 -0
- package/dist/types/data-sdk/src/message-bus/senders/goToDevice.d.ts +1 -0
- package/dist/types/data-sdk/src/message-bus/senders/goToTime.d.ts +1 -0
- package/dist/types/data-sdk/src/message-bus/senders/refreshAuthToken.d.ts +1 -0
- package/dist/types/data-sdk/src/message-bus/senders/requestModuleData.d.ts +1 -0
- package/dist/types/data-sdk/src/message-bus/senders/sendAppMessage.d.ts +2 -0
- package/dist/types/data-sdk/src/message-bus/senders/sendChannelData.d.ts +1 -0
- package/dist/types/data-sdk/src/message-bus/senders/setModuleDateTimeRange.d.ts +1 -0
- package/dist/types/data-sdk/src/message-bus/senders/setupModuleMenus.d.ts +3 -0
- package/dist/types/data-sdk/src/message-bus/senders/showMessage.d.ts +1 -0
- package/dist/types/data-sdk/src/model/AccessLevel.d.ts +5 -0
- package/dist/types/data-sdk/src/model/AggregateLevel.d.ts +1 -0
- package/dist/types/data-sdk/src/model/AggregateType.d.ts +2 -0
- package/dist/types/data-sdk/src/model/AnalyticsAggregateType.d.ts +2 -0
- package/dist/types/data-sdk/src/model/AnalyticsChartType.d.ts +2 -0
- package/dist/types/data-sdk/src/model/AnnotationAreaType.d.ts +2 -0
- package/dist/types/data-sdk/src/model/AnnotationType.d.ts +2 -0
- package/dist/types/data-sdk/src/model/CognitoRegion.d.ts +2 -0
- package/dist/types/data-sdk/src/model/DeviceType.d.ts +2 -0
- package/dist/types/data-sdk/src/model/EventSortableColumn.d.ts +1 -0
- package/dist/types/data-sdk/src/model/EventType.d.ts +2 -0
- package/dist/types/data-sdk/src/model/HealthStatus.d.ts +2 -0
- package/dist/types/data-sdk/src/model/HexRgbColor.d.ts +1 -0
- package/dist/types/data-sdk/src/model/IAccount.d.ts +7 -0
- package/dist/types/data-sdk/src/model/IAccountTree.d.ts +4 -0
- package/dist/types/data-sdk/src/model/IAggregateRow.d.ts +8 -0
- package/dist/types/data-sdk/src/model/IAnalyticsModule.d.ts +15 -0
- package/dist/types/data-sdk/src/model/IAnalyticsModuleConfiguration.d.ts +6 -0
- package/dist/types/data-sdk/src/model/IAnnotation.d.ts +13 -0
- package/dist/types/data-sdk/src/model/IAnnotationAreaTypeMap.d.ts +4 -0
- package/dist/types/data-sdk/src/model/IAnnotationQuery.d.ts +7 -0
- package/dist/types/data-sdk/src/model/IAudioInfo.d.ts +4 -0
- package/dist/types/data-sdk/src/model/IBaseEntity.d.ts +7 -0
- package/dist/types/data-sdk/src/model/IBaseEvent.d.ts +22 -0
- package/dist/types/data-sdk/src/model/IBattery.d.ts +6 -0
- package/dist/types/data-sdk/src/model/IBitset.d.ts +4 -0
- package/dist/types/data-sdk/src/model/IBoundingBox.d.ts +6 -0
- package/dist/types/data-sdk/src/model/IChallenge.d.ts +6 -0
- package/dist/types/data-sdk/src/model/IColorRGBA.d.ts +6 -0
- package/dist/types/data-sdk/src/model/ICommandDeliveryEvent.d.ts +3 -0
- package/dist/types/data-sdk/src/model/ICommandEventBase.d.ts +5 -0
- package/dist/types/data-sdk/src/model/ICommandParameter.d.ts +9 -0
- package/dist/types/data-sdk/src/model/ICommandPropgress.d.ts +5 -0
- package/dist/types/data-sdk/src/model/ICommandRequest.d.ts +9 -0
- package/dist/types/data-sdk/src/model/ICommandRequestEvent.d.ts +5 -0
- package/dist/types/data-sdk/src/model/ICommandResponse.d.ts +13 -0
- package/dist/types/data-sdk/src/model/ICommandResponseEvent.d.ts +3 -0
- package/dist/types/data-sdk/src/model/IComment.d.ts +7 -0
- package/dist/types/data-sdk/src/model/IConfigurationMap.d.ts +3 -0
- package/dist/types/data-sdk/src/model/ICustomEvent.d.ts +5 -0
- package/dist/types/data-sdk/src/model/IDataAggregate.d.ts +7 -0
- package/dist/types/data-sdk/src/model/IDataPoint.d.ts +7 -0
- package/dist/types/data-sdk/src/model/IDatapointEvent.d.ts +3 -0
- package/dist/types/data-sdk/src/model/IDevice.d.ts +31 -0
- package/dist/types/data-sdk/src/model/IDeviceOfflineEvent.d.ts +3 -0
- package/dist/types/data-sdk/src/model/IDeviceOnlineEvent.d.ts +3 -0
- package/dist/types/data-sdk/src/model/IDeviceQuery.d.ts +14 -0
- package/dist/types/data-sdk/src/model/IDeviceReportedConfigurationState.d.ts +3 -0
- package/dist/types/data-sdk/src/model/IDeviceRosState.d.ts +4 -0
- package/dist/types/data-sdk/src/model/IDeviceScope.d.ts +5 -0
- package/dist/types/data-sdk/src/model/IDeviceState.d.ts +16 -0
- package/dist/types/data-sdk/src/model/IDictionary.d.ts +3 -0
- package/dist/types/data-sdk/src/model/IEvent.d.ts +18 -0
- package/dist/types/data-sdk/src/model/IEventFilter.d.ts +19 -0
- package/dist/types/data-sdk/src/model/IEventQuery.d.ts +7 -0
- package/dist/types/data-sdk/src/model/IEventSort.d.ts +6 -0
- package/dist/types/data-sdk/src/model/IEventTriggerGroup.d.ts +13 -0
- package/dist/types/data-sdk/src/model/IFieldParametersTypeMap.d.ts +8 -0
- package/dist/types/data-sdk/src/model/IFile.d.ts +6 -0
- package/dist/types/data-sdk/src/model/IFileInfo.d.ts +6 -0
- package/dist/types/data-sdk/src/model/IFilter.d.ts +10 -0
- package/dist/types/data-sdk/src/model/IFleet.d.ts +8 -0
- package/dist/types/data-sdk/src/model/IGoal.d.ts +5 -0
- package/dist/types/data-sdk/src/model/IGoalID.d.ts +3 -0
- package/dist/types/data-sdk/src/model/IH264VideoFrame.d.ts +5 -0
- package/dist/types/data-sdk/src/model/IHealth.d.ts +4 -0
- package/dist/types/data-sdk/src/model/IHwInfo.d.ts +17 -0
- package/dist/types/data-sdk/src/model/IImage.d.ts +6 -0
- package/dist/types/data-sdk/src/model/IImageAnnotation.d.ts +9 -0
- package/dist/types/data-sdk/src/model/IInterventionRequest.d.ts +9 -0
- package/dist/types/data-sdk/src/model/IInterventionResponse.d.ts +10 -0
- package/dist/types/data-sdk/src/model/IInterventionTypeMap.d.ts +26 -0
- package/dist/types/data-sdk/src/model/IJointState.d.ts +8 -0
- package/dist/types/data-sdk/src/model/IJoy.d.ts +4 -0
- package/dist/types/data-sdk/src/model/IKernelInfo.d.ts +5 -0
- package/dist/types/data-sdk/src/model/ILabel.d.ts +4 -0
- package/dist/types/data-sdk/src/model/ILabeledPolygon.d.ts +4 -0
- package/dist/types/data-sdk/src/model/ILabelingRequestData.d.ts +9 -0
- package/dist/types/data-sdk/src/model/ILabelingResponseData.d.ts +4 -0
- package/dist/types/data-sdk/src/model/ILocalization.d.ts +14 -0
- package/dist/types/data-sdk/src/model/ILocation.d.ts +6 -0
- package/dist/types/data-sdk/src/model/IMap.d.ts +10 -0
- package/dist/types/data-sdk/src/model/IMarker3D.d.ts +27 -0
- package/dist/types/data-sdk/src/model/IMarker3DArray.d.ts +4 -0
- package/dist/types/data-sdk/src/model/INetwork.d.ts +4 -0
- package/dist/types/data-sdk/src/model/INodeInfo.d.ts +5 -0
- package/dist/types/data-sdk/src/model/INumericAggregate.d.ts +7 -0
- package/dist/types/data-sdk/src/model/INumericSetAggregateMap.d.ts +5 -0
- package/dist/types/data-sdk/src/model/INumericSetEntry.d.ts +5 -0
- package/dist/types/data-sdk/src/model/IOdometry.d.ts +7 -0
- package/dist/types/data-sdk/src/model/IOnDemandPresenceStreamItemGroup.d.ts +6 -0
- package/dist/types/data-sdk/src/model/IOnDemandPresenceTimeRange.d.ts +7 -0
- package/dist/types/data-sdk/src/model/IOnDemandState.d.ts +4 -0
- package/dist/types/data-sdk/src/model/IOnDemandStreamPresence.d.ts +5 -0
- package/dist/types/data-sdk/src/model/IOnDemmandBuffer.d.ts +6 -0
- package/dist/types/data-sdk/src/model/IOnvifDevice.d.ts +5 -0
- package/dist/types/data-sdk/src/model/IOsInfo.d.ts +6 -0
- package/dist/types/data-sdk/src/model/IPath.d.ts +6 -0
- package/dist/types/data-sdk/src/model/IPhysicalInterventionMetadata.d.ts +3 -0
- package/dist/types/data-sdk/src/model/IPhysicalRequestData.d.ts +8 -0
- package/dist/types/data-sdk/src/model/IPhysicalResponsetData.d.ts +3 -0
- package/dist/types/data-sdk/src/model/IPointCloud.d.ts +6 -0
- package/dist/types/data-sdk/src/model/IPortForwardingSessionRecord.d.ts +3 -0
- package/dist/types/data-sdk/src/model/IPoseWithCovariance.d.ts +5 -0
- package/dist/types/data-sdk/src/model/IQuaternion.d.ts +6 -0
- package/dist/types/data-sdk/src/model/IQuery.d.ts +9 -0
- package/dist/types/data-sdk/src/model/IRole.d.ts +9 -0
- package/dist/types/data-sdk/src/model/IRosTopic.d.ts +4 -0
- package/dist/types/data-sdk/src/model/IRtcPointCloud.d.ts +5 -0
- package/dist/types/data-sdk/src/model/IRtcSessionRecord.d.ts +9 -0
- package/dist/types/data-sdk/src/model/IScopeFilter.d.ts +6 -0
- package/dist/types/data-sdk/src/model/ISelectionRequestData.d.ts +6 -0
- package/dist/types/data-sdk/src/model/ISelectionResponseData.d.ts +3 -0
- package/dist/types/data-sdk/src/model/IShare.d.ts +16 -0
- package/dist/types/data-sdk/src/model/ISheetParameters.d.ts +5 -0
- package/dist/types/data-sdk/src/model/ISpreadsheetIdRange.d.ts +4 -0
- package/dist/types/data-sdk/src/model/ISqlColumn.d.ts +6 -0
- package/dist/types/data-sdk/src/model/ISqlQuery.d.ts +21 -0
- package/dist/types/data-sdk/src/model/ISqlResult.d.ts +12 -0
- package/dist/types/data-sdk/src/model/ISqlRow.d.ts +5 -0
- package/dist/types/data-sdk/src/model/IStatefulEvent.d.ts +5 -0
- package/dist/types/data-sdk/src/model/IStream.d.ts +18 -0
- package/dist/types/data-sdk/src/model/IStreamAggregateData.d.ts +11 -0
- package/dist/types/data-sdk/src/model/IStreamAggregateTypeMap.d.ts +10 -0
- package/dist/types/data-sdk/src/model/IStreamColumn.d.ts +7 -0
- package/dist/types/data-sdk/src/model/IStreamCurrentValue.d.ts +13 -0
- package/dist/types/data-sdk/src/model/IStreamData.d.ts +11 -0
- package/dist/types/data-sdk/src/model/IStreamTypeMap.d.ts +27 -0
- package/dist/types/data-sdk/src/model/ISystemEvent.d.ts +3 -0
- package/dist/types/data-sdk/src/model/ITagParameters.d.ts +3 -0
- package/dist/types/data-sdk/src/model/ITagSets.d.ts +3 -0
- package/dist/types/data-sdk/src/model/ITaggedEntity.d.ts +5 -0
- package/dist/types/data-sdk/src/model/ITaggedUsers.d.ts +4 -0
- package/dist/types/data-sdk/src/model/ITags.d.ts +3 -0
- package/dist/types/data-sdk/src/model/ITaskReportColumn.d.ts +7 -0
- package/dist/types/data-sdk/src/model/ITaskSummary.d.ts +14 -0
- package/dist/types/data-sdk/src/model/ITeleopRequestData.d.ts +3 -0
- package/dist/types/data-sdk/src/model/ITeleopResponseData.d.ts +4 -0
- package/dist/types/data-sdk/src/model/ITeleopSessionRecord.d.ts +3 -0
- package/dist/types/data-sdk/src/model/ITransform.d.ts +6 -0
- package/dist/types/data-sdk/src/model/ITransformNode.d.ts +7 -0
- package/dist/types/data-sdk/src/model/ITriggeredEvent.d.ts +11 -0
- package/dist/types/data-sdk/src/model/ITwist.d.ts +5 -0
- package/dist/types/data-sdk/src/model/IUser.d.ts +29 -0
- package/dist/types/data-sdk/src/model/IUserParameters.d.ts +4 -0
- package/dist/types/data-sdk/src/model/IUserScope.d.ts +15 -0
- package/dist/types/data-sdk/src/model/IVector2.d.ts +4 -0
- package/dist/types/data-sdk/src/model/IVector3.d.ts +5 -0
- package/dist/types/data-sdk/src/model/IVideo.d.ts +7 -0
- package/dist/types/data-sdk/src/model/IVideoDevice.d.ts +4 -0
- package/dist/types/data-sdk/src/model/IView.d.ts +15 -0
- package/dist/types/data-sdk/src/model/IdeviceFollower.d.ts +4 -0
- package/dist/types/data-sdk/src/model/InetworkInfo.d.ts +4 -0
- package/dist/types/data-sdk/src/model/InterventionType.d.ts +2 -0
- package/dist/types/data-sdk/src/model/IsoDate.d.ts +1 -0
- package/dist/types/data-sdk/src/model/JsonSchema.d.ts +39 -0
- package/dist/types/data-sdk/src/model/Marker3DAction.d.ts +2 -0
- package/dist/types/data-sdk/src/model/Marker3DType.d.ts +2 -0
- package/dist/types/data-sdk/src/model/OnDemandBufferType.d.ts +2 -0
- package/dist/types/data-sdk/src/model/Policies.d.ts +35 -0
- package/dist/types/data-sdk/src/model/RequiredKeys.d.ts +3 -0
- package/dist/types/data-sdk/src/model/Resource.d.ts +2 -0
- package/dist/types/data-sdk/src/model/SessionType.d.ts +26 -0
- package/dist/types/data-sdk/src/model/Severity.d.ts +2 -0
- package/dist/types/data-sdk/src/model/SortOrder.d.ts +1 -0
- package/dist/types/data-sdk/src/model/StreamType.d.ts +2 -0
- package/dist/types/data-sdk/src/model/TelemetryResult.d.ts +9 -0
- package/dist/types/data-sdk/src/model/Timestamp.d.ts +1 -0
- package/dist/types/data-sdk/src/model/Uuid.d.ts +1 -0
- package/dist/types/data-sdk/src/model/VideoMimeType.d.ts +2 -0
- package/dist/types/data-sdk/src/model/accessLevels.d.ts +1 -0
- package/dist/types/data-sdk/src/model/aggregateLevels.d.ts +2 -0
- package/dist/types/data-sdk/src/model/aggregateTypes.d.ts +1 -0
- package/dist/types/data-sdk/src/model/analyticsAggregteTypes.d.ts +1 -0
- package/dist/types/data-sdk/src/model/analyticsChartTypes.d.ts +1 -0
- package/dist/types/data-sdk/src/model/annotationTypes.d.ts +1 -0
- package/dist/types/data-sdk/src/model/cognitoRegions.d.ts +1 -0
- package/dist/types/data-sdk/src/model/deviceTypes.d.ts +1 -0
- package/dist/types/data-sdk/src/model/eventTypes.d.ts +1 -0
- package/dist/types/data-sdk/src/model/healthStatuses.d.ts +1 -0
- package/dist/types/data-sdk/src/model/interventionTypes.d.ts +1 -0
- package/dist/types/data-sdk/src/model/marker3DActions.d.ts +1 -0
- package/dist/types/data-sdk/src/model/marker3DTypes.d.ts +1 -0
- package/dist/types/data-sdk/src/model/onDemandBufferTypes.d.ts +1 -0
- package/dist/types/data-sdk/src/model/resources.d.ts +1 -0
- package/dist/types/data-sdk/src/model/severities.d.ts +1 -0
- package/dist/types/data-sdk/src/model/videoMimeTypes.d.ts +1 -0
- package/dist/types/data-sdk/src/stores/AuthenticationErrors.d.ts +9 -0
- package/dist/types/data-sdk/src/stores/AuthenticationResult.d.ts +15 -0
- package/dist/types/data-sdk/src/stores/AuthenticationStore.d.ts +70 -0
- package/dist/types/data-sdk/src/stores/IAuthentication.d.ts +6 -0
- package/dist/types/data-sdk/src/stores/IAuthenticationStore.d.ts +45 -0
- package/dist/types/data-sdk/src/stores/ICheckSsoResult.d.ts +5 -0
- package/dist/types/data-sdk/src/stores/IConfirmForgotPasswordRequest.d.ts +5 -0
- package/dist/types/data-sdk/src/stores/IRespondToNewPasswordRequiredChallengeRequest.d.ts +5 -0
- package/dist/types/data-sdk/src/utils/RtcClientPool.d.ts +25 -0
- package/dist/types/data-sdk/src/utils/aggregateFunctionUtils.d.ts +38 -0
- package/dist/types/data-sdk/src/utils/getCurrentModuleContext.d.ts +1 -0
- package/dist/types/data-sdk/src/utils/isRtcPeer.d.ts +2 -0
- package/dist/types/data-sdk/src/utils/numericAggregateUtils.d.ts +26 -0
- package/dist/types/data-sdk/src/utils/serializeHash.d.ts +2 -0
- package/dist/types/data-sdk/src/utils/stringToArrayBuffer.d.ts +1 -0
- package/dist/types/data-sdk/src/utils/timeout.d.ts +1 -0
- package/package.json +3 -3
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
export { Account } from "./Account";
|
|
2
|
+
export { App } from "./App";
|
|
3
|
+
export { AudioPlayer } from "./AudioPlayer";
|
|
4
|
+
export { Authentication } from "./Authentication";
|
|
5
|
+
export { CaptureStream } from "./CaptureStream";
|
|
6
|
+
export { FORMANT_API_URL } from "./config";
|
|
7
|
+
export { whichFormantApiUrl } from "./config/whichFormantApiUrl";
|
|
8
|
+
export { DataChannel } from "./DataChannel";
|
|
9
|
+
export { Device } from "./devices/Device";
|
|
10
|
+
export { PeerDevice } from "./devices/PeerDevice";
|
|
11
|
+
export { Fleet } from "./Fleet";
|
|
12
|
+
export { KeyValue } from "./KeyValue";
|
|
13
|
+
export { Manipulator } from "./Manipulator";
|
|
14
|
+
export { BinaryRequestDataChannel, TextRequestDataChannel, } from "./RequestDataChannel";
|
|
15
|
+
export { Role } from "./Role";
|
|
16
|
+
export { User } from "./User";
|
|
17
|
+
export { Views } from "./Views";
|
|
18
|
+
export type { CaptureSession } from "./CaptureStream";
|
|
19
|
+
export type { DataChannelBinaryListener, DataChannelErrorListener, DataChannelListener, DataChannelStringListener, } from "./DataChannel";
|
|
20
|
+
export type { Command, ConfigurationDocument, IAdapterConfiguration, ICommandTemplate, IJointState, IStartRealtimeConnectionOptions, RealtimeAudioStream, RealtimeDataStream, RealtimeListener, RealtimeMessage, RealtimeVideoStream, TelemetryStream, } from "./devices/device.types";
|
|
21
|
+
export type { RealtimeManipulatorConfig } from "./Manipulator";
|
|
22
|
+
export type { DataPoint, ModuleData, QueryRange, Stream, StreamData, } from "./message-bus/listeners/addModuleDataListener";
|
|
23
|
+
export type { EmbeddedAppMessage, IDevice, ModuleConfigurationMessage, } from "./message-bus/listeners/EmbeddedAppMessage";
|
|
24
|
+
export type { AppMessage } from "./message-bus/senders/AppMessage";
|
|
25
|
+
export type { IRtcSendConfiguration, IRtcStreamMessage, IRtcStreamPayload, RtcStreamType, } from "@formant/realtime-sdk";
|
|
26
|
+
export * from "./model/AccessLevel";
|
|
27
|
+
export * from "./model/accessLevels";
|
|
28
|
+
export * from "./model/AggregateLevel";
|
|
29
|
+
export * from "./model/aggregateLevels";
|
|
30
|
+
export * from "./model/AnnotationAreaType";
|
|
31
|
+
export * from "./model/AnnotationType";
|
|
32
|
+
export * from "./model/annotationTypes";
|
|
33
|
+
export * from "./model/EventSortableColumn";
|
|
34
|
+
export * from "./model/EventType";
|
|
35
|
+
export * from "./model/eventTypes";
|
|
36
|
+
export * from "./model/HealthStatus";
|
|
37
|
+
export * from "./model/healthStatuses";
|
|
38
|
+
export * from "./model/HexRgbColor";
|
|
39
|
+
export * from "./model/IAccount";
|
|
40
|
+
export * from "./model/IAccountTree";
|
|
41
|
+
export * from "./model/IAggregateRow";
|
|
42
|
+
export * from "./model/IAnalyticsModule";
|
|
43
|
+
export * from "./model/IAnalyticsModuleConfiguration";
|
|
44
|
+
export * from "./model/IAnnotation";
|
|
45
|
+
export * from "./model/IAnnotationAreaTypeMap";
|
|
46
|
+
export * from "./model/IAnnotationQuery";
|
|
47
|
+
export * from "./model/IBaseEntity";
|
|
48
|
+
export * from "./model/IBaseEvent";
|
|
49
|
+
export * from "./model/IBattery";
|
|
50
|
+
export * from "./model/IBitset";
|
|
51
|
+
export * from "./model/IBoundingBox";
|
|
52
|
+
export * from "./model/IColorRGBA";
|
|
53
|
+
export * from "./model/ICommandDeliveryEvent";
|
|
54
|
+
export * from "./model/ICommandEventBase";
|
|
55
|
+
export * from "./model/ICommandParameter";
|
|
56
|
+
export * from "./model/ICommandRequest";
|
|
57
|
+
export * from "./model/ICommandRequestEvent";
|
|
58
|
+
export * from "./model/ICommandResponse";
|
|
59
|
+
export * from "./model/ICommandResponseEvent";
|
|
60
|
+
export * from "./model/IComment";
|
|
61
|
+
export * from "./model/IConfigurationMap";
|
|
62
|
+
export * from "./model/ICustomEvent";
|
|
63
|
+
export * from "./model/IDataAggregate";
|
|
64
|
+
export * from "./model/IDataPoint";
|
|
65
|
+
export * from "./model/IDevice";
|
|
66
|
+
export * from "./model/IDeviceQuery";
|
|
67
|
+
export * from "./model/IEvent";
|
|
68
|
+
export * from "./model/IEventFilter";
|
|
69
|
+
export * from "./model/IEventQuery";
|
|
70
|
+
export * from "./model/IEventSort";
|
|
71
|
+
export * from "./model/IFieldParametersTypeMap";
|
|
72
|
+
export * from "./model/IFile";
|
|
73
|
+
export * from "./model/IFileInfo";
|
|
74
|
+
export * from "./model/IFilter";
|
|
75
|
+
export * from "./model/IFleet";
|
|
76
|
+
export * from "./model/IGoal";
|
|
77
|
+
export * from "./model/IGoalID";
|
|
78
|
+
export * from "./model/IHealth";
|
|
79
|
+
export * from "./model/IImage";
|
|
80
|
+
export * from "./model/IImageAnnotation";
|
|
81
|
+
export * from "./model/IInterventionRequest";
|
|
82
|
+
export * from "./model/IInterventionResponse";
|
|
83
|
+
export * from "./model/IInterventionTypeMap";
|
|
84
|
+
export * from "./model/IJoy";
|
|
85
|
+
export * from "./model/ILabel";
|
|
86
|
+
export * from "./model/ILabeledPolygon";
|
|
87
|
+
export * from "./model/ILabelingRequestData";
|
|
88
|
+
export * from "./model/ILabelingResponseData";
|
|
89
|
+
export * from "./model/ILocalization";
|
|
90
|
+
export * from "./model/ILocation";
|
|
91
|
+
export * from "./model/IMap";
|
|
92
|
+
export * from "./model/IMarker3D";
|
|
93
|
+
export * from "./model/IMarker3DArray";
|
|
94
|
+
export * from "./model/InterventionType";
|
|
95
|
+
export * from "./model/interventionTypes";
|
|
96
|
+
export * from "./model/INumericAggregate";
|
|
97
|
+
export * from "./model/INumericSetAggregateMap";
|
|
98
|
+
export * from "./model/INumericSetEntry";
|
|
99
|
+
export * from "./model/IOdometry";
|
|
100
|
+
export * from "./model/IPath";
|
|
101
|
+
export * from "./model/IPointCloud";
|
|
102
|
+
export * from "./model/IPortForwardingSessionRecord";
|
|
103
|
+
export * from "./model/IQuaternion";
|
|
104
|
+
export * from "./model/IQuery";
|
|
105
|
+
export * from "./model/IRole";
|
|
106
|
+
export * from "./model/IRtcSessionRecord";
|
|
107
|
+
export * from "./model/IScopeFilter";
|
|
108
|
+
export * from "./model/ISelectionRequestData";
|
|
109
|
+
export * from "./model/ISelectionResponseData";
|
|
110
|
+
export * from "./model/IShare";
|
|
111
|
+
export * from "./model/ISheetParameters";
|
|
112
|
+
export * from "./model/IsoDate";
|
|
113
|
+
export * from "./model/ISpreadsheetIdRange";
|
|
114
|
+
export * from "./model/ISqlColumn";
|
|
115
|
+
export * from "./model/ISqlQuery";
|
|
116
|
+
export * from "./model/ISqlResult";
|
|
117
|
+
export * from "./model/ISqlRow";
|
|
118
|
+
export * from "./model/IStream";
|
|
119
|
+
export * from "./model/IStreamAggregateData";
|
|
120
|
+
export * from "./model/IStreamAggregateTypeMap";
|
|
121
|
+
export * from "./model/IStreamColumn";
|
|
122
|
+
export * from "./model/IStreamCurrentValue";
|
|
123
|
+
export * from "./model/IStreamData";
|
|
124
|
+
export * from "./model/IStreamTypeMap";
|
|
125
|
+
export * from "./model/ISystemEvent";
|
|
126
|
+
export * from "./model/ITaggedUsers";
|
|
127
|
+
export * from "./model/ITagParameters";
|
|
128
|
+
export * from "./model/ITags";
|
|
129
|
+
export * from "./model/ITagSets";
|
|
130
|
+
export * from "./model/ITaskReportColumn";
|
|
131
|
+
export * from "./model/ITeleopRequestData";
|
|
132
|
+
export * from "./model/ITeleopResponseData";
|
|
133
|
+
export * from "./model/ITeleopSessionRecord";
|
|
134
|
+
export * from "./model/ITransform";
|
|
135
|
+
export * from "./model/ITransformNode";
|
|
136
|
+
export * from "./model/ITriggeredEvent";
|
|
137
|
+
export * from "./model/ITwist";
|
|
138
|
+
export * from "./model/IUser";
|
|
139
|
+
export * from "./model/IUserParameters";
|
|
140
|
+
export * from "./model/IVector3";
|
|
141
|
+
export * from "./model/IVideo";
|
|
142
|
+
export * from "./model/IView";
|
|
143
|
+
export * from "./model/JsonSchema";
|
|
144
|
+
export { SessionTypeConstants as SessionType } from "./model/SessionType";
|
|
145
|
+
export * from "./model/severities";
|
|
146
|
+
export * from "./model/Severity";
|
|
147
|
+
export * from "./model/SortOrder";
|
|
148
|
+
export * from "./model/StreamType";
|
|
149
|
+
export * from "./model/Timestamp";
|
|
150
|
+
export * from "./model/Uuid";
|
|
151
|
+
export * from "./model/VideoMimeType";
|
|
152
|
+
export * from "./model/videoMimeTypes";
|
|
153
|
+
export * from "./stores/IAuthenticationStore";
|
|
154
|
+
export * from "./utils/aggregateFunctionUtils";
|
|
155
|
+
export * from "./utils/timeout";
|
|
156
|
+
export type { TelemetryResult } from "./model/TelemetryResult";
|
|
157
|
+
export type { IAuthentication } from "./stores/IAuthentication";
|
|
158
|
+
export type { IConfirmForgotPasswordRequest } from "./stores/IConfirmForgotPasswordRequest";
|
|
159
|
+
export type { IRespondToNewPasswordRequiredChallengeRequest } from "./stores/IRespondToNewPasswordRequiredChallengeRequest";
|
|
160
|
+
import "./init.ts";
|
|
161
|
+
export { createRtcStreamMessage, RtcClient, RtcClientV1, RtcSignalingClient, } from "@formant/realtime-sdk";
|
|
162
|
+
export * from "./connector/data/BaseUniverseDataConnector";
|
|
163
|
+
export * from "./connector/data/LiveUniverseData";
|
|
164
|
+
export * from "./connector/data/queryStore";
|
|
165
|
+
export * from "./connector/data/TelemetryUniverseData";
|
|
166
|
+
export * from "./connector/model/IPose";
|
|
167
|
+
export * from "./connector/model/IUniverseData";
|
|
168
|
+
export * from "./connector/model/IUniverseOdometry";
|
|
169
|
+
export { defined, definedAndNotNull } from "../../common/defined";
|
|
170
|
+
export type IUniverseGridMap = import("./connector/model/IUniverseGridMap").IUniverseGridMap;
|
|
171
|
+
export type IUniverseOdometry = import("./connector/model/IUniverseOdometry").IUniverseOdometry;
|
|
172
|
+
export type IPcd = import("./connector/model/IPcd").IPcd;
|
|
173
|
+
export type IPose = import("./connector/model/IPose").IPose;
|
|
174
|
+
export type IUniversePointCloud = import("./connector/model/IUniversePointCloud").IUniversePointCloud;
|
|
175
|
+
export type IUniversePath = import("./connector/model/IUniversePath").IUniversePath;
|
|
176
|
+
export type IUniverseData = import("./connector/model/IUniverseData").IUniverseData;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function getDate(time?: Date, minTime?: Date, maxTime?: Date): Promise<unknown>;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { ITags } from "../../model/ITags";
|
|
2
|
+
export type DateResponseMessage = {
|
|
3
|
+
type: "date_response";
|
|
4
|
+
data: Date;
|
|
5
|
+
};
|
|
6
|
+
export interface IDevice {
|
|
7
|
+
name: string;
|
|
8
|
+
id: string;
|
|
9
|
+
tags: ITags;
|
|
10
|
+
}
|
|
11
|
+
export type OverviewDevicesMessage = {
|
|
12
|
+
type: "overview_devices";
|
|
13
|
+
data: IDevice[];
|
|
14
|
+
};
|
|
15
|
+
export type ModuleMenuItemClickedMessage = {
|
|
16
|
+
type: "module_menu_item_clicked";
|
|
17
|
+
menu: string;
|
|
18
|
+
};
|
|
19
|
+
export type ModuleConfigurationMessage = {
|
|
20
|
+
type: "module_configuration";
|
|
21
|
+
temporary: boolean;
|
|
22
|
+
configuration: string;
|
|
23
|
+
};
|
|
24
|
+
export type AuthTokenMessage = {
|
|
25
|
+
type: "auth_token";
|
|
26
|
+
token: string;
|
|
27
|
+
};
|
|
28
|
+
export type ModuleDataMessage = {
|
|
29
|
+
type: "module_data";
|
|
30
|
+
streams: {
|
|
31
|
+
[x: string]: any;
|
|
32
|
+
};
|
|
33
|
+
time: number;
|
|
34
|
+
queryRange: {
|
|
35
|
+
start: number;
|
|
36
|
+
end: number;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
export type ChannelDataMessage = {
|
|
40
|
+
type: "channel_data";
|
|
41
|
+
channel: string;
|
|
42
|
+
source: string;
|
|
43
|
+
data: any;
|
|
44
|
+
};
|
|
45
|
+
export type PromptResponseMessage = {
|
|
46
|
+
type: "prompt_response";
|
|
47
|
+
promptId: string;
|
|
48
|
+
data: any;
|
|
49
|
+
};
|
|
50
|
+
export type FormantOnlineMessage = {
|
|
51
|
+
type: "formant_online";
|
|
52
|
+
online: boolean;
|
|
53
|
+
};
|
|
54
|
+
export type EmbeddedAppMessage = DateResponseMessage | OverviewDevicesMessage | ModuleMenuItemClickedMessage | AuthTokenMessage | ModuleDataMessage | ChannelDataMessage | PromptResponseMessage | FormantOnlineMessage | ModuleConfigurationMessage;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function addAccessTokenRefreshListener(handler: (token: string) => void): () => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function addMenuListener(handler: (label: string) => void): () => void;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export interface ModuleData {
|
|
2
|
+
queryRange: QueryRange;
|
|
3
|
+
time: number;
|
|
4
|
+
streams: {
|
|
5
|
+
[stream_name: string]: Stream;
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
export interface QueryRange {
|
|
9
|
+
start: number;
|
|
10
|
+
end: number;
|
|
11
|
+
}
|
|
12
|
+
export interface Stream {
|
|
13
|
+
data: StreamData[];
|
|
14
|
+
loading: boolean;
|
|
15
|
+
tooMuchData: boolean;
|
|
16
|
+
type: string;
|
|
17
|
+
}
|
|
18
|
+
export interface StreamData {
|
|
19
|
+
points: DataPoint[];
|
|
20
|
+
deviceId: string;
|
|
21
|
+
agentId: string;
|
|
22
|
+
name: string;
|
|
23
|
+
tags: {
|
|
24
|
+
[key: string]: string;
|
|
25
|
+
};
|
|
26
|
+
type: string;
|
|
27
|
+
}
|
|
28
|
+
export type DataPoint = [number, any];
|
|
29
|
+
export declare function addModuleDataListener(handler: (data: ModuleData) => void): () => void;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { StreamType } from "../../model/StreamType";
|
|
2
|
+
import { IStreamData } from "../../model/IStreamData";
|
|
3
|
+
export declare function addStreamListener(streamNames: string[], streamTypes: StreamType[], handler: (response: IStreamData[] | "too much data" | undefined) => void): () => void;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { JsonSchema } from "../../model/JsonSchema";
|
|
2
|
+
export interface RequestDateMessage {
|
|
3
|
+
type: "request_date";
|
|
4
|
+
minTime?: Date;
|
|
5
|
+
maxTime?: Date;
|
|
6
|
+
time?: Date;
|
|
7
|
+
}
|
|
8
|
+
export interface GoToTimeMessage {
|
|
9
|
+
type: "go_to_time";
|
|
10
|
+
time: number;
|
|
11
|
+
}
|
|
12
|
+
export interface PromptMessage {
|
|
13
|
+
type: "prompt";
|
|
14
|
+
promptId: string;
|
|
15
|
+
schema: JsonSchema;
|
|
16
|
+
okText?: string;
|
|
17
|
+
cancelText?: string;
|
|
18
|
+
}
|
|
19
|
+
export interface GoToDeviceMessage {
|
|
20
|
+
type: "go_to_device";
|
|
21
|
+
deviceId: string;
|
|
22
|
+
}
|
|
23
|
+
export interface RequestModuleDataMessage {
|
|
24
|
+
type: "request_module_data";
|
|
25
|
+
module: string;
|
|
26
|
+
}
|
|
27
|
+
export interface ShowMessageMessage {
|
|
28
|
+
type: "show_message";
|
|
29
|
+
message: string;
|
|
30
|
+
}
|
|
31
|
+
export interface RefreshAuthTokenMessage {
|
|
32
|
+
type: "refresh_auth_token";
|
|
33
|
+
module: string;
|
|
34
|
+
}
|
|
35
|
+
export interface SetModuleDataTimeRangeMessage {
|
|
36
|
+
type: "set_module_data_time_range";
|
|
37
|
+
module: string;
|
|
38
|
+
before: number;
|
|
39
|
+
after: number;
|
|
40
|
+
}
|
|
41
|
+
export interface SetupModuleMenusMessage {
|
|
42
|
+
type: "setup_module_menus";
|
|
43
|
+
module: string;
|
|
44
|
+
menus: {
|
|
45
|
+
label: string;
|
|
46
|
+
}[];
|
|
47
|
+
}
|
|
48
|
+
export interface SendChannelDataMessage {
|
|
49
|
+
type: "send_channel_data";
|
|
50
|
+
channel: string;
|
|
51
|
+
source: string;
|
|
52
|
+
data: any;
|
|
53
|
+
}
|
|
54
|
+
export interface RequestDevicesMessage {
|
|
55
|
+
type: "request_devices";
|
|
56
|
+
}
|
|
57
|
+
export interface HideAnalyticsDatePickerMessage {
|
|
58
|
+
type: "hide_analytics_date_picker";
|
|
59
|
+
}
|
|
60
|
+
export interface FormantOnlineMessage {
|
|
61
|
+
type: "formant_online";
|
|
62
|
+
}
|
|
63
|
+
export type AppMessage = RequestDateMessage | GoToTimeMessage | PromptMessage | GoToDeviceMessage | RequestModuleDataMessage | ShowMessageMessage | RefreshAuthTokenMessage | SetModuleDataTimeRangeMessage | SetupModuleMenusMessage | SendChannelDataMessage | RequestDevicesMessage | HideAnalyticsDatePickerMessage | FormantOnlineMessage;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function disableAnalyticsBottomBar(): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function goToDevice(deviceId: string): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function goToTime(date: Date): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function refreshAuthToken(): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function requestModuleData(): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function sendChannelData(channel: string, data: any): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function setModuleDateTimeRange(beforeInMilliseconds: number, afterInMilliseconds?: number): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function showMessage(message: string): void;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { accessLevels } from "./accessLevels";
|
|
2
|
+
export type AccessLevel = (typeof accessLevels)[number];
|
|
3
|
+
export declare const viewer: "viewer" | "operator" | "administrator";
|
|
4
|
+
export declare const operator: "viewer" | "operator" | "administrator";
|
|
5
|
+
export declare const administrator: "viewer" | "operator" | "administrator";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type AggregateLevel = "year" | "month" | "week" | "day" | "hour" | "minute" | "quarter";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type EventSortableColumn = "device.name" | "time";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type HexRgbColor = string;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IBaseEntity } from "./IBaseEntity";
|
|
2
|
+
import { Uuid } from "./Uuid";
|
|
3
|
+
import { ISqlQuery } from "./ISqlQuery";
|
|
4
|
+
import { IAnalyticsModuleConfiguration } from "./IAnalyticsModuleConfiguration";
|
|
5
|
+
export interface IAnalyticsModule extends IBaseEntity {
|
|
6
|
+
id?: Uuid;
|
|
7
|
+
organizationId?: Uuid;
|
|
8
|
+
name: string;
|
|
9
|
+
query: ISqlQuery | null;
|
|
10
|
+
configuration: IAnalyticsModuleConfiguration | null;
|
|
11
|
+
layout: any | null;
|
|
12
|
+
data: any[] | null;
|
|
13
|
+
streamIds: Uuid[];
|
|
14
|
+
fullscreen?: boolean;
|
|
15
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IBaseEvent } from "./IBaseEvent";
|
|
2
|
+
import { IsoDate } from "./IsoDate";
|
|
3
|
+
import { ISpreadsheetIdRange } from "./ISpreadsheetIdRange";
|
|
4
|
+
import { ITaggedUsers } from "./ITaggedUsers";
|
|
5
|
+
import { Uuid } from "./Uuid";
|
|
6
|
+
export interface IAnnotation extends IBaseEvent<"annotation"> {
|
|
7
|
+
editedAt?: IsoDate;
|
|
8
|
+
userId: Uuid;
|
|
9
|
+
annotationTemplateId?: Uuid | null;
|
|
10
|
+
taggedUsers?: ITaggedUsers | null;
|
|
11
|
+
publishedTo?: ISpreadsheetIdRange;
|
|
12
|
+
note?: string | null;
|
|
13
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { EventType } from "./EventType";
|
|
2
|
+
import { IDictionary } from "./IDictionary";
|
|
3
|
+
import { IsoDate } from "./IsoDate";
|
|
4
|
+
import { ITaggedEntity } from "./ITaggedEntity";
|
|
5
|
+
import { StreamType } from "./StreamType";
|
|
6
|
+
import { Uuid } from "./Uuid";
|
|
7
|
+
export interface IBaseEvent<T extends EventType = EventType> extends ITaggedEntity {
|
|
8
|
+
type: T;
|
|
9
|
+
organizationId?: Uuid;
|
|
10
|
+
time: IsoDate;
|
|
11
|
+
endTime?: IsoDate | null;
|
|
12
|
+
parentId?: Uuid | null;
|
|
13
|
+
metadata?: IDictionary;
|
|
14
|
+
message: string;
|
|
15
|
+
viewed?: boolean;
|
|
16
|
+
deviceId?: Uuid;
|
|
17
|
+
streamName?: string;
|
|
18
|
+
streamType?: StreamType;
|
|
19
|
+
notificationEnabled?: boolean;
|
|
20
|
+
eventTriggerId?: Uuid | null;
|
|
21
|
+
setsDeviceColor?: boolean;
|
|
22
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IConfigurationMap } from "./IConfigurationMap";
|
|
2
|
+
import { IFileInfo } from "./IFileInfo";
|
|
3
|
+
import { IsoDate } from "./IsoDate";
|
|
4
|
+
export interface ICommandParameter {
|
|
5
|
+
value?: string;
|
|
6
|
+
meta?: IConfigurationMap;
|
|
7
|
+
scrubberTime: IsoDate;
|
|
8
|
+
files?: IFileInfo[];
|
|
9
|
+
}
|