@formant/data-sdk 1.63.0 → 1.64.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (340) hide show
  1. package/CHANGELOG.md +510 -0
  2. package/dist/data-sdk.cjs.js +1 -1
  3. package/dist/data-sdk.cjs.js.map +1 -1
  4. package/dist/data-sdk.es.js +6 -0
  5. package/dist/data-sdk.es.js.map +1 -1
  6. package/dist/data-sdk.es6.js +6 -0
  7. package/dist/data-sdk.umd.js +1 -1
  8. package/package.json +1 -1
  9. package/dist/types/common/browser.d.ts +0 -2
  10. package/dist/types/common/defined.d.ts +0 -3
  11. package/dist/types/common/delay.d.ts +0 -1
  12. package/dist/types/common/duration.d.ts +0 -10
  13. package/dist/types/common/fork.d.ts +0 -5
  14. package/dist/types/data-sdk/src/Account.d.ts +0 -10
  15. package/dist/types/data-sdk/src/App.d.ts +0 -47
  16. package/dist/types/data-sdk/src/AppRtcClientPools.d.ts +0 -20
  17. package/dist/types/data-sdk/src/AudioPlayer.d.ts +0 -23
  18. package/dist/types/data-sdk/src/Authentication.d.ts +0 -2
  19. package/dist/types/data-sdk/src/CaptureStream.d.ts +0 -18
  20. package/dist/types/data-sdk/src/DataChannel.d.ts +0 -30
  21. package/dist/types/data-sdk/src/EventTriggerGroup.d.ts +0 -0
  22. package/dist/types/data-sdk/src/Fleet.d.ts +0 -88
  23. package/dist/types/data-sdk/src/KeyValue.d.ts +0 -8
  24. package/dist/types/data-sdk/src/Manipulator.d.ts +0 -21
  25. package/dist/types/data-sdk/src/RequestDataChannel.d.ts +0 -29
  26. package/dist/types/data-sdk/src/Role.d.ts +0 -8
  27. package/dist/types/data-sdk/src/User.d.ts +0 -8
  28. package/dist/types/data-sdk/src/api/addDeviceToFleet.d.ts +0 -1
  29. package/dist/types/data-sdk/src/api/aggregateTelemetry.d.ts +0 -3
  30. package/dist/types/data-sdk/src/api/createDevice.d.ts +0 -2
  31. package/dist/types/data-sdk/src/api/createFleet.d.ts +0 -2
  32. package/dist/types/data-sdk/src/api/createShareLink.d.ts +0 -22
  33. package/dist/types/data-sdk/src/api/deleteFleet.d.ts +0 -1
  34. package/dist/types/data-sdk/src/api/disableDevice.d.ts +0 -2
  35. package/dist/types/data-sdk/src/api/eventsCounter.d.ts +0 -7
  36. package/dist/types/data-sdk/src/api/getAllEventTriggerGroup.d.ts +0 -2
  37. package/dist/types/data-sdk/src/api/getAnalyticsModules.d.ts +0 -2
  38. package/dist/types/data-sdk/src/api/getAnalyticsRows.d.ts +0 -8
  39. package/dist/types/data-sdk/src/api/getAnalyticsStreams.d.ts +0 -18
  40. package/dist/types/data-sdk/src/api/getAnnotationCount.d.ts +0 -4
  41. package/dist/types/data-sdk/src/api/getAnnotationCountByIntervals.d.ts +0 -8
  42. package/dist/types/data-sdk/src/api/getCurrentGroup.d.ts +0 -2
  43. package/dist/types/data-sdk/src/api/getDevice.d.ts +0 -2
  44. package/dist/types/data-sdk/src/api/getDevices.d.ts +0 -2
  45. package/dist/types/data-sdk/src/api/getDevicesData.d.ts +0 -2
  46. package/dist/types/data-sdk/src/api/getEvent.d.ts +0 -2
  47. package/dist/types/data-sdk/src/api/getEventTriggerGroup.d.ts +0 -2
  48. package/dist/types/data-sdk/src/api/getFileUrl.d.ts +0 -1
  49. package/dist/types/data-sdk/src/api/getFleet.d.ts +0 -2
  50. package/dist/types/data-sdk/src/api/getFleetDevices.d.ts +0 -1
  51. package/dist/types/data-sdk/src/api/getInterventions.d.ts +0 -2
  52. package/dist/types/data-sdk/src/api/getLatestTelemetry.d.ts +0 -3
  53. package/dist/types/data-sdk/src/api/getModuleConfiguration.d.ts +0 -1
  54. package/dist/types/data-sdk/src/api/getOnlineDevices.d.ts +0 -2
  55. package/dist/types/data-sdk/src/api/getPeers.d.ts +0 -2
  56. package/dist/types/data-sdk/src/api/getRealtimeDevices.d.ts +0 -2
  57. package/dist/types/data-sdk/src/api/getRealtimeSessions.d.ts +0 -3
  58. package/dist/types/data-sdk/src/api/getStreams.d.ts +0 -2
  59. package/dist/types/data-sdk/src/api/getTaskReportRows.d.ts +0 -26
  60. package/dist/types/data-sdk/src/api/getTaskreportTables.d.ts +0 -23
  61. package/dist/types/data-sdk/src/api/getTelemetry.d.ts +0 -4
  62. package/dist/types/data-sdk/src/api/getViews.d.ts +0 -2
  63. package/dist/types/data-sdk/src/api/listFleets.d.ts +0 -2
  64. package/dist/types/data-sdk/src/api/patchDevice.d.ts +0 -2
  65. package/dist/types/data-sdk/src/api/patchEventTriggerGroup.d.ts +0 -2
  66. package/dist/types/data-sdk/src/api/patchFleet.d.ts +0 -2
  67. package/dist/types/data-sdk/src/api/patchStreams.d.ts +0 -2
  68. package/dist/types/data-sdk/src/api/patchView.d.ts +0 -2
  69. package/dist/types/data-sdk/src/api/queryAnalytics.d.ts +0 -43
  70. package/dist/types/data-sdk/src/api/queryDevices.d.ts +0 -3
  71. package/dist/types/data-sdk/src/api/queryDevicesData.d.ts +0 -3
  72. package/dist/types/data-sdk/src/api/queryEvents.d.ts +0 -3
  73. package/dist/types/data-sdk/src/api/queryTelemetry.d.ts +0 -3
  74. package/dist/types/data-sdk/src/cache/StoreCache.d.ts +0 -19
  75. package/dist/types/data-sdk/src/cache/filterDataByTime.d.ts +0 -2
  76. package/dist/types/data-sdk/src/cache/filterDataByType.d.ts +0 -3
  77. package/dist/types/data-sdk/src/cache/queryStore.d.ts +0 -11
  78. package/dist/types/data-sdk/src/config/index.d.ts +0 -1
  79. package/dist/types/data-sdk/src/config/whichFormantApiUrl.d.ts +0 -6
  80. package/dist/types/data-sdk/src/connector/common/Color.d.ts +0 -13
  81. package/dist/types/data-sdk/src/connector/common/Timeout.d.ts +0 -1
  82. package/dist/types/data-sdk/src/connector/common/defined.d.ts +0 -3
  83. package/dist/types/data-sdk/src/connector/common/delay.d.ts +0 -1
  84. package/dist/types/data-sdk/src/connector/common/duration.d.ts +0 -10
  85. package/dist/types/data-sdk/src/connector/common/equals.d.ts +0 -1
  86. package/dist/types/data-sdk/src/connector/common/filterDataByTime.d.ts +0 -2
  87. package/dist/types/data-sdk/src/connector/common/filterDataByType.d.ts +0 -3
  88. package/dist/types/data-sdk/src/connector/common/flattenPoints.d.ts +0 -8
  89. package/dist/types/data-sdk/src/connector/common/fork.d.ts +0 -5
  90. package/dist/types/data-sdk/src/connector/common/range.d.ts +0 -1
  91. package/dist/types/data-sdk/src/connector/common/throttle.d.ts +0 -1
  92. package/dist/types/data-sdk/src/connector/common/toJsonLines.d.ts +0 -1
  93. package/dist/types/data-sdk/src/connector/data/BaseUniverseDataConnector.d.ts +0 -68
  94. package/dist/types/data-sdk/src/connector/data/DataFetchWorker.d.ts +0 -1
  95. package/dist/types/data-sdk/src/connector/data/LiveUniverseData.d.ts +0 -36
  96. package/dist/types/data-sdk/src/connector/data/PcdLoaderWorker.d.ts +0 -1
  97. package/dist/types/data-sdk/src/connector/data/StoreCache.d.ts +0 -17
  98. package/dist/types/data-sdk/src/connector/data/TelemetryUniverseData.d.ts +0 -44
  99. package/dist/types/data-sdk/src/connector/data/pcd.d.ts +0 -23
  100. package/dist/types/data-sdk/src/connector/data/queryStore.d.ts +0 -12
  101. package/dist/types/data-sdk/src/connector/data/range.d.ts +0 -1
  102. package/dist/types/data-sdk/src/connector/model/IPcd.d.ts +0 -20
  103. package/dist/types/data-sdk/src/connector/model/IPose.d.ts +0 -3
  104. package/dist/types/data-sdk/src/connector/model/IUniverseData.d.ts +0 -124
  105. package/dist/types/data-sdk/src/connector/model/IUniverseGridMap.d.ts +0 -11
  106. package/dist/types/data-sdk/src/connector/model/IUniverseOdometry.d.ts +0 -6
  107. package/dist/types/data-sdk/src/connector/model/IUniversePath.d.ts +0 -3
  108. package/dist/types/data-sdk/src/connector/model/IUniversePointCloud.d.ts +0 -6
  109. package/dist/types/data-sdk/src/devices/BaseDevice.d.ts +0 -45
  110. package/dist/types/data-sdk/src/devices/Device.d.ts +0 -88
  111. package/dist/types/data-sdk/src/devices/ICustomDataChannelCreator.d.ts +0 -4
  112. package/dist/types/data-sdk/src/devices/IRealtimeSubscriber.d.ts +0 -7
  113. package/dist/types/data-sdk/src/devices/IView.d.ts +0 -29
  114. package/dist/types/data-sdk/src/devices/PeerDevice.d.ts +0 -35
  115. package/dist/types/data-sdk/src/devices/device.types.d.ts +0 -91
  116. package/dist/types/data-sdk/src/init.d.ts +0 -1
  117. package/dist/types/data-sdk/src/main.d.ts +0 -172
  118. package/dist/types/data-sdk/src/message-bus/bidirectional/getDate.d.ts +0 -1
  119. package/dist/types/data-sdk/src/message-bus/bidirectional/prompt.d.ts +0 -5
  120. package/dist/types/data-sdk/src/message-bus/listeners/EmbeddedAppMessage.d.ts +0 -54
  121. package/dist/types/data-sdk/src/message-bus/listeners/addAccessTokenRefreshListener.d.ts +0 -1
  122. package/dist/types/data-sdk/src/message-bus/listeners/addChannelDataListener.d.ts +0 -4
  123. package/dist/types/data-sdk/src/message-bus/listeners/addMenuListener.d.ts +0 -1
  124. package/dist/types/data-sdk/src/message-bus/listeners/addModuleConfigurationListener.d.ts +0 -2
  125. package/dist/types/data-sdk/src/message-bus/listeners/addModuleDataListener.d.ts +0 -29
  126. package/dist/types/data-sdk/src/message-bus/listeners/addOverviewDeviceListener.d.ts +0 -2
  127. package/dist/types/data-sdk/src/message-bus/listeners/addStreamLIstener.d.ts +0 -3
  128. package/dist/types/data-sdk/src/message-bus/senders/AppMessage.d.ts +0 -63
  129. package/dist/types/data-sdk/src/message-bus/senders/disableAnalyticsBottomBar.d.ts +0 -1
  130. package/dist/types/data-sdk/src/message-bus/senders/goToDevice.d.ts +0 -1
  131. package/dist/types/data-sdk/src/message-bus/senders/goToTime.d.ts +0 -1
  132. package/dist/types/data-sdk/src/message-bus/senders/refreshAuthToken.d.ts +0 -1
  133. package/dist/types/data-sdk/src/message-bus/senders/requestModuleData.d.ts +0 -1
  134. package/dist/types/data-sdk/src/message-bus/senders/sendAppMessage.d.ts +0 -2
  135. package/dist/types/data-sdk/src/message-bus/senders/sendChannelData.d.ts +0 -1
  136. package/dist/types/data-sdk/src/message-bus/senders/setModuleDateTimeRange.d.ts +0 -1
  137. package/dist/types/data-sdk/src/message-bus/senders/setupModuleMenus.d.ts +0 -3
  138. package/dist/types/data-sdk/src/message-bus/senders/showMessage.d.ts +0 -1
  139. package/dist/types/data-sdk/src/model/AccessLevel.d.ts +0 -5
  140. package/dist/types/data-sdk/src/model/AggregateLevel.d.ts +0 -1
  141. package/dist/types/data-sdk/src/model/AggregateType.d.ts +0 -2
  142. package/dist/types/data-sdk/src/model/AnalyticsAggregateType.d.ts +0 -2
  143. package/dist/types/data-sdk/src/model/AnalyticsChartType.d.ts +0 -2
  144. package/dist/types/data-sdk/src/model/AnnotationAreaType.d.ts +0 -2
  145. package/dist/types/data-sdk/src/model/AnnotationType.d.ts +0 -2
  146. package/dist/types/data-sdk/src/model/CognitoRegion.d.ts +0 -2
  147. package/dist/types/data-sdk/src/model/DeviceType.d.ts +0 -2
  148. package/dist/types/data-sdk/src/model/EventSortableColumn.d.ts +0 -1
  149. package/dist/types/data-sdk/src/model/EventType.d.ts +0 -2
  150. package/dist/types/data-sdk/src/model/HealthStatus.d.ts +0 -2
  151. package/dist/types/data-sdk/src/model/HexRgbColor.d.ts +0 -1
  152. package/dist/types/data-sdk/src/model/IAccount.d.ts +0 -7
  153. package/dist/types/data-sdk/src/model/IAccountTree.d.ts +0 -4
  154. package/dist/types/data-sdk/src/model/IAggregateRow.d.ts +0 -8
  155. package/dist/types/data-sdk/src/model/IAnalyticsModule.d.ts +0 -15
  156. package/dist/types/data-sdk/src/model/IAnalyticsModuleConfiguration.d.ts +0 -6
  157. package/dist/types/data-sdk/src/model/IAnnotation.d.ts +0 -13
  158. package/dist/types/data-sdk/src/model/IAnnotationAreaTypeMap.d.ts +0 -4
  159. package/dist/types/data-sdk/src/model/IAnnotationQuery.d.ts +0 -7
  160. package/dist/types/data-sdk/src/model/IAudioInfo.d.ts +0 -4
  161. package/dist/types/data-sdk/src/model/IBaseEntity.d.ts +0 -7
  162. package/dist/types/data-sdk/src/model/IBaseEvent.d.ts +0 -22
  163. package/dist/types/data-sdk/src/model/IBattery.d.ts +0 -6
  164. package/dist/types/data-sdk/src/model/IBitset.d.ts +0 -4
  165. package/dist/types/data-sdk/src/model/IBoundingBox.d.ts +0 -6
  166. package/dist/types/data-sdk/src/model/IChallenge.d.ts +0 -6
  167. package/dist/types/data-sdk/src/model/IColorRGBA.d.ts +0 -6
  168. package/dist/types/data-sdk/src/model/ICommandDeliveryEvent.d.ts +0 -3
  169. package/dist/types/data-sdk/src/model/ICommandEventBase.d.ts +0 -5
  170. package/dist/types/data-sdk/src/model/ICommandParameter.d.ts +0 -9
  171. package/dist/types/data-sdk/src/model/ICommandPropgress.d.ts +0 -5
  172. package/dist/types/data-sdk/src/model/ICommandRequest.d.ts +0 -9
  173. package/dist/types/data-sdk/src/model/ICommandRequestEvent.d.ts +0 -5
  174. package/dist/types/data-sdk/src/model/ICommandResponse.d.ts +0 -13
  175. package/dist/types/data-sdk/src/model/ICommandResponseEvent.d.ts +0 -3
  176. package/dist/types/data-sdk/src/model/IComment.d.ts +0 -7
  177. package/dist/types/data-sdk/src/model/IConfigurationMap.d.ts +0 -3
  178. package/dist/types/data-sdk/src/model/ICustomEvent.d.ts +0 -5
  179. package/dist/types/data-sdk/src/model/IDataAggregate.d.ts +0 -7
  180. package/dist/types/data-sdk/src/model/IDataPoint.d.ts +0 -7
  181. package/dist/types/data-sdk/src/model/IDatapointEvent.d.ts +0 -3
  182. package/dist/types/data-sdk/src/model/IDevice.d.ts +0 -31
  183. package/dist/types/data-sdk/src/model/IDeviceOfflineEvent.d.ts +0 -3
  184. package/dist/types/data-sdk/src/model/IDeviceOnlineEvent.d.ts +0 -3
  185. package/dist/types/data-sdk/src/model/IDeviceQuery.d.ts +0 -14
  186. package/dist/types/data-sdk/src/model/IDeviceReportedConfigurationState.d.ts +0 -3
  187. package/dist/types/data-sdk/src/model/IDeviceRosState.d.ts +0 -4
  188. package/dist/types/data-sdk/src/model/IDeviceScope.d.ts +0 -5
  189. package/dist/types/data-sdk/src/model/IDeviceState.d.ts +0 -16
  190. package/dist/types/data-sdk/src/model/IDictionary.d.ts +0 -3
  191. package/dist/types/data-sdk/src/model/IEvent.d.ts +0 -18
  192. package/dist/types/data-sdk/src/model/IEventFilter.d.ts +0 -19
  193. package/dist/types/data-sdk/src/model/IEventQuery.d.ts +0 -7
  194. package/dist/types/data-sdk/src/model/IEventSort.d.ts +0 -6
  195. package/dist/types/data-sdk/src/model/IEventTriggerGroup.d.ts +0 -13
  196. package/dist/types/data-sdk/src/model/IFieldParametersTypeMap.d.ts +0 -8
  197. package/dist/types/data-sdk/src/model/IFile.d.ts +0 -6
  198. package/dist/types/data-sdk/src/model/IFileInfo.d.ts +0 -6
  199. package/dist/types/data-sdk/src/model/IFilter.d.ts +0 -10
  200. package/dist/types/data-sdk/src/model/IFleet.d.ts +0 -8
  201. package/dist/types/data-sdk/src/model/IGoal.d.ts +0 -5
  202. package/dist/types/data-sdk/src/model/IGoalID.d.ts +0 -3
  203. package/dist/types/data-sdk/src/model/IH264VideoFrame.d.ts +0 -5
  204. package/dist/types/data-sdk/src/model/IHealth.d.ts +0 -4
  205. package/dist/types/data-sdk/src/model/IHwInfo.d.ts +0 -17
  206. package/dist/types/data-sdk/src/model/IImage.d.ts +0 -6
  207. package/dist/types/data-sdk/src/model/IImageAnnotation.d.ts +0 -9
  208. package/dist/types/data-sdk/src/model/IInterventionRequest.d.ts +0 -9
  209. package/dist/types/data-sdk/src/model/IInterventionResponse.d.ts +0 -10
  210. package/dist/types/data-sdk/src/model/IInterventionTypeMap.d.ts +0 -26
  211. package/dist/types/data-sdk/src/model/IJointState.d.ts +0 -8
  212. package/dist/types/data-sdk/src/model/IKernelInfo.d.ts +0 -5
  213. package/dist/types/data-sdk/src/model/ILabel.d.ts +0 -4
  214. package/dist/types/data-sdk/src/model/ILabeledPolygon.d.ts +0 -4
  215. package/dist/types/data-sdk/src/model/ILabelingRequestData.d.ts +0 -9
  216. package/dist/types/data-sdk/src/model/ILabelingResponseData.d.ts +0 -4
  217. package/dist/types/data-sdk/src/model/ILocalization.d.ts +0 -14
  218. package/dist/types/data-sdk/src/model/ILocation.d.ts +0 -6
  219. package/dist/types/data-sdk/src/model/IMap.d.ts +0 -10
  220. package/dist/types/data-sdk/src/model/IMarker3D.d.ts +0 -27
  221. package/dist/types/data-sdk/src/model/IMarker3DArray.d.ts +0 -4
  222. package/dist/types/data-sdk/src/model/INetwork.d.ts +0 -4
  223. package/dist/types/data-sdk/src/model/INodeInfo.d.ts +0 -5
  224. package/dist/types/data-sdk/src/model/INumericAggregate.d.ts +0 -7
  225. package/dist/types/data-sdk/src/model/INumericSetAggregateMap.d.ts +0 -5
  226. package/dist/types/data-sdk/src/model/INumericSetEntry.d.ts +0 -5
  227. package/dist/types/data-sdk/src/model/IOdometry.d.ts +0 -7
  228. package/dist/types/data-sdk/src/model/IOnDemandPresenceStreamItemGroup.d.ts +0 -6
  229. package/dist/types/data-sdk/src/model/IOnDemandPresenceTimeRange.d.ts +0 -7
  230. package/dist/types/data-sdk/src/model/IOnDemandState.d.ts +0 -4
  231. package/dist/types/data-sdk/src/model/IOnDemandStreamPresence.d.ts +0 -5
  232. package/dist/types/data-sdk/src/model/IOnDemmandBuffer.d.ts +0 -6
  233. package/dist/types/data-sdk/src/model/IOnvifDevice.d.ts +0 -5
  234. package/dist/types/data-sdk/src/model/IOsInfo.d.ts +0 -6
  235. package/dist/types/data-sdk/src/model/IPath.d.ts +0 -5
  236. package/dist/types/data-sdk/src/model/IPhysicalInterventionMetadata.d.ts +0 -3
  237. package/dist/types/data-sdk/src/model/IPhysicalRequestData.d.ts +0 -8
  238. package/dist/types/data-sdk/src/model/IPhysicalResponsetData.d.ts +0 -3
  239. package/dist/types/data-sdk/src/model/IPointCloud.d.ts +0 -6
  240. package/dist/types/data-sdk/src/model/IPortForwardingSessionRecord.d.ts +0 -3
  241. package/dist/types/data-sdk/src/model/IPoseWithCovariance.d.ts +0 -5
  242. package/dist/types/data-sdk/src/model/IQuaternion.d.ts +0 -6
  243. package/dist/types/data-sdk/src/model/IQuery.d.ts +0 -9
  244. package/dist/types/data-sdk/src/model/IRole.d.ts +0 -9
  245. package/dist/types/data-sdk/src/model/IRosTopic.d.ts +0 -4
  246. package/dist/types/data-sdk/src/model/IRtcPointCloud.d.ts +0 -5
  247. package/dist/types/data-sdk/src/model/IRtcSessionRecord.d.ts +0 -9
  248. package/dist/types/data-sdk/src/model/IScopeFilter.d.ts +0 -6
  249. package/dist/types/data-sdk/src/model/ISelectionRequestData.d.ts +0 -6
  250. package/dist/types/data-sdk/src/model/ISelectionResponseData.d.ts +0 -3
  251. package/dist/types/data-sdk/src/model/IShare.d.ts +0 -16
  252. package/dist/types/data-sdk/src/model/ISheetParameters.d.ts +0 -5
  253. package/dist/types/data-sdk/src/model/ISpreadsheetIdRange.d.ts +0 -4
  254. package/dist/types/data-sdk/src/model/ISqlColumn.d.ts +0 -6
  255. package/dist/types/data-sdk/src/model/ISqlQuery.d.ts +0 -21
  256. package/dist/types/data-sdk/src/model/ISqlResult.d.ts +0 -12
  257. package/dist/types/data-sdk/src/model/ISqlRow.d.ts +0 -5
  258. package/dist/types/data-sdk/src/model/IStatefulEvent.d.ts +0 -5
  259. package/dist/types/data-sdk/src/model/IStream.d.ts +0 -18
  260. package/dist/types/data-sdk/src/model/IStreamAggregateData.d.ts +0 -11
  261. package/dist/types/data-sdk/src/model/IStreamAggregateTypeMap.d.ts +0 -10
  262. package/dist/types/data-sdk/src/model/IStreamColumn.d.ts +0 -7
  263. package/dist/types/data-sdk/src/model/IStreamCurrentValue.d.ts +0 -13
  264. package/dist/types/data-sdk/src/model/IStreamData.d.ts +0 -11
  265. package/dist/types/data-sdk/src/model/IStreamTypeMap.d.ts +0 -27
  266. package/dist/types/data-sdk/src/model/ISystemEvent.d.ts +0 -3
  267. package/dist/types/data-sdk/src/model/ITagParameters.d.ts +0 -3
  268. package/dist/types/data-sdk/src/model/ITagSets.d.ts +0 -3
  269. package/dist/types/data-sdk/src/model/ITaggedEntity.d.ts +0 -5
  270. package/dist/types/data-sdk/src/model/ITaggedUsers.d.ts +0 -4
  271. package/dist/types/data-sdk/src/model/ITags.d.ts +0 -3
  272. package/dist/types/data-sdk/src/model/ITaskReportColumn.d.ts +0 -7
  273. package/dist/types/data-sdk/src/model/ITaskSummary.d.ts +0 -13
  274. package/dist/types/data-sdk/src/model/ITeleopRequestData.d.ts +0 -3
  275. package/dist/types/data-sdk/src/model/ITeleopResponseData.d.ts +0 -4
  276. package/dist/types/data-sdk/src/model/ITeleopSessionRecord.d.ts +0 -3
  277. package/dist/types/data-sdk/src/model/ITransform.d.ts +0 -6
  278. package/dist/types/data-sdk/src/model/ITransformNode.d.ts +0 -7
  279. package/dist/types/data-sdk/src/model/ITriggeredEvent.d.ts +0 -11
  280. package/dist/types/data-sdk/src/model/ITwist.d.ts +0 -5
  281. package/dist/types/data-sdk/src/model/IUser.d.ts +0 -29
  282. package/dist/types/data-sdk/src/model/IUserParameters.d.ts +0 -4
  283. package/dist/types/data-sdk/src/model/IUserScope.d.ts +0 -15
  284. package/dist/types/data-sdk/src/model/IVector2.d.ts +0 -4
  285. package/dist/types/data-sdk/src/model/IVector3.d.ts +0 -5
  286. package/dist/types/data-sdk/src/model/IVideo.d.ts +0 -7
  287. package/dist/types/data-sdk/src/model/IVideoDevice.d.ts +0 -4
  288. package/dist/types/data-sdk/src/model/IView.d.ts +0 -15
  289. package/dist/types/data-sdk/src/model/IdeviceFollower.d.ts +0 -4
  290. package/dist/types/data-sdk/src/model/InetworkInfo.d.ts +0 -4
  291. package/dist/types/data-sdk/src/model/InterventionType.d.ts +0 -2
  292. package/dist/types/data-sdk/src/model/IsoDate.d.ts +0 -1
  293. package/dist/types/data-sdk/src/model/JsonSchema.d.ts +0 -39
  294. package/dist/types/data-sdk/src/model/Marker3DAction.d.ts +0 -2
  295. package/dist/types/data-sdk/src/model/Marker3DType.d.ts +0 -2
  296. package/dist/types/data-sdk/src/model/OnDemandBufferType.d.ts +0 -2
  297. package/dist/types/data-sdk/src/model/Policies.d.ts +0 -35
  298. package/dist/types/data-sdk/src/model/RequiredKeys.d.ts +0 -3
  299. package/dist/types/data-sdk/src/model/Resource.d.ts +0 -2
  300. package/dist/types/data-sdk/src/model/SessionType.d.ts +0 -26
  301. package/dist/types/data-sdk/src/model/Severity.d.ts +0 -2
  302. package/dist/types/data-sdk/src/model/SortOrder.d.ts +0 -1
  303. package/dist/types/data-sdk/src/model/StreamType.d.ts +0 -2
  304. package/dist/types/data-sdk/src/model/TelemetryResult.d.ts +0 -9
  305. package/dist/types/data-sdk/src/model/Timestamp.d.ts +0 -1
  306. package/dist/types/data-sdk/src/model/Uuid.d.ts +0 -1
  307. package/dist/types/data-sdk/src/model/VideoMimeType.d.ts +0 -2
  308. package/dist/types/data-sdk/src/model/accessLevels.d.ts +0 -1
  309. package/dist/types/data-sdk/src/model/aggregateLevels.d.ts +0 -2
  310. package/dist/types/data-sdk/src/model/aggregateTypes.d.ts +0 -1
  311. package/dist/types/data-sdk/src/model/analyticsAggregteTypes.d.ts +0 -1
  312. package/dist/types/data-sdk/src/model/analyticsChartTypes.d.ts +0 -1
  313. package/dist/types/data-sdk/src/model/annotationTypes.d.ts +0 -1
  314. package/dist/types/data-sdk/src/model/cognitoRegions.d.ts +0 -1
  315. package/dist/types/data-sdk/src/model/deviceTypes.d.ts +0 -1
  316. package/dist/types/data-sdk/src/model/eventTypes.d.ts +0 -1
  317. package/dist/types/data-sdk/src/model/healthStatuses.d.ts +0 -1
  318. package/dist/types/data-sdk/src/model/interventionTypes.d.ts +0 -1
  319. package/dist/types/data-sdk/src/model/marker3DActions.d.ts +0 -1
  320. package/dist/types/data-sdk/src/model/marker3DTypes.d.ts +0 -1
  321. package/dist/types/data-sdk/src/model/onDemandBufferTypes.d.ts +0 -1
  322. package/dist/types/data-sdk/src/model/resources.d.ts +0 -1
  323. package/dist/types/data-sdk/src/model/severities.d.ts +0 -1
  324. package/dist/types/data-sdk/src/model/videoMimeTypes.d.ts +0 -1
  325. package/dist/types/data-sdk/src/stores/AuthenticationErrors.d.ts +0 -9
  326. package/dist/types/data-sdk/src/stores/AuthenticationResult.d.ts +0 -15
  327. package/dist/types/data-sdk/src/stores/AuthenticationStore.d.ts +0 -68
  328. package/dist/types/data-sdk/src/stores/IAuthentication.d.ts +0 -6
  329. package/dist/types/data-sdk/src/stores/IAuthenticationStore.d.ts +0 -43
  330. package/dist/types/data-sdk/src/stores/ICheckSsoResult.d.ts +0 -5
  331. package/dist/types/data-sdk/src/stores/IConfirmForgotPasswordRequest.d.ts +0 -5
  332. package/dist/types/data-sdk/src/stores/IRespondToNewPasswordRequiredChallengeRequest.d.ts +0 -5
  333. package/dist/types/data-sdk/src/utils/RtcClientPool.d.ts +0 -25
  334. package/dist/types/data-sdk/src/utils/aggregateFunctionUtils.d.ts +0 -38
  335. package/dist/types/data-sdk/src/utils/getCurrentModuleContext.d.ts +0 -1
  336. package/dist/types/data-sdk/src/utils/isRtcPeer.d.ts +0 -2
  337. package/dist/types/data-sdk/src/utils/numericAggregateUtils.d.ts +0 -26
  338. package/dist/types/data-sdk/src/utils/serializeHash.d.ts +0 -2
  339. package/dist/types/data-sdk/src/utils/stringToArrayBuffer.d.ts +0 -1
  340. package/dist/types/data-sdk/src/utils/timeout.d.ts +0 -1
