@formant/data-sdk 1.80.3 → 1.80.4

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.
Files changed (354) hide show
  1. package/dist/assets/DataFetchWorker-0a168933.js.map +1 -0
  2. package/dist/assets/PcdLoaderWorker-6fe0da29.js +6 -0
  3. package/dist/assets/{PcdLoaderWorker-eaac0b31.js.map → PcdLoaderWorker-6fe0da29.js.map} +1 -1
  4. package/dist/assets/ui-sdk-realtime-player-core-worker.umd-68a6e16a.js.map +1 -1
  5. package/dist/data-sdk.cjs.js +58 -64
  6. package/dist/data-sdk.cjs.js.map +1 -1
  7. package/dist/data-sdk.es.js +17397 -20139
  8. package/dist/data-sdk.es.js.map +1 -1
  9. package/dist/data-sdk.es6.js +17397 -20139
  10. package/dist/data-sdk.umd.js +58 -64
  11. package/package.json +1 -1
  12. package/dist/assets/data-loader.worker-a6fd974d.js.map +0 -1
  13. package/dist/types/common/browser.d.ts +0 -2
  14. package/dist/types/common/defined.d.ts +0 -3
  15. package/dist/types/common/delay.d.ts +0 -1
  16. package/dist/types/common/duration.d.ts +0 -10
  17. package/dist/types/common/fork.d.ts +0 -5
  18. package/dist/types/data-sdk/src/Account.d.ts +0 -10
  19. package/dist/types/data-sdk/src/App.d.ts +0 -47
  20. package/dist/types/data-sdk/src/AppRtcClientPools.d.ts +0 -20
  21. package/dist/types/data-sdk/src/AudioPlayer.d.ts +0 -23
  22. package/dist/types/data-sdk/src/Authentication.d.ts +0 -2
  23. package/dist/types/data-sdk/src/CaptureStream.d.ts +0 -18
  24. package/dist/types/data-sdk/src/DataChannel.d.ts +0 -30
  25. package/dist/types/data-sdk/src/EventTriggerGroup.d.ts +0 -0
  26. package/dist/types/data-sdk/src/Fleet.d.ts +0 -88
  27. package/dist/types/data-sdk/src/KeyValue.d.ts +0 -8
  28. package/dist/types/data-sdk/src/Manipulator.d.ts +0 -21
  29. package/dist/types/data-sdk/src/RequestDataChannel.d.ts +0 -29
  30. package/dist/types/data-sdk/src/Role.d.ts +0 -8
  31. package/dist/types/data-sdk/src/User.d.ts +0 -8
  32. package/dist/types/data-sdk/src/Views.d.ts +0 -9
  33. package/dist/types/data-sdk/src/api/addDeviceToFleet.d.ts +0 -1
  34. package/dist/types/data-sdk/src/api/aggregateTelemetry.d.ts +0 -3
  35. package/dist/types/data-sdk/src/api/createDevice.d.ts +0 -2
  36. package/dist/types/data-sdk/src/api/createFleet.d.ts +0 -2
  37. package/dist/types/data-sdk/src/api/createShareLink.d.ts +0 -22
  38. package/dist/types/data-sdk/src/api/deleteFleet.d.ts +0 -1
  39. package/dist/types/data-sdk/src/api/disableDevice.d.ts +0 -2
  40. package/dist/types/data-sdk/src/api/eventsCounter.d.ts +0 -7
  41. package/dist/types/data-sdk/src/api/getAllEventTriggerGroup.d.ts +0 -2
  42. package/dist/types/data-sdk/src/api/getAnalyticsModules.d.ts +0 -2
  43. package/dist/types/data-sdk/src/api/getAnalyticsRows.d.ts +0 -8
  44. package/dist/types/data-sdk/src/api/getAnalyticsStreams.d.ts +0 -18
  45. package/dist/types/data-sdk/src/api/getAnnotationCount.d.ts +0 -4
  46. package/dist/types/data-sdk/src/api/getAnnotationCountByIntervals.d.ts +0 -8
  47. package/dist/types/data-sdk/src/api/getCurrentGroup.d.ts +0 -2
  48. package/dist/types/data-sdk/src/api/getDevice.d.ts +0 -2
  49. package/dist/types/data-sdk/src/api/getDevices.d.ts +0 -2
  50. package/dist/types/data-sdk/src/api/getDevicesData.d.ts +0 -2
  51. package/dist/types/data-sdk/src/api/getEvent.d.ts +0 -2
  52. package/dist/types/data-sdk/src/api/getEventTriggerGroup.d.ts +0 -2
  53. package/dist/types/data-sdk/src/api/getFileUrl.d.ts +0 -1
  54. package/dist/types/data-sdk/src/api/getFleet.d.ts +0 -2
  55. package/dist/types/data-sdk/src/api/getFleetDevices.d.ts +0 -1
  56. package/dist/types/data-sdk/src/api/getInterventions.d.ts +0 -2
  57. package/dist/types/data-sdk/src/api/getLatestTelemetry.d.ts +0 -3
  58. package/dist/types/data-sdk/src/api/getModuleConfiguration.d.ts +0 -1
  59. package/dist/types/data-sdk/src/api/getOnlineDevices.d.ts +0 -2
  60. package/dist/types/data-sdk/src/api/getPeers.d.ts +0 -2
  61. package/dist/types/data-sdk/src/api/getRealtimeDevices.d.ts +0 -2
  62. package/dist/types/data-sdk/src/api/getRealtimeSessions.d.ts +0 -3
  63. package/dist/types/data-sdk/src/api/getStreams.d.ts +0 -2
  64. package/dist/types/data-sdk/src/api/getTaskReportRows.d.ts +0 -26
  65. package/dist/types/data-sdk/src/api/getTaskreportTables.d.ts +0 -23
  66. package/dist/types/data-sdk/src/api/getTelemetry.d.ts +0 -4
  67. package/dist/types/data-sdk/src/api/getViews.d.ts +0 -2
  68. package/dist/types/data-sdk/src/api/listFleets.d.ts +0 -2
  69. package/dist/types/data-sdk/src/api/patchDevice.d.ts +0 -2
  70. package/dist/types/data-sdk/src/api/patchEventTriggerGroup.d.ts +0 -2
  71. package/dist/types/data-sdk/src/api/patchFleet.d.ts +0 -2
  72. package/dist/types/data-sdk/src/api/patchStreams.d.ts +0 -2
  73. package/dist/types/data-sdk/src/api/patchView.d.ts +0 -2
  74. package/dist/types/data-sdk/src/api/queryAnalytics.d.ts +0 -43
  75. package/dist/types/data-sdk/src/api/queryDevices.d.ts +0 -3
  76. package/dist/types/data-sdk/src/api/queryDevicesData.d.ts +0 -3
  77. package/dist/types/data-sdk/src/api/queryEvents.d.ts +0 -3
  78. package/dist/types/data-sdk/src/api/queryTelemetry.d.ts +0 -3
  79. package/dist/types/data-sdk/src/api/teleopViews.d.ts +0 -73
  80. package/dist/types/data-sdk/src/cache/StoreCache.d.ts +0 -19
  81. package/dist/types/data-sdk/src/cache/filterDataByTime.d.ts +0 -2
  82. package/dist/types/data-sdk/src/cache/filterDataByType.d.ts +0 -3
  83. package/dist/types/data-sdk/src/cache/queryStore.d.ts +0 -11
  84. package/dist/types/data-sdk/src/config/index.d.ts +0 -2
  85. package/dist/types/data-sdk/src/config/whichFormantApiUrl.d.ts +0 -6
  86. package/dist/types/data-sdk/src/connector/common/Color.d.ts +0 -13
  87. package/dist/types/data-sdk/src/connector/common/LruCache.d.ts +0 -18
  88. package/dist/types/data-sdk/src/connector/common/PromiseLruCache.d.ts +0 -11
  89. package/dist/types/data-sdk/src/connector/common/Timeout.d.ts +0 -1
  90. package/dist/types/data-sdk/src/connector/common/defined.d.ts +0 -3
  91. package/dist/types/data-sdk/src/connector/common/delay.d.ts +0 -1
  92. package/dist/types/data-sdk/src/connector/common/duration.d.ts +0 -10
  93. package/dist/types/data-sdk/src/connector/common/equals.d.ts +0 -1
  94. package/dist/types/data-sdk/src/connector/common/errorToObject.d.ts +0 -14
  95. package/dist/types/data-sdk/src/connector/common/errorToString.d.ts +0 -4
  96. package/dist/types/data-sdk/src/connector/common/filterDataByTime.d.ts +0 -2
  97. package/dist/types/data-sdk/src/connector/common/filterDataByType.d.ts +0 -3
  98. package/dist/types/data-sdk/src/connector/common/flattenPoints.d.ts +0 -8
  99. package/dist/types/data-sdk/src/connector/common/fork.d.ts +0 -5
  100. package/dist/types/data-sdk/src/connector/common/range.d.ts +0 -1
  101. package/dist/types/data-sdk/src/connector/common/throttle.d.ts +0 -1
  102. package/dist/types/data-sdk/src/connector/common/toJsonLines.d.ts +0 -1
  103. package/dist/types/data-sdk/src/connector/common/toStringSafe.d.ts +0 -8
  104. package/dist/types/data-sdk/src/connector/data/BaseUniverseDataConnector.d.ts +0 -69
  105. package/dist/types/data-sdk/src/connector/data/DataFetchWorker.d.ts +0 -1
  106. package/dist/types/data-sdk/src/connector/data/LiveUniverseData.d.ts +0 -36
  107. package/dist/types/data-sdk/src/connector/data/PcdLoaderWorker.d.ts +0 -1
  108. package/dist/types/data-sdk/src/connector/data/StoreCache.d.ts +0 -17
  109. package/dist/types/data-sdk/src/connector/data/TelemetryUniverseData.d.ts +0 -44
  110. package/dist/types/data-sdk/src/connector/data/loader/DataLoader.d.ts +0 -27
  111. package/dist/types/data-sdk/src/connector/data/loader/data-loader.worker.d.ts +0 -1
  112. package/dist/types/data-sdk/src/connector/data/pcd.d.ts +0 -23
  113. package/dist/types/data-sdk/src/connector/data/queryStore.d.ts +0 -12
  114. package/dist/types/data-sdk/src/connector/data/range.d.ts +0 -1
  115. package/dist/types/data-sdk/src/connector/model/IPcd.d.ts +0 -20
  116. package/dist/types/data-sdk/src/connector/model/IPose.d.ts +0 -3
  117. package/dist/types/data-sdk/src/connector/model/IUniverseData.d.ts +0 -124
  118. package/dist/types/data-sdk/src/connector/model/IUniverseGridMap.d.ts +0 -11
  119. package/dist/types/data-sdk/src/connector/model/IUniverseOdometry.d.ts +0 -6
  120. package/dist/types/data-sdk/src/connector/model/IUniversePath.d.ts +0 -3
  121. package/dist/types/data-sdk/src/connector/model/IUniversePointCloud.d.ts +0 -6
  122. package/dist/types/data-sdk/src/devices/BaseDevice.d.ts +0 -47
  123. package/dist/types/data-sdk/src/devices/Device.d.ts +0 -88
  124. package/dist/types/data-sdk/src/devices/ICustomDataChannelCreator.d.ts +0 -4
  125. package/dist/types/data-sdk/src/devices/IRealtimeSubscriber.d.ts +0 -7
  126. package/dist/types/data-sdk/src/devices/IView.d.ts +0 -29
  127. package/dist/types/data-sdk/src/devices/PeerDevice.d.ts +0 -35
  128. package/dist/types/data-sdk/src/devices/device.types.d.ts +0 -115
  129. package/dist/types/data-sdk/src/init.d.ts +0 -1
  130. package/dist/types/data-sdk/src/main.d.ts +0 -176
  131. package/dist/types/data-sdk/src/message-bus/bidirectional/getDate.d.ts +0 -1
  132. package/dist/types/data-sdk/src/message-bus/bidirectional/prompt.d.ts +0 -5
  133. package/dist/types/data-sdk/src/message-bus/listeners/EmbeddedAppMessage.d.ts +0 -54
  134. package/dist/types/data-sdk/src/message-bus/listeners/addAccessTokenRefreshListener.d.ts +0 -1
  135. package/dist/types/data-sdk/src/message-bus/listeners/addChannelDataListener.d.ts +0 -4
  136. package/dist/types/data-sdk/src/message-bus/listeners/addMenuListener.d.ts +0 -1
  137. package/dist/types/data-sdk/src/message-bus/listeners/addModuleConfigurationListener.d.ts +0 -2
  138. package/dist/types/data-sdk/src/message-bus/listeners/addModuleDataListener.d.ts +0 -29
  139. package/dist/types/data-sdk/src/message-bus/listeners/addOverviewDeviceListener.d.ts +0 -2
  140. package/dist/types/data-sdk/src/message-bus/listeners/addStreamLIstener.d.ts +0 -3
  141. package/dist/types/data-sdk/src/message-bus/senders/AppMessage.d.ts +0 -63
  142. package/dist/types/data-sdk/src/message-bus/senders/disableAnalyticsBottomBar.d.ts +0 -1
  143. package/dist/types/data-sdk/src/message-bus/senders/goToDevice.d.ts +0 -1
  144. package/dist/types/data-sdk/src/message-bus/senders/goToTime.d.ts +0 -1
  145. package/dist/types/data-sdk/src/message-bus/senders/refreshAuthToken.d.ts +0 -1
  146. package/dist/types/data-sdk/src/message-bus/senders/requestModuleData.d.ts +0 -1
  147. package/dist/types/data-sdk/src/message-bus/senders/sendAppMessage.d.ts +0 -2
  148. package/dist/types/data-sdk/src/message-bus/senders/sendChannelData.d.ts +0 -1
  149. package/dist/types/data-sdk/src/message-bus/senders/setModuleDateTimeRange.d.ts +0 -1
  150. package/dist/types/data-sdk/src/message-bus/senders/setupModuleMenus.d.ts +0 -3
  151. package/dist/types/data-sdk/src/message-bus/senders/showMessage.d.ts +0 -1
  152. package/dist/types/data-sdk/src/model/AccessLevel.d.ts +0 -5
  153. package/dist/types/data-sdk/src/model/AggregateLevel.d.ts +0 -1
  154. package/dist/types/data-sdk/src/model/AggregateType.d.ts +0 -2
  155. package/dist/types/data-sdk/src/model/AnalyticsAggregateType.d.ts +0 -2
  156. package/dist/types/data-sdk/src/model/AnalyticsChartType.d.ts +0 -2
  157. package/dist/types/data-sdk/src/model/AnnotationAreaType.d.ts +0 -2
  158. package/dist/types/data-sdk/src/model/AnnotationType.d.ts +0 -2
  159. package/dist/types/data-sdk/src/model/CognitoRegion.d.ts +0 -2
  160. package/dist/types/data-sdk/src/model/DeviceType.d.ts +0 -2
  161. package/dist/types/data-sdk/src/model/EventSortableColumn.d.ts +0 -1
  162. package/dist/types/data-sdk/src/model/EventType.d.ts +0 -2
  163. package/dist/types/data-sdk/src/model/HealthStatus.d.ts +0 -2
  164. package/dist/types/data-sdk/src/model/HexRgbColor.d.ts +0 -1
  165. package/dist/types/data-sdk/src/model/IAccount.d.ts +0 -7
  166. package/dist/types/data-sdk/src/model/IAccountTree.d.ts +0 -4
  167. package/dist/types/data-sdk/src/model/IAggregateRow.d.ts +0 -8
  168. package/dist/types/data-sdk/src/model/IAnalyticsModule.d.ts +0 -15
  169. package/dist/types/data-sdk/src/model/IAnalyticsModuleConfiguration.d.ts +0 -6
  170. package/dist/types/data-sdk/src/model/IAnnotation.d.ts +0 -13
  171. package/dist/types/data-sdk/src/model/IAnnotationAreaTypeMap.d.ts +0 -4
  172. package/dist/types/data-sdk/src/model/IAnnotationQuery.d.ts +0 -7
  173. package/dist/types/data-sdk/src/model/IAudioInfo.d.ts +0 -4
  174. package/dist/types/data-sdk/src/model/IBaseEntity.d.ts +0 -7
  175. package/dist/types/data-sdk/src/model/IBaseEvent.d.ts +0 -22
  176. package/dist/types/data-sdk/src/model/IBattery.d.ts +0 -6
  177. package/dist/types/data-sdk/src/model/IBitset.d.ts +0 -4
  178. package/dist/types/data-sdk/src/model/IBoundingBox.d.ts +0 -6
  179. package/dist/types/data-sdk/src/model/IChallenge.d.ts +0 -6
  180. package/dist/types/data-sdk/src/model/IColorRGBA.d.ts +0 -6
  181. package/dist/types/data-sdk/src/model/ICommandDeliveryEvent.d.ts +0 -3
  182. package/dist/types/data-sdk/src/model/ICommandEventBase.d.ts +0 -5
  183. package/dist/types/data-sdk/src/model/ICommandParameter.d.ts +0 -9
  184. package/dist/types/data-sdk/src/model/ICommandPropgress.d.ts +0 -5
  185. package/dist/types/data-sdk/src/model/ICommandRequest.d.ts +0 -9
  186. package/dist/types/data-sdk/src/model/ICommandRequestEvent.d.ts +0 -5
  187. package/dist/types/data-sdk/src/model/ICommandResponse.d.ts +0 -13
  188. package/dist/types/data-sdk/src/model/ICommandResponseEvent.d.ts +0 -3
  189. package/dist/types/data-sdk/src/model/IComment.d.ts +0 -7
  190. package/dist/types/data-sdk/src/model/IConfigurationMap.d.ts +0 -3
  191. package/dist/types/data-sdk/src/model/ICustomEvent.d.ts +0 -5
  192. package/dist/types/data-sdk/src/model/IDataAggregate.d.ts +0 -7
  193. package/dist/types/data-sdk/src/model/IDataPoint.d.ts +0 -7
  194. package/dist/types/data-sdk/src/model/IDatapointEvent.d.ts +0 -3
  195. package/dist/types/data-sdk/src/model/IDevice.d.ts +0 -31
  196. package/dist/types/data-sdk/src/model/IDeviceOfflineEvent.d.ts +0 -3
  197. package/dist/types/data-sdk/src/model/IDeviceOnlineEvent.d.ts +0 -3
  198. package/dist/types/data-sdk/src/model/IDeviceQuery.d.ts +0 -14
  199. package/dist/types/data-sdk/src/model/IDeviceReportedConfigurationState.d.ts +0 -3
  200. package/dist/types/data-sdk/src/model/IDeviceRosState.d.ts +0 -4
  201. package/dist/types/data-sdk/src/model/IDeviceScope.d.ts +0 -5
  202. package/dist/types/data-sdk/src/model/IDeviceState.d.ts +0 -16
  203. package/dist/types/data-sdk/src/model/IDictionary.d.ts +0 -3
  204. package/dist/types/data-sdk/src/model/IEvent.d.ts +0 -18
  205. package/dist/types/data-sdk/src/model/IEventFilter.d.ts +0 -19
  206. package/dist/types/data-sdk/src/model/IEventQuery.d.ts +0 -7
  207. package/dist/types/data-sdk/src/model/IEventSort.d.ts +0 -6
  208. package/dist/types/data-sdk/src/model/IEventTriggerGroup.d.ts +0 -13
  209. package/dist/types/data-sdk/src/model/IFieldParametersTypeMap.d.ts +0 -8
  210. package/dist/types/data-sdk/src/model/IFile.d.ts +0 -6
  211. package/dist/types/data-sdk/src/model/IFileInfo.d.ts +0 -6
  212. package/dist/types/data-sdk/src/model/IFilter.d.ts +0 -10
  213. package/dist/types/data-sdk/src/model/IFleet.d.ts +0 -8
  214. package/dist/types/data-sdk/src/model/IGoal.d.ts +0 -5
  215. package/dist/types/data-sdk/src/model/IGoalID.d.ts +0 -3
  216. package/dist/types/data-sdk/src/model/IH264VideoFrame.d.ts +0 -5
  217. package/dist/types/data-sdk/src/model/IHealth.d.ts +0 -4
  218. package/dist/types/data-sdk/src/model/IHwInfo.d.ts +0 -17
  219. package/dist/types/data-sdk/src/model/IImage.d.ts +0 -6
  220. package/dist/types/data-sdk/src/model/IImageAnnotation.d.ts +0 -9
  221. package/dist/types/data-sdk/src/model/IInterventionRequest.d.ts +0 -9
  222. package/dist/types/data-sdk/src/model/IInterventionResponse.d.ts +0 -10
  223. package/dist/types/data-sdk/src/model/IInterventionTypeMap.d.ts +0 -26
  224. package/dist/types/data-sdk/src/model/IJointState.d.ts +0 -8
  225. package/dist/types/data-sdk/src/model/IJoy.d.ts +0 -4
  226. package/dist/types/data-sdk/src/model/IKernelInfo.d.ts +0 -5
  227. package/dist/types/data-sdk/src/model/ILabel.d.ts +0 -4
  228. package/dist/types/data-sdk/src/model/ILabeledPolygon.d.ts +0 -4
  229. package/dist/types/data-sdk/src/model/ILabelingRequestData.d.ts +0 -9
  230. package/dist/types/data-sdk/src/model/ILabelingResponseData.d.ts +0 -4
  231. package/dist/types/data-sdk/src/model/ILocalization.d.ts +0 -14
  232. package/dist/types/data-sdk/src/model/ILocation.d.ts +0 -6
  233. package/dist/types/data-sdk/src/model/IMap.d.ts +0 -10
  234. package/dist/types/data-sdk/src/model/IMarker3D.d.ts +0 -27
  235. package/dist/types/data-sdk/src/model/IMarker3DArray.d.ts +0 -4
  236. package/dist/types/data-sdk/src/model/INetwork.d.ts +0 -4
  237. package/dist/types/data-sdk/src/model/INodeInfo.d.ts +0 -5
  238. package/dist/types/data-sdk/src/model/INumericAggregate.d.ts +0 -7
  239. package/dist/types/data-sdk/src/model/INumericSetAggregateMap.d.ts +0 -5
  240. package/dist/types/data-sdk/src/model/INumericSetEntry.d.ts +0 -5
  241. package/dist/types/data-sdk/src/model/IOdometry.d.ts +0 -7
  242. package/dist/types/data-sdk/src/model/IOnDemandPresenceStreamItemGroup.d.ts +0 -6
  243. package/dist/types/data-sdk/src/model/IOnDemandPresenceTimeRange.d.ts +0 -7
  244. package/dist/types/data-sdk/src/model/IOnDemandState.d.ts +0 -4
  245. package/dist/types/data-sdk/src/model/IOnDemandStreamPresence.d.ts +0 -5
  246. package/dist/types/data-sdk/src/model/IOnDemmandBuffer.d.ts +0 -6
  247. package/dist/types/data-sdk/src/model/IOnvifDevice.d.ts +0 -5
  248. package/dist/types/data-sdk/src/model/IOsInfo.d.ts +0 -6
  249. package/dist/types/data-sdk/src/model/IPath.d.ts +0 -6
  250. package/dist/types/data-sdk/src/model/IPhysicalInterventionMetadata.d.ts +0 -3
  251. package/dist/types/data-sdk/src/model/IPhysicalRequestData.d.ts +0 -8
  252. package/dist/types/data-sdk/src/model/IPhysicalResponsetData.d.ts +0 -3
  253. package/dist/types/data-sdk/src/model/IPointCloud.d.ts +0 -6
  254. package/dist/types/data-sdk/src/model/IPortForwardingSessionRecord.d.ts +0 -3
  255. package/dist/types/data-sdk/src/model/IPoseWithCovariance.d.ts +0 -5
  256. package/dist/types/data-sdk/src/model/IQuaternion.d.ts +0 -6
  257. package/dist/types/data-sdk/src/model/IQuery.d.ts +0 -9
  258. package/dist/types/data-sdk/src/model/IRole.d.ts +0 -9
  259. package/dist/types/data-sdk/src/model/IRosTopic.d.ts +0 -4
  260. package/dist/types/data-sdk/src/model/IRtcPointCloud.d.ts +0 -5
  261. package/dist/types/data-sdk/src/model/IRtcSessionRecord.d.ts +0 -9
  262. package/dist/types/data-sdk/src/model/IScopeFilter.d.ts +0 -6
  263. package/dist/types/data-sdk/src/model/ISelectionRequestData.d.ts +0 -6
  264. package/dist/types/data-sdk/src/model/ISelectionResponseData.d.ts +0 -3
  265. package/dist/types/data-sdk/src/model/IShare.d.ts +0 -16
  266. package/dist/types/data-sdk/src/model/ISheetParameters.d.ts +0 -5
  267. package/dist/types/data-sdk/src/model/ISpreadsheetIdRange.d.ts +0 -4
  268. package/dist/types/data-sdk/src/model/ISqlColumn.d.ts +0 -6
  269. package/dist/types/data-sdk/src/model/ISqlQuery.d.ts +0 -21
  270. package/dist/types/data-sdk/src/model/ISqlResult.d.ts +0 -12
  271. package/dist/types/data-sdk/src/model/ISqlRow.d.ts +0 -5
  272. package/dist/types/data-sdk/src/model/IStatefulEvent.d.ts +0 -5
  273. package/dist/types/data-sdk/src/model/IStream.d.ts +0 -18
  274. package/dist/types/data-sdk/src/model/IStreamAggregateData.d.ts +0 -11
  275. package/dist/types/data-sdk/src/model/IStreamAggregateTypeMap.d.ts +0 -10
  276. package/dist/types/data-sdk/src/model/IStreamColumn.d.ts +0 -7
  277. package/dist/types/data-sdk/src/model/IStreamCurrentValue.d.ts +0 -13
  278. package/dist/types/data-sdk/src/model/IStreamData.d.ts +0 -11
  279. package/dist/types/data-sdk/src/model/IStreamTypeMap.d.ts +0 -32
  280. package/dist/types/data-sdk/src/model/ISystemEvent.d.ts +0 -3
  281. package/dist/types/data-sdk/src/model/ITagParameters.d.ts +0 -3
  282. package/dist/types/data-sdk/src/model/ITagSets.d.ts +0 -3
  283. package/dist/types/data-sdk/src/model/ITaggedEntity.d.ts +0 -5
  284. package/dist/types/data-sdk/src/model/ITaggedUsers.d.ts +0 -4
  285. package/dist/types/data-sdk/src/model/ITags.d.ts +0 -3
  286. package/dist/types/data-sdk/src/model/ITaskReportColumn.d.ts +0 -7
  287. package/dist/types/data-sdk/src/model/ITaskSummary.d.ts +0 -14
  288. package/dist/types/data-sdk/src/model/ITeleopRequestData.d.ts +0 -3
  289. package/dist/types/data-sdk/src/model/ITeleopResponseData.d.ts +0 -4
  290. package/dist/types/data-sdk/src/model/ITeleopSessionRecord.d.ts +0 -3
  291. package/dist/types/data-sdk/src/model/ITransform.d.ts +0 -6
  292. package/dist/types/data-sdk/src/model/ITransformNode.d.ts +0 -7
  293. package/dist/types/data-sdk/src/model/ITriggeredEvent.d.ts +0 -11
  294. package/dist/types/data-sdk/src/model/ITwist.d.ts +0 -5
  295. package/dist/types/data-sdk/src/model/IUser.d.ts +0 -29
  296. package/dist/types/data-sdk/src/model/IUserParameters.d.ts +0 -4
  297. package/dist/types/data-sdk/src/model/IUserScope.d.ts +0 -15
  298. package/dist/types/data-sdk/src/model/IVector2.d.ts +0 -4
  299. package/dist/types/data-sdk/src/model/IVector3.d.ts +0 -5
  300. package/dist/types/data-sdk/src/model/IVideo.d.ts +0 -7
  301. package/dist/types/data-sdk/src/model/IVideoDevice.d.ts +0 -4
  302. package/dist/types/data-sdk/src/model/IView.d.ts +0 -15
  303. package/dist/types/data-sdk/src/model/IdeviceFollower.d.ts +0 -4
  304. package/dist/types/data-sdk/src/model/InetworkInfo.d.ts +0 -4
  305. package/dist/types/data-sdk/src/model/InterventionType.d.ts +0 -2
  306. package/dist/types/data-sdk/src/model/IsoDate.d.ts +0 -1
  307. package/dist/types/data-sdk/src/model/JsonSchema.d.ts +0 -39
  308. package/dist/types/data-sdk/src/model/Marker3DAction.d.ts +0 -2
  309. package/dist/types/data-sdk/src/model/Marker3DType.d.ts +0 -2
  310. package/dist/types/data-sdk/src/model/OnDemandBufferType.d.ts +0 -2
  311. package/dist/types/data-sdk/src/model/Policies.d.ts +0 -35
  312. package/dist/types/data-sdk/src/model/RequiredKeys.d.ts +0 -3
  313. package/dist/types/data-sdk/src/model/Resource.d.ts +0 -2
  314. package/dist/types/data-sdk/src/model/SessionType.d.ts +0 -26
  315. package/dist/types/data-sdk/src/model/Severity.d.ts +0 -2
  316. package/dist/types/data-sdk/src/model/SortOrder.d.ts +0 -1
  317. package/dist/types/data-sdk/src/model/StreamType.d.ts +0 -2
  318. package/dist/types/data-sdk/src/model/TelemetryResult.d.ts +0 -9
  319. package/dist/types/data-sdk/src/model/Timestamp.d.ts +0 -1
  320. package/dist/types/data-sdk/src/model/Uuid.d.ts +0 -1
  321. package/dist/types/data-sdk/src/model/VideoMimeType.d.ts +0 -2
  322. package/dist/types/data-sdk/src/model/accessLevels.d.ts +0 -1
  323. package/dist/types/data-sdk/src/model/aggregateLevels.d.ts +0 -2
  324. package/dist/types/data-sdk/src/model/aggregateTypes.d.ts +0 -1
  325. package/dist/types/data-sdk/src/model/analyticsAggregteTypes.d.ts +0 -1
  326. package/dist/types/data-sdk/src/model/analyticsChartTypes.d.ts +0 -1
  327. package/dist/types/data-sdk/src/model/annotationTypes.d.ts +0 -1
  328. package/dist/types/data-sdk/src/model/cognitoRegions.d.ts +0 -1
  329. package/dist/types/data-sdk/src/model/deviceTypes.d.ts +0 -1
  330. package/dist/types/data-sdk/src/model/eventTypes.d.ts +0 -1
  331. package/dist/types/data-sdk/src/model/healthStatuses.d.ts +0 -1
  332. package/dist/types/data-sdk/src/model/interventionTypes.d.ts +0 -1
  333. package/dist/types/data-sdk/src/model/marker3DActions.d.ts +0 -1
  334. package/dist/types/data-sdk/src/model/marker3DTypes.d.ts +0 -1
  335. package/dist/types/data-sdk/src/model/onDemandBufferTypes.d.ts +0 -1
  336. package/dist/types/data-sdk/src/model/resources.d.ts +0 -1
  337. package/dist/types/data-sdk/src/model/severities.d.ts +0 -1
  338. package/dist/types/data-sdk/src/model/videoMimeTypes.d.ts +0 -1
  339. package/dist/types/data-sdk/src/stores/AuthenticationErrors.d.ts +0 -9
  340. package/dist/types/data-sdk/src/stores/AuthenticationResult.d.ts +0 -15
  341. package/dist/types/data-sdk/src/stores/AuthenticationStore.d.ts +0 -70
  342. package/dist/types/data-sdk/src/stores/IAuthentication.d.ts +0 -6
  343. package/dist/types/data-sdk/src/stores/IAuthenticationStore.d.ts +0 -45
  344. package/dist/types/data-sdk/src/stores/ICheckSsoResult.d.ts +0 -5
  345. package/dist/types/data-sdk/src/stores/IConfirmForgotPasswordRequest.d.ts +0 -5
  346. package/dist/types/data-sdk/src/stores/IRespondToNewPasswordRequiredChallengeRequest.d.ts +0 -5
  347. package/dist/types/data-sdk/src/utils/RtcClientPool.d.ts +0 -25
  348. package/dist/types/data-sdk/src/utils/aggregateFunctionUtils.d.ts +0 -38
  349. package/dist/types/data-sdk/src/utils/getCurrentModuleContext.d.ts +0 -1
  350. package/dist/types/data-sdk/src/utils/isRtcPeer.d.ts +0 -2
  351. package/dist/types/data-sdk/src/utils/numericAggregateUtils.d.ts +0 -26
  352. package/dist/types/data-sdk/src/utils/serializeHash.d.ts +0 -2
  353. package/dist/types/data-sdk/src/utils/stringToArrayBuffer.d.ts +0 -1
  354. package/dist/types/data-sdk/src/utils/timeout.d.ts +0 -1
@@ -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,3 +0,0 @@
1
- import { ITransform } from "../../model/ITransform";
2
- export interface IPose extends ITransform {
3
- }
@@ -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
- }
@@ -1,6 +0,0 @@
1
- import { IPoseWithCovariance } from "../../model/IPoseWithCovariance";
2
- import { ITransform } from "../../model/ITransform";
3
- export interface IUniverseOdometry extends IPoseWithCovariance {
4
- worldToLocal?: ITransform;
5
- trail?: [number, ITransform][];
6
- }
@@ -1,3 +0,0 @@
1
- import { IPath } from "../../model/IPath";
2
- export interface IUniversePath extends IPath {
3
- }
@@ -1,6 +0,0 @@
1
- import { ITransform } from "../../model/ITransform";
2
- import { IPcd } from "./IPcd";
3
- export interface IUniversePointCloud {
4
- pcd?: IPcd;
5
- worldToLocal?: ITransform;
6
- }
@@ -1,47 +0,0 @@
1
- import { IRtcSendConfiguration, IRtcStreamMessage, RtcClient, IRtcPeer } from "@formant/realtime-sdk";
2
- import { IPingInfo } from "@formant/realtime-sdk/dist/rtc-client/models/IPingInfo";
3
- import { DataChannel } from "../DataChannel";
4
- import { EventEmitter } from "eventemitter3";
5
- import { Manipulator } from "../Manipulator";
6
- import { BinaryRequestDataChannel, TextRequestDataChannel } from "../RequestDataChannel";
7
- import { IRealtimeSubscriber } from "./IRealtimeSubscriber";
8
- import { ICustomDataChannelCreator } from "./ICustomDataChannelCreator";
9
- import { ConfigurationDocument, RealtimeListener, RealtimeAudioStream, RealtimeVideoStream, RealtimeDataStream } from "./device.types";
10
- import { TelemetryResult } from "../model/TelemetryResult";
11
- import { IEventQuery } from "../model/IEventQuery";
12
- import { IEvent } from "../model/IEvent";
13
- export declare abstract class BaseDevice extends EventEmitter implements IRealtimeSubscriber, ICustomDataChannelCreator {
14
- rtcClient: RtcClient | undefined;
15
- remoteDevicePeerId: string | null;
16
- protected realtimeListeners: RealtimeListener[];
17
- protected connectionMonitorInterval: ReturnType<typeof setInterval> | undefined;
18
- abstract getConfiguration(): Promise<ConfigurationDocument>;
19
- abstract startRealtimeConnection(sessionType?: number): Promise<void>;
20
- abstract getRemotePeer(): Promise<IRtcPeer>;
21
- abstract getTelemetry(streamNameOrStreamNames: string | string[], start: Date, end: Date, tags?: {
22
- [key in string]: string[];
23
- }, limit?: number, offset?: number, latestOnly?: boolean): Promise<TelemetryResult[]>;
24
- abstract queryEvents(query: IEventQuery): Promise<IEvent[]>;
25
- protected handleMessage: (peerId: string, message: any) => void;
26
- protected stopConnectionMonitoring(): void;
27
- protected assertNotCancelled(cancelled: boolean): void;
28
- getRealtimeStatus(): "disconnected" | "connecting" | "connected";
29
- getRealtimePingInfo(): IPingInfo | undefined;
30
- getRealtimePing(): number | undefined;
31
- addRealtimeListener(listener: RealtimeListener): void;
32
- removeRealtimeListener(listener: RealtimeListener): void;
33
- getRealtimeManipulators(): Promise<Manipulator[]>;
34
- getRealtimeVideoStreams(): Promise<RealtimeVideoStream[]>;
35
- createCustomRequestDataChannel(channelName: string, timeout?: number): TextRequestDataChannel;
36
- createCustomBinaryRequestDataChannel(channelName: string, timeout?: number): BinaryRequestDataChannel;
37
- startListeningToRealtimeVideo(stream: RealtimeVideoStream): Promise<void>;
38
- stopListeningToRealtimeVideo(stream: RealtimeVideoStream): Promise<void>;
39
- startListeningToRealtimeDataStream(stream: RealtimeDataStream): Promise<void>;
40
- stopListeningToRealtimeDataStream(stream: RealtimeDataStream): Promise<void>;
41
- enableRealtimeTelemetryPriorityIngestion(streamName: string): Promise<void>;
42
- disableRealtimeTelemetryPriorityIngestion(streamName: string): Promise<void>;
43
- changeStreamAudioType(streamName: string, newFormat: "wav" | "opus"): Promise<void>;
44
- createCustomDataChannel(channelName: string, rtcConfig?: RTCDataChannelInit): Promise<DataChannel>;
45
- sendRealtimeMessage(message: IRtcStreamMessage, config?: IRtcSendConfiguration): Promise<void>;
46
- getRealtimeAudioStreams(): Promise<RealtimeAudioStream[]>;
47
- }
@@ -1,88 +0,0 @@
1
- import { IRtcPeer } from "@formant/realtime-sdk";
2
- import { createDevice } from "../api/createDevice";
3
- import { disableDevice } from "../api/disableDevice";
4
- import { getDevicesData } from "../api/getDevicesData";
5
- import { patchDevice } from "../api/patchDevice";
6
- import { queryDevicesData } from "../api/queryDevicesData";
7
- import { CaptureStream } from "../CaptureStream";
8
- import { AggregateLevel } from "../model/AggregateLevel";
9
- import { EventType } from "../model/EventType";
10
- import { IEvent } from "../model/IEvent";
11
- import { IEventQuery } from "../model/IEventQuery";
12
- import { IInterventionResponse } from "../model/IInterventionResponse";
13
- import { IInterventionTypeMap } from "../model/IInterventionTypeMap";
14
- import { InterventionType } from "../model/InterventionType";
15
- import { IShare } from "../model/IShare";
16
- import { ITags } from "../model/ITags";
17
- import { SessionType } from "../model/SessionType";
18
- import { TelemetryResult } from "../model/TelemetryResult";
19
- import { BaseDevice } from "./BaseDevice";
20
- import { ConfigurationDocument, ICommandTemplate, IStartRealtimeConnectionOptions, TelemetryStream } from "./device.types";
21
- export declare class Device extends BaseDevice {
22
- id: string;
23
- name: string;
24
- private organizationId;
25
- tags?: ITags | undefined;
26
- constructor(id: string, name: string, organizationId: string, tags?: ITags | undefined);
27
- static createDevice: typeof createDevice;
28
- static patchDevice: typeof patchDevice;
29
- static getDevicesData: typeof getDevicesData;
30
- static queryDevicesData: typeof queryDevicesData;
31
- static disableDevice: typeof disableDevice;
32
- getLatestTelemetry(): Promise<any>;
33
- /**
34
- * Asynchronously retrieves the configuration document for a device.
35
- *
36
- * @param {boolean} getDesiredConfigurationVersion - Whether to retrieve the desired configuration version
37
- * @returns {Promise<ConfigurationDocument>} A promise that resolves to the configuration document
38
- * @throws {Error} Throws an error if the device has no configuration or has never been turned on
39
- */
40
- getConfiguration(getDesiredConfigurationVersion?: boolean): Promise<ConfigurationDocument>;
41
- /**
42
- * Asynchronously retrieves the device's agent version string
43
- *
44
- * @returns {Promise<string | undefined | null>} A promise that resolves to the agent version
45
- * @throws {Error} Throws an error if the device info cannot be fetched
46
- */
47
- getAgentVersion(): Promise<string | undefined | null>;
48
- getFileUrl(fileId: string): Promise<string[]>;
49
- /**
50
- * Starts a real-time connection with the remote device using WebRTC.
51
- * @param {number} [options] - Optional session type to be used for the connection.
52
- * @throws `Error` If the connection could not be established or if a connection already exists.
53
- * @returns {void}
54
- */
55
- startRealtimeConnection(options?: SessionType | IStartRealtimeConnectionOptions): Promise<void>;
56
- private getRemoteDevicePeerId;
57
- private initConnectionMonitoring;
58
- getRemotePeer(): Promise<IRtcPeer>;
59
- stopRealtimeConnection(): Promise<void>;
60
- isInRealtimeSession(): Promise<boolean>;
61
- getAvailableCommands(includeDisabled?: boolean): Promise<ICommandTemplate[]>;
62
- sendCommand(name: string, data?: string, time?: Date, metadata?: {}, id?: string): Promise<Response>;
63
- getCommand(id: string): Promise<Response>;
64
- createCaptureStream(streamName: string): Promise<CaptureStream>;
65
- getTelemetry(streamNameOrStreamNames: string | string[], start: Date, end: Date, tags?: {
66
- [key in string]: string[];
67
- }, limit?: number, offset?: number, latestOnly?: boolean): Promise<TelemetryResult[]>;
68
- queryEvents(query: IEventQuery): Promise<IEvent[]>;
69
- getTelemetryStreams(): Promise<TelemetryStream[]>;
70
- createInterventionRequest<T extends InterventionType>(message: string, interventionType: InterventionType, interventionRequest: IInterventionTypeMap[T]["request"], tags?: {
71
- [key in string]: string[];
72
- }): Promise<(id: string) => IInterventionTypeMap[T]["response"]>;
73
- addInterventionResponse<T extends InterventionType>(interventionId: string, interventionType: InterventionType, data: IInterventionTypeMap[T]["response"]): Promise<IInterventionResponse>;
74
- getAnnotationCount(query: IEventQuery, tagKey: string): Promise<{
75
- [key: string]: number;
76
- }>;
77
- getAnnotationCountByIntervals(query: IEventQuery, tagKey: string, aggregate: AggregateLevel): Promise<{
78
- date: string;
79
- annotations: {
80
- [key: string]: number;
81
- };
82
- }[]>;
83
- eventsCounter(eventTypes: EventType[], timeFrame: AggregateLevel, range: number, time: number, query?: IEventQuery): Promise<{
84
- date: string;
85
- events: IEvent[];
86
- }[]>;
87
- createShareLink(share: IShare, view: string): Promise<string | null>;
88
- }
@@ -1,4 +0,0 @@
1
- import { DataChannel } from "../DataChannel";
2
- export interface ICustomDataChannelCreator {
3
- createCustomDataChannel(channelName: string, rtcConfig?: RTCDataChannelInit): Promise<DataChannel>;
4
- }
@@ -1,7 +0,0 @@
1
- import { RealtimeDataStream, RealtimeListener } from "./device.types";
2
- export interface IRealtimeSubscriber {
3
- addRealtimeListener(listener: RealtimeListener): void;
4
- removeRealtimeListener(listener: RealtimeListener): void;
5
- startListeningToRealtimeDataStream(stream: RealtimeDataStream): void;
6
- stopListeningToRealtimeDataStream(stream: RealtimeDataStream): void;
7
- }
@@ -1,29 +0,0 @@
1
- export interface IView {
2
- id: string;
3
- tags: {
4
- [key: string]: string;
5
- };
6
- organizationId: string;
7
- name: string;
8
- description?: string | null;
9
- url?: string | null;
10
- showOnSingleDevice?: boolean;
11
- showOnMultiDevice?: boolean;
12
- showOnTeleop?: boolean;
13
- showOnAnalytics?: boolean;
14
- showTimeline?: boolean;
15
- localModeEnabled?: boolean;
16
- filter: IFilter | null;
17
- deviceFilter: IFilter | null;
18
- groupFilter: IFilter | null;
19
- layoutType?: string | null;
20
- index: number;
21
- }
22
- export interface IFilter {
23
- deviceIds?: string[];
24
- names?: string[];
25
- types?: any[];
26
- tags?: any;
27
- notTags?: any;
28
- notNames?: string[];
29
- }
@@ -1,35 +0,0 @@
1
- import { IRtcPeer } from "@formant/realtime-sdk";
2
- import { IStreamCurrentValue } from "../model/IStreamCurrentValue";
3
- import { ConfigurationDocument } from "./device.types";
4
- import { BaseDevice } from "./BaseDevice";
5
- import { TelemetryResult } from "../model/TelemetryResult";
6
- import { IEventQuery } from "../model/IEventQuery";
7
- import { IEvent } from "../model/IEvent";
8
- import { IView } from "./IView";
9
- export declare class PeerDevice extends BaseDevice {
10
- peerUrl: string;
11
- id: string;
12
- private telemetryStreamActive;
13
- private streamTelemetry;
14
- constructor(peerUrl: string);
15
- getLatestTelemetry(): Promise<IStreamCurrentValue[]>;
16
- getTelemetry(streamNameOrStreamNames: string | string[], start: Date, end: Date, tags?: {
17
- [key in string]: string[];
18
- }, limit?: number, offset?: number, latestOnly?: boolean): Promise<TelemetryResult[]>;
19
- queryEvents(query: IEventQuery): Promise<IEvent[]>;
20
- private checkKeysAndThrow;
21
- private getPointPayload;
22
- private subscribeToTelemetry;
23
- private handleXHRError;
24
- getDeviceId(): Promise<string>;
25
- getConfiguration(): Promise<ConfigurationDocument>;
26
- getViews(): Promise<IView[]>;
27
- startRealtimeConnection(sessionType?: number): Promise<void>;
28
- private initConnectionMonitoring;
29
- getRemotePeer(): Promise<IRtcPeer>;
30
- stopRealtimeConnection(): Promise<void>;
31
- getCommandMetadata(): Promise<{
32
- commands: any[];
33
- }>;
34
- sendCommand(name: string, data?: string, time?: Date, metadata?: {}): Promise<Response>;
35
- }
@@ -1,115 +0,0 @@
1
- import { IRtcStreamPayload, RtcStreamType } from "@formant/realtime-sdk";
2
- import { IDictionary } from "../model/IDictionary";
3
- import { IFilter } from "../model/IFilter";
4
- import { IScopeFilter } from "../model/IScopeFilter";
5
- import { ITaggedEntity } from "../model/ITaggedEntity";
6
- import { ITags } from "../model/ITags";
7
- import { SessionType } from "../model/SessionType";
8
- import { Uuid } from "../model/Uuid";
9
- export interface ConfigurationDocument {
10
- tags: ITags;
11
- urdfFiles: string[];
12
- telemetry?: {
13
- streams?: {
14
- name: string;
15
- disabled?: boolean;
16
- onDemand?: boolean;
17
- }[];
18
- };
19
- teleop?: {
20
- customStreams?: {
21
- name: string;
22
- rtcStreamType: RtcStreamType;
23
- }[];
24
- hardwareStreams?: {
25
- name: string;
26
- rtcStreamType: RtcStreamType;
27
- }[];
28
- rosStreams?: {
29
- rtcStreamType: RtcStreamType;
30
- topicName: string;
31
- topicType: string;
32
- }[];
33
- };
34
- adapters?: IAdapterConfiguration[];
35
- application?: {
36
- configurationMap: {
37
- [key: string]: string;
38
- };
39
- };
40
- }
41
- export interface ICommandDeliverySettings {
42
- ttlMs?: number;
43
- retryable?: boolean;
44
- }
45
- export interface ICommandTemplate extends ITaggedEntity {
46
- organizationId?: Uuid;
47
- name: string;
48
- command: string;
49
- description?: string;
50
- parameterEnabled: boolean;
51
- allowParameterOverride?: boolean;
52
- parameterValue?: string | null;
53
- parameterMeta?: IDictionary;
54
- deviceScope?: IScopeFilter;
55
- enabled?: boolean;
56
- deviceFilter: IFilter | null;
57
- lambdaUri?: string | null;
58
- deliverySettings?: ICommandDeliverySettings;
59
- schema?: string | null;
60
- }
61
- export interface Command {
62
- id: string;
63
- name: string;
64
- command: string;
65
- description: string;
66
- parameterEnabled: true;
67
- parameterValue: string | null;
68
- tags: ITags;
69
- parameterMeta?: {
70
- topic?: string;
71
- };
72
- }
73
- export interface IJointState {
74
- name: string[];
75
- position: number[];
76
- velocity?: number[];
77
- effort?: number[];
78
- }
79
- export interface TelemetryStream {
80
- name: string;
81
- onDemand: boolean;
82
- }
83
- export interface IAdapterConfiguration {
84
- id: Uuid;
85
- name: string;
86
- fileId: Uuid;
87
- execCommand: string;
88
- configuration?: string;
89
- }
90
- export type RealtimeMessage = {
91
- header: {
92
- created: number;
93
- stream: {
94
- entityId: string;
95
- streamName: string;
96
- streamType: RtcStreamType;
97
- };
98
- };
99
- payload: IRtcStreamPayload;
100
- };
101
- export type RealtimeListener = (peerId: string, message: RealtimeMessage) => void;
102
- export type RealtimeAudioStream = {
103
- name: string;
104
- };
105
- export type RealtimeVideoStream = {
106
- name: string;
107
- };
108
- export type RealtimeDataStream = {
109
- name: string;
110
- };
111
- export interface IStartRealtimeConnectionOptions {
112
- sessionType?: SessionType;
113
- deadlineMs?: number;
114
- maxConnectRetries?: number;
115
- }
@@ -1 +0,0 @@
1
- export {};