@@ -1,29 +0,0 @@
1
- import { DataChannel, DataChannelErrorListener, DataChannelListener } from "./DataChannel";
2
- import { ICustomDataChannelCreator } from "./devices/ICustomDataChannelCreator";
3
- declare abstract class RequestDataChannel {
4
- protected device: ICustomDataChannelCreator;
5
- protected channel_name: string;
6
- protected timeout: number;
7
- protected channel: undefined | DataChannel;
8
- protected requestIdToResponseMap: Map<string, any>;
9
- constructor(device: ICustomDataChannelCreator, channel_name: string, timeout: number);
10
- addOpenListener(listener: DataChannelListener): void;
11
- removeOpenListener(listener: DataChannelListener): void;
12
- addCloseListener(listener: DataChannelListener): void;
13
- removeCloseListener(listener: DataChannelListener): void;
14
- addErrorListener(listener: DataChannelErrorListener): void;
15
- removeErrorListener(listener: DataChannelErrorListener): void;
16
- }
17
- export declare class BinaryRequestDataChannel extends RequestDataChannel {
18
- private RESPONSE_SUCCESS_BYTE;
19
- private decoder;
20
- generateBinaryId(): Uint8Array;
21
- initialize(): Promise<void>;
22
- request(data: Uint8Array): Promise<any>;
23
- }
24
- export declare class TextRequestDataChannel extends RequestDataChannel {
25
- generateTextId(): string;
26
- initialize(): Promise<void>;
27
- request(data: string): Promise<any>;
28
- }
29
- export {};
@@ -1,8 +0,0 @@
1
- import { IRole } from "./model/IRole";
2
- export declare class Role {
3
- static listRoles(): Promise<IRole[]>;
4
- static createRole(role: IRole): Promise<IRole>;
5
- static getRole(id: string): Promise<IRole>;
6
- static patchRole(id: string, role: Partial<IRole>): Promise<IRole>;
7
- static deleteRole(id: string): Promise<void>;
8
- }
@@ -1,8 +0,0 @@
1
- import { IUser } from "./model/IUser";
2
- export declare class User {
3
- static listUsers(): Promise<IUser[]>;
4
- static createUser(user: IUser): Promise<IUser>;
5
- static getUser(id: string): Promise<IUser>;
6
- static patchUser(id: string, user: Partial<IUser>): Promise<IUser>;
7
- static deleteUser(id: string): Promise<void>;
8
- }
@@ -1 +0,0 @@
1
- export declare function addDeviceToFleet(deviceId: string, fleetId: string): Promise<any>;
@@ -1,3 +0,0 @@
1
- import { IQuery } from "../model/IQuery";
2
- import { IStreamAggregateData } from "../model/IStreamAggregateData";
3
- export declare function aggregateTelemetry(query: IQuery): Promise<IStreamAggregateData<keyof import("../main").IStreamTypeMap>[]>;
@@ -1,2 +0,0 @@
1
- import { IDevice } from "../model/IDevice";
2
- export declare function createDevice(device: IDevice): Promise<IDevice>;
@@ -1,2 +0,0 @@
1
- import { IFleet } from "../model/IFleet";
2
- export declare function createFleet(fleet: IFleet): Promise<IFleet>;
@@ -1,22 +0,0 @@
1
- import { IShare } from "../model/IShare";
2
- /**
3
- * @param scope is required
4
- * @param time is required
5
- * @param view View name
6
- * @returns
7
- * Share link
8
- * @example
9
- * // Body
10
- * const link = await createShareLink({
11
- * delegateTeleop: false
12
- * message: "See bot in action",
13
- * scope: {
14
- * deviceIds: ["d64520a6-a308-4a59-9267-b7f8a7bfc7ab"],
15
- * start: "2023-04-04T19:51:47.125Z",
16
- * end: "2023-04-04T20:51:47.125Z"
17
- * },
18
- * time: "2023-04-04T20:21:47.125Z",
19
- * userName: "User",
20
- * });
21
- */
22
- export declare function createShareLink(share: IShare, view: string): Promise<string | null>;
@@ -1 +0,0 @@
1
- export declare function deleteFleet(id: string): Promise<void>;
@@ -1,2 +0,0 @@
1
- import { IDevice } from "../model/IDevice";
2
- export declare function disableDevice(id: string): Promise<IDevice[]>;
@@ -1,7 +0,0 @@
1
- import { EventType } from "../model/EventType";
2
- import { AggregateLevel } from "../model/AggregateLevel";
3
- import { IEventQuery } from "../model/IEventQuery";
4
- export declare function eventsCounter(eventTypes: EventType[], timeFrame: AggregateLevel, range: number, time: number, query?: IEventQuery): Promise<{
5
- date: string;
6
- events: import("../main").IEvent[];
7
- }[]>;
@@ -1,2 +0,0 @@
1
- import { IEventTriggerGroup } from "../model/IEventTriggerGroup";
2
- export declare function getAllEventTriggerGroup(): Promise<IEventTriggerGroup[]>;
@@ -1,2 +0,0 @@
1
- import { IAnalyticsModule } from "../model/IAnalyticsModule";
2
- export declare function getAnalyticsModules(): Promise<IAnalyticsModule>;
@@ -1,8 +0,0 @@
1
- import { ISqlQuery } from "../model/ISqlQuery";
2
- /**
3
- * Retrieves all rows
4
- * sqlQuery is required
5
- * @param query
6
- * @returns
7
- */
8
- export declare function getAnalyticsRows(query: ISqlQuery): Promise<any>;
@@ -1,18 +0,0 @@
1
- import { IStreamColumn } from "../model/IStreamColumn";
2
- /**
3
- * retrieves a list of all available data streams that can be used for running analytics.
4
- * This function takes no arguments and returns a list of stream names that can be used for analyzing data.
5
- * @example
6
- * // Returns
7
- * [
8
- * {
9
- * streamName: "$.agent.health",
10
- streamType : "health"
11
- },
12
- {
13
- * streamName: "up.hours",
14
- streamType : "numeric"
15
- }
16
- ]
17
- */
18
- export declare function getAnalyticStreams(): Promise<IStreamColumn[]>;
@@ -1,4 +0,0 @@
1
- import { IEventQuery } from "../model/IEventQuery";
2
- export declare function getAnnotationCount(query: IEventQuery, tagKey: string): Promise<{
3
- [key: string]: number;
4
- }>;
@@ -1,8 +0,0 @@
1
- import { IEventQuery } from "../model/IEventQuery";
2
- import { AggregateLevel } from "../model/AggregateLevel";
3
- export declare function getAnnotationCountByIntervals(query: IEventQuery, tagKey: string, aggregate: AggregateLevel): Promise<{
4
- date: string;
5
- annotations: {
6
- [key: string]: number;
7
- };
8
- }[]>;
@@ -1,2 +0,0 @@
1
- import { Device } from "../devices/Device";
2
- export declare function getCurrentGroup(): Promise<Device[] | undefined>;
@@ -1,2 +0,0 @@
1
- import { Device } from "../devices/Device";
2
- export declare function getDevice(deviceId: string): Promise<Device>;
@@ -1,2 +0,0 @@
1
- import { Device } from "../devices/Device";
2
- export declare function getDevices(): Promise<Device[]>;
@@ -1,2 +0,0 @@
1
- import { IDevice } from "../model/IDevice";
2
- export declare function getDevicesData(): Promise<IDevice[]>;
@@ -1,2 +0,0 @@
1
- import { IEvent } from "../model/IEvent";
2
- export declare function getEvent(uuid: string): Promise<IEvent>;
@@ -1,2 +0,0 @@
1
- import { IEventTriggerGroup } from "../model/IEventTriggerGroup";
2
- export declare function getEventTriggerGroup(id: string): Promise<IEventTriggerGroup>;
@@ -1 +0,0 @@
1
- export declare function getFileUrl(uuid: string): Promise<string>;
@@ -1,2 +0,0 @@
1
- import { IFleet } from "../model/IFleet";
2
- export declare function getFleet(id: string): Promise<IFleet>;
@@ -1 +0,0 @@
1
- export declare function getFleetDevices(id: string): Promise<void>;
@@ -1,2 +0,0 @@
1
- import { IEvent } from "../model/IEvent";
2
- export declare function getInterventions(): Promise<IEvent[]>;
@@ -1,3 +0,0 @@
1
- import { IStreamCurrentValue } from "../model/IStreamCurrentValue";
2
- import { IStreamTypeMap } from "../model/IStreamTypeMap";
3
- export declare function getLatestTelemetry(...ids: (string | string[])[]): Promise<IStreamCurrentValue<keyof IStreamTypeMap>[]>;
@@ -1 +0,0 @@
1
- export declare function getModuleConfiguration(id: string): Promise<string | undefined>;
@@ -1,2 +0,0 @@
1
- import { Device } from "../devices/Device";
2
- export declare function getOnlineDevices(): Promise<Device[]>;
@@ -1,2 +0,0 @@
1
- import { IRtcPeer } from "@formant/realtime-sdk";
2
- export declare function getPeers(): Promise<IRtcPeer[]>;
@@ -1,2 +0,0 @@
1
- import { Device } from "../devices/Device";
2
- export declare function getRealtimeDevices(): Promise<Device[]>;
@@ -1,3 +0,0 @@
1
- export declare function getRealtimeSessions(): Promise<{
2
- [key in string]: string[];
3
- }>;
@@ -1,2 +0,0 @@
1
- import { IStream } from "../model/IStream";
2
- export declare function getStreams(): Promise<IStream[]>;
@@ -1,26 +0,0 @@
1
- import { ISqlQuery } from "../model/ISqlQuery";
2
- /**
3
- * @param taskColumns is required
4
- * @returns
5
- * All task reports
6
- * @example
7
- * // Body
8
- * const tasks = await getTaskReports({
9
- * taskColumns: [
10
- * {
11
- * columns: [
12
- * {
13
- * dataType: "string",
14
- * isNullable: true,
15
- * name: "TYPE",
16
- * tableName: "custom",
17
- * },
18
- * ],
19
- * name: "DURATION_SECONDS",
20
- * tableName: "TASK_REPORTS_CLEANING_MODE",
21
- * yAxis: "DURATION_SECONDS",
22
- * },
23
- * ],
24
- * });
25
- */
26
- export declare function getTaskReportRows(query: ISqlQuery): Promise<any>;
@@ -1,23 +0,0 @@
1
- import { ITaskReportColumn } from "../model/ITaskReportColumn";
2
- /**
3
- * retrieves a list of all available tables that can be used to create task reports.
4
- * This function takes no arguments and returns a list of table names that can be used for creating task reports.
5
- * @returns List all available tables
6
- * @example
7
- * // Returns
8
- *[
9
- * {
10
- * name: "",
11
- * tableName: "TASK_REPORTS_CLEANING_MODE",
12
- * columns: [
13
- * {
14
- * name: "TYPE",
15
- * isNullable: true,
16
- * dataType: "string",
17
- * tableName: "custom"
18
- * }
19
- * ]
20
- * }
21
- *]
22
- */
23
- export declare function getTaskReportTables(): Promise<ITaskReportColumn[]>;
@@ -1,4 +0,0 @@
1
- import { TelemetryResult } from "../model/TelemetryResult";
2
- export declare function getTelemetry(deviceIdOrDeviceIds: string | string[], streamNameOrStreamNames: string | string[], start: Date, end: Date, tags?: {
3
- [key in string]: string[];
4
- }, latestOnly?: boolean): Promise<TelemetryResult[]>;
@@ -1,2 +0,0 @@
1
- import { IView } from "../model/IView";
2
- export declare function getViews(): Promise<IView[]>;
@@ -1,2 +0,0 @@
1
- import { IFleet } from "../model/IFleet";
2
- export declare function listFleets(): Promise<IFleet[]>;
@@ -1,2 +0,0 @@
1
- import { IDevice } from "../model/IDevice";
2
- export declare function patchDevice(id: string, device: Partial<IDevice>): Promise<IDevice>;
@@ -1,2 +0,0 @@
1
- import { IEventTriggerGroup } from "../model/IEventTriggerGroup";
2
- export declare function patchEventTriggerGroup(id: string, eventTrigger: Partial<IEventTriggerGroup>): Promise<IEventTriggerGroup>;
@@ -1,2 +0,0 @@
1
- import { IFleet } from "../model/IFleet";
2
- export declare function patchFleet(id: string, role: Partial<IFleet>): Promise<IFleet>;
@@ -1,2 +0,0 @@
1
- import { IStream } from "../model/IStream";
2
- export declare function patchStream(stream: IStream): Promise<IStream>;
@@ -1,2 +0,0 @@
1
- import { IView } from "../model/IView";
2
- export declare function patchView(view: IView): Promise<IView>;
@@ -1,43 +0,0 @@
1
- import { ISqlQuery } from "../model/ISqlQuery";
2
- import { ISqlResult } from "../model/ISqlResult";
3
- /**
4
- *Retrieves all stream rows
5
- * @example
6
- * // Body
7
- * const analytics = await queryAnalytics({
8
- * aggregateLevel: "day",
9
- * orderByColumn: "TIMESTAMP",
10
- * streamColumns: [
11
- * {
12
- * streamName: "consumables_residual_percentage",
13
- * streamType: "numeric set",
14
- * },
15
- * ],
16
- * });
17
- * //Returns
18
- * {
19
- * aggregates: [],
20
- * columns: [
21
- * {
22
- * name: 'TIMESTAMP',
23
- * isNullable: true,
24
- * dataType: 'string',
25
- * tableName: 'NUMERIC_SET_MAIN'
26
- * }
27
- * ],
28
- * items: [
29
- * {
30
- * axisLabel: "suction_blade",
31
- * name: "consumables_residual_percentage",
32
- * tableName: "NUMERIC_SET_TEST",
33
- * time: "2020-04-20T08:00:00.000Z",
34
- * type: "numeric set",
35
- * unitLabel: "percent"
36
- * }
37
- * ],
38
- * rowCount: 14,
39
- * rows: []
40
- * sqlText: "SELECT dateadd(day, dayofweek(TIMESTAMP), to_timestamp_tz('4/20/2020')) AS TIMESTAMP, SUM(VALUE)"
41
- * }
42
- */
43
- export declare function queryAnalytics(query: ISqlQuery): Promise<ISqlResult>;
@@ -1,3 +0,0 @@
1
- import { IDeviceQuery } from "../model/IDeviceQuery";
2
- import { Device } from "../devices/Device";
3
- export declare function queryDevices(query: IDeviceQuery): Promise<Device[]>;
@@ -1,3 +0,0 @@
1
- import { IDeviceQuery } from "../model/IDeviceQuery";
2
- import { IDevice } from "../model/IDevice";
3
- export declare function queryDevicesData(query: IDeviceQuery): Promise<IDevice[]>;
@@ -1,3 +0,0 @@
1
- import { IEventQuery } from "../model/IEventQuery";
2
- import { IEvent } from "../model/IEvent";
3
- export declare function queryEvents(query: IEventQuery): Promise<IEvent[]>;
@@ -1,3 +0,0 @@
1
- import { IQuery } from "../model/IQuery";
2
- import { IStreamData } from "../model/IStreamData";
3
- export declare function queryTelemetry(query: IQuery): Promise<IStreamData<keyof import("../main").IStreamTypeMap>[]>;
@@ -1,19 +0,0 @@
1
- export declare class StoreCache<Key, Value> {
2
- private entries;
3
- private metadata;
4
- private capacity;
5
- private staleIntervalMs;
6
- constructor({ capacity, timeout, }?: {
7
- capacity?: number;
8
- timeout?: number;
9
- });
10
- get(key: Key, generator?: () => Promise<Value>): Value | undefined;
11
- set(key: Key, value: Value): void;
12
- clear(): void;
13
- clearKey(key: string): void;
14
- private keyToCacheKey;
15
- private enforceMaxSize;
16
- private isStale;
17
- private isGenerating;
18
- private generate;
19
- }
@@ -1,2 +0,0 @@
1
- import { IStreamData } from "../model/IStreamData";
2
- export declare function filterDataByTime(datas: IStreamData[], start: Date, end: Date): IStreamData[];
@@ -1,3 +0,0 @@
1
- import { IStreamData } from "../model/IStreamData";
2
- import { StreamType } from "../model/StreamType";
3
- export declare function filterDataByType(datas: IStreamData[], type: StreamType[]): IStreamData[];
@@ -1,11 +0,0 @@
1
- import { IStreamData } from "../model/IStreamData";
2
- import { StreamType } from "../model/StreamType";
3
- import { IFilter } from "../model/IFilter";
4
- export declare class QueryStore {
5
- private queryStoreCache;
6
- private liveQueryStoreCache;
7
- moduleQuery(filter: IFilter, name: string[], type: StreamType[], start: Date, end: Date, latestOnly?: boolean): IStreamData[] | "too much data" | undefined;
8
- query(filter: IFilter, start: Date, end: Date, latestOnly?: boolean): IStreamData[] | "too much data" | undefined;
9
- private queryCache;
10
- private liveQueryCache;
11
- }
@@ -1 +0,0 @@
1
- export declare const FORMANT_API_URL: any;
@@ -1,6 +0,0 @@
1
- interface IHasString {
2
- get(key: string): string | null;
3
- has(key: string): boolean;
4
- }
5
- export declare function whichFormantApiUrl(global: any, urlParams: IHasString, host?: string): any;
6
- export {};
@@ -1,13 +0,0 @@
1
- export declare class Color {
2
- r: number;
3
- g: number;
4
- b: number;
5
- a: number;
6
- h: number;
7
- s: number;
8
- l: number;
9
- static fromString(color: string): Color | undefined;
10
- constructor(r: number, g: number, b: number, a?: number);
11
- toString(): string;
12
- withAlpha(a: number): Color;
13
- }
@@ -1 +0,0 @@
1
- export type Timeout = ReturnType<typeof setTimeout>;
@@ -1,3 +0,0 @@
1
- export declare function defined<T>(value: T | undefined, errorMessage?: string): T;
2
- export declare function notNull<T>(value: T | null, errorMessage?: string): T;
3
- export declare function definedAndNotNull<T>(value: T | undefined | null, errorMessage?: string): T;
@@ -1 +0,0 @@
1
- export declare function delay(ms: number): Promise<unknown>;
@@ -1,10 +0,0 @@
1
- export declare const duration: {
2
- readonly millisecond: 1;
3
- readonly second: 1000;
4
- readonly minute: number;
5
- readonly hour: number;
6
- readonly day: number;
7
- readonly week: number;
8
- readonly month: number;
9
- readonly year: number;
10
- };
@@ -1 +0,0 @@
1
- export declare function equals<T>(a: T, b: T): boolean;
@@ -1,2 +0,0 @@
1
- import { IStreamData } from "../../model/IStreamData";
2
- export declare function filterDataByTime(datas: IStreamData[], start: Date, end: Date): IStreamData[];
@@ -1,3 +0,0 @@
1
- import { IStreamData } from "../../model/IStreamData";
2
- import { StreamType } from "../../model/StreamType";
3
- export declare function filterDataByType<T extends StreamType>(datas: IStreamData[], type: T): IStreamData<T>[];
@@ -1,8 +0,0 @@
1
- import { IStreamData, StreamType, Timestamp } from "../../main";
2
- export interface IFlattenedPoint {
3
- streamName: string;
4
- streamType: StreamType;
5
- timestamp: Timestamp;
6
- value: any;
7
- }
8
- export declare function flattenPoints(streamData: IStreamData): IFlattenedPoint[];
@@ -1,5 +0,0 @@
1
- /**
2
- * Used to fire-and-forget a promise.
3
- * This is useful as a function wrapper to suppress floating promise warnings.
4
- */
5
- export declare function fork<T>(_: Promise<T>): void;
@@ -1 +0,0 @@
1
- export declare const range: (start: number, end: number) => number[];
@@ -1 +0,0 @@
1
- export declare const throttle: <T>(callback: (...args: T[]) => void, time: number) => (...args: T[]) => void;
@@ -1 +0,0 @@
1
- export declare function toJsonLines(objects: any[]): string;
@@ -1,68 +0,0 @@
1
- import { H264BytestreamCanvasDrawer } from "@formant/ui-sdk-realtime-player-core";
2
- import { IRtcStreamMessage } from "@formant/realtime-sdk";
3
- import { ITransform } from "@formant/realtime-sdk/dist/model/ITransform";
4
- import { Device } from "../../devices/Device";
5
- import { PeerDevice } from "../../devices/PeerDevice";
6
- import { IBitset } from "../../model/IBitset";
7
- import { ILocation } from "../../model/ILocation";
8
- import { IStreamData } from "../../model/IStreamData";
9
- import { ITransformNode } from "../../model/ITransformNode";
10
- import { CloseSubscription, DataSourceState, IRealtimeStream, ITelemetryRosStream, ITelemetryStream, IUniverseStatistics, Interaction, RealtimeButtonConfiguration, UniverseDataSource } from "../model/IUniverseData";
11
- import { QueryStore } from "./queryStore";
12
- export type DeviceId = string;
13
- export type DataSourceId = string;
14
- export type DataResult<T> = {
15
- deviceId: DeviceId;
16
- sourceId: DataSourceId;
17
- data: T | undefined;
18
- };
19
- export declare class BasicUniverseDataConnector {
20
- subscriberSources: Map<string, Map<string, UniverseDataSource>>;
21
- subscriberLoaders: Map<DeviceId, Map<DataSourceId, (data: any) => Promise<DataResult<any>>>>;
22
- subscriberDistributorsLoaders: Map<DeviceId, Map<DataSourceId, ((data: any) => void)[]>>;
23
- mapRealtimeConnections: Map<string, Device | PeerDevice | "loading">;
24
- lastQueriedHistoricTime: Date | undefined;
25
- time: Date | "live";
26
- timeChangeListeners: ((time: Date | "live") => void)[];
27
- queryStore: QueryStore;
28
- setTime(time: Date | "live"): void;
29
- getTime(): Date | "live";
30
- getTimeMs(): number;
31
- constructor();
32
- private generateTelemetryFilter;
33
- protected sendRtcMessage(deviceId: string, msg: IRtcStreamMessage): Promise<void>;
34
- protected createRealtimeConnection(deviceId: string, sessionType?: number): Promise<void>;
35
- protected addRemovableTelemetrySubscription<T>(deviceId: string, source: UniverseDataSource, loader: (data: IStreamData[]) => Promise<DataResult<T>>, distribute: (data: T) => void): () => void;
36
- protected createH264Drawer(): H264BytestreamCanvasDrawer;
37
- sendCommand(deviceId: string, name: string, data?: string | undefined): Promise<void>;
38
- sendRealtimePose(deviceId: string, streamName: string, pose: ITransform): Promise<void>;
39
- sendRealtimeBoolean(deviceId: string, streamName: string, value: boolean): Promise<void>;
40
- sendRealtimeBitset(deviceId: string, streamName: string, bitset: IBitset): Promise<void>;
41
- getUrdfs(deviceId: string): Promise<string[]>;
42
- getTelemetryStreams(_deviceId: string): Promise<ITelemetryStream[]>;
43
- getTeleopRosStreams(_deviceId: string): Promise<ITelemetryRosStream[]>;
44
- getHardwareStreams(_deviceId: string): Promise<IRealtimeStream[]>;
45
- addInteraction(_interaction: Interaction): void;
46
- removeInteraction(_id: string): void;
47
- getInteractions(): Interaction[];
48
- addInteractionsChangedListener(_callback: (interactions: Interaction[]) => void): () => void;
49
- addInteractionListener(_callback: (interaction: Interaction) => void): () => void;
50
- getRealtimeButtons(_deviceId: string): Promise<RealtimeButtonConfiguration[]>;
51
- getLatestTransformTrees(_deviceId: string): Promise<{
52
- streamName: string;
53
- transformTree: ITransformNode;
54
- }[]>;
55
- getLatestLocations(): Promise<{
56
- streamName: string;
57
- location: ILocation;
58
- }[]>;
59
- getDeviceContexts(): Promise<{
60
- deviceName: string;
61
- deviceId: string;
62
- }[]>;
63
- getDeviceContextName(_deviceId: string): Promise<string | undefined>;
64
- getTelemetryStreamType(_deviceId: string, _streamName: string): Promise<string | undefined>;
65
- getStatistics(): Promise<IUniverseStatistics>;
66
- subscribeDataSourceStateChange(_deviceId: string, _source: UniverseDataSource, _onDataSourceStateChange?: (state: DataSourceState) => void): CloseSubscription;
67
- fetchImage(url: string): Promise<HTMLImageElement>;
68
- }