@formant/data-sdk 1.64.0 → 1.66.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/dist/data-sdk.cjs.js +10 -10
  2. package/dist/data-sdk.cjs.js.map +1 -1
  3. package/dist/data-sdk.es.js +2539 -2537
  4. package/dist/data-sdk.es.js.map +1 -1
  5. package/dist/data-sdk.es6.js +2539 -2537
  6. package/dist/data-sdk.umd.js +10 -10
  7. package/dist/types/common/browser.d.ts +2 -0
  8. package/dist/types/common/defined.d.ts +3 -0
  9. package/dist/types/common/delay.d.ts +1 -0
  10. package/dist/types/common/duration.d.ts +10 -0
  11. package/dist/types/common/fork.d.ts +5 -0
  12. package/dist/types/data-sdk/src/Account.d.ts +10 -0
  13. package/dist/types/data-sdk/src/App.d.ts +47 -0
  14. package/dist/types/data-sdk/src/AppRtcClientPools.d.ts +20 -0
  15. package/dist/types/data-sdk/src/AudioPlayer.d.ts +23 -0
  16. package/dist/types/data-sdk/src/Authentication.d.ts +2 -0
  17. package/dist/types/data-sdk/src/CaptureStream.d.ts +18 -0
  18. package/dist/types/data-sdk/src/DataChannel.d.ts +30 -0
  19. package/dist/types/data-sdk/src/EventTriggerGroup.d.ts +0 -0
  20. package/dist/types/data-sdk/src/Fleet.d.ts +88 -0
  21. package/dist/types/data-sdk/src/KeyValue.d.ts +8 -0
  22. package/dist/types/data-sdk/src/Manipulator.d.ts +21 -0
  23. package/dist/types/data-sdk/src/RequestDataChannel.d.ts +29 -0
  24. package/dist/types/data-sdk/src/Role.d.ts +8 -0
  25. package/dist/types/data-sdk/src/User.d.ts +8 -0
  26. package/dist/types/data-sdk/src/api/addDeviceToFleet.d.ts +1 -0
  27. package/dist/types/data-sdk/src/api/aggregateTelemetry.d.ts +3 -0
  28. package/dist/types/data-sdk/src/api/createDevice.d.ts +2 -0
  29. package/dist/types/data-sdk/src/api/createFleet.d.ts +2 -0
  30. package/dist/types/data-sdk/src/api/createShareLink.d.ts +22 -0
  31. package/dist/types/data-sdk/src/api/deleteFleet.d.ts +1 -0
  32. package/dist/types/data-sdk/src/api/disableDevice.d.ts +2 -0
  33. package/dist/types/data-sdk/src/api/eventsCounter.d.ts +7 -0
  34. package/dist/types/data-sdk/src/api/getAllEventTriggerGroup.d.ts +2 -0
  35. package/dist/types/data-sdk/src/api/getAnalyticsModules.d.ts +2 -0
  36. package/dist/types/data-sdk/src/api/getAnalyticsRows.d.ts +8 -0
  37. package/dist/types/data-sdk/src/api/getAnalyticsStreams.d.ts +18 -0
  38. package/dist/types/data-sdk/src/api/getAnnotationCount.d.ts +4 -0
  39. package/dist/types/data-sdk/src/api/getAnnotationCountByIntervals.d.ts +8 -0
  40. package/dist/types/data-sdk/src/api/getCurrentGroup.d.ts +2 -0
  41. package/dist/types/data-sdk/src/api/getDevice.d.ts +2 -0
  42. package/dist/types/data-sdk/src/api/getDevices.d.ts +2 -0
  43. package/dist/types/data-sdk/src/api/getDevicesData.d.ts +2 -0
  44. package/dist/types/data-sdk/src/api/getEvent.d.ts +2 -0
  45. package/dist/types/data-sdk/src/api/getEventTriggerGroup.d.ts +2 -0
  46. package/dist/types/data-sdk/src/api/getFileUrl.d.ts +1 -0
  47. package/dist/types/data-sdk/src/api/getFleet.d.ts +2 -0
  48. package/dist/types/data-sdk/src/api/getFleetDevices.d.ts +1 -0
  49. package/dist/types/data-sdk/src/api/getInterventions.d.ts +2 -0
  50. package/dist/types/data-sdk/src/api/getLatestTelemetry.d.ts +3 -0
  51. package/dist/types/data-sdk/src/api/getModuleConfiguration.d.ts +1 -0
  52. package/dist/types/data-sdk/src/api/getOnlineDevices.d.ts +2 -0
  53. package/dist/types/data-sdk/src/api/getPeers.d.ts +2 -0
  54. package/dist/types/data-sdk/src/api/getRealtimeDevices.d.ts +2 -0
  55. package/dist/types/data-sdk/src/api/getRealtimeSessions.d.ts +3 -0
  56. package/dist/types/data-sdk/src/api/getStreams.d.ts +2 -0
  57. package/dist/types/data-sdk/src/api/getTaskReportRows.d.ts +26 -0
  58. package/dist/types/data-sdk/src/api/getTaskreportTables.d.ts +23 -0
  59. package/dist/types/data-sdk/src/api/getTelemetry.d.ts +4 -0
  60. package/dist/types/data-sdk/src/api/getViews.d.ts +2 -0
  61. package/dist/types/data-sdk/src/api/listFleets.d.ts +2 -0
  62. package/dist/types/data-sdk/src/api/patchDevice.d.ts +2 -0
  63. package/dist/types/data-sdk/src/api/patchEventTriggerGroup.d.ts +2 -0
  64. package/dist/types/data-sdk/src/api/patchFleet.d.ts +2 -0
  65. package/dist/types/data-sdk/src/api/patchStreams.d.ts +2 -0
  66. package/dist/types/data-sdk/src/api/patchView.d.ts +2 -0
  67. package/dist/types/data-sdk/src/api/queryAnalytics.d.ts +43 -0
  68. package/dist/types/data-sdk/src/api/queryDevices.d.ts +3 -0
  69. package/dist/types/data-sdk/src/api/queryDevicesData.d.ts +3 -0
  70. package/dist/types/data-sdk/src/api/queryEvents.d.ts +3 -0
  71. package/dist/types/data-sdk/src/api/queryTelemetry.d.ts +3 -0
  72. package/dist/types/data-sdk/src/cache/StoreCache.d.ts +19 -0
  73. package/dist/types/data-sdk/src/cache/filterDataByTime.d.ts +2 -0
  74. package/dist/types/data-sdk/src/cache/filterDataByType.d.ts +3 -0
  75. package/dist/types/data-sdk/src/cache/queryStore.d.ts +11 -0
  76. package/dist/types/data-sdk/src/config/index.d.ts +1 -0
  77. package/dist/types/data-sdk/src/config/whichFormantApiUrl.d.ts +6 -0
  78. package/dist/types/data-sdk/src/connector/common/Color.d.ts +13 -0
  79. package/dist/types/data-sdk/src/connector/common/Timeout.d.ts +1 -0
  80. package/dist/types/data-sdk/src/connector/common/defined.d.ts +3 -0
  81. package/dist/types/data-sdk/src/connector/common/delay.d.ts +1 -0
  82. package/dist/types/data-sdk/src/connector/common/duration.d.ts +10 -0
  83. package/dist/types/data-sdk/src/connector/common/equals.d.ts +1 -0
  84. package/dist/types/data-sdk/src/connector/common/filterDataByTime.d.ts +2 -0
  85. package/dist/types/data-sdk/src/connector/common/filterDataByType.d.ts +3 -0
  86. package/dist/types/data-sdk/src/connector/common/flattenPoints.d.ts +8 -0
  87. package/dist/types/data-sdk/src/connector/common/fork.d.ts +5 -0
  88. package/dist/types/data-sdk/src/connector/common/range.d.ts +1 -0
  89. package/dist/types/data-sdk/src/connector/common/throttle.d.ts +1 -0
  90. package/dist/types/data-sdk/src/connector/common/toJsonLines.d.ts +1 -0
  91. package/dist/types/data-sdk/src/connector/data/BaseUniverseDataConnector.d.ts +68 -0
  92. package/dist/types/data-sdk/src/connector/data/DataFetchWorker.d.ts +1 -0
  93. package/dist/types/data-sdk/src/connector/data/LiveUniverseData.d.ts +36 -0
  94. package/dist/types/data-sdk/src/connector/data/PcdLoaderWorker.d.ts +1 -0
  95. package/dist/types/data-sdk/src/connector/data/StoreCache.d.ts +17 -0
  96. package/dist/types/data-sdk/src/connector/data/TelemetryUniverseData.d.ts +44 -0
  97. package/dist/types/data-sdk/src/connector/data/pcd.d.ts +23 -0
  98. package/dist/types/data-sdk/src/connector/data/queryStore.d.ts +12 -0
  99. package/dist/types/data-sdk/src/connector/data/range.d.ts +1 -0
  100. package/dist/types/data-sdk/src/connector/model/IPcd.d.ts +20 -0
  101. package/dist/types/data-sdk/src/connector/model/IPose.d.ts +3 -0
  102. package/dist/types/data-sdk/src/connector/model/IUniverseData.d.ts +124 -0
  103. package/dist/types/data-sdk/src/connector/model/IUniverseGridMap.d.ts +11 -0
  104. package/dist/types/data-sdk/src/connector/model/IUniverseOdometry.d.ts +6 -0
  105. package/dist/types/data-sdk/src/connector/model/IUniversePath.d.ts +3 -0
  106. package/dist/types/data-sdk/src/connector/model/IUniversePointCloud.d.ts +6 -0
  107. package/dist/types/data-sdk/src/devices/BaseDevice.d.ts +45 -0
  108. package/dist/types/data-sdk/src/devices/Device.d.ts +88 -0
  109. package/dist/types/data-sdk/src/devices/ICustomDataChannelCreator.d.ts +4 -0
  110. package/dist/types/data-sdk/src/devices/IRealtimeSubscriber.d.ts +7 -0
  111. package/dist/types/data-sdk/src/devices/IView.d.ts +29 -0
  112. package/dist/types/data-sdk/src/devices/PeerDevice.d.ts +35 -0
  113. package/dist/types/data-sdk/src/devices/device.types.d.ts +91 -0
  114. package/dist/types/data-sdk/src/init.d.ts +1 -0
  115. package/dist/types/data-sdk/src/main.d.ts +174 -0
  116. package/dist/types/data-sdk/src/message-bus/bidirectional/getDate.d.ts +1 -0
  117. package/dist/types/data-sdk/src/message-bus/bidirectional/prompt.d.ts +5 -0
  118. package/dist/types/data-sdk/src/message-bus/listeners/EmbeddedAppMessage.d.ts +54 -0
  119. package/dist/types/data-sdk/src/message-bus/listeners/addAccessTokenRefreshListener.d.ts +1 -0
  120. package/dist/types/data-sdk/src/message-bus/listeners/addChannelDataListener.d.ts +4 -0
  121. package/dist/types/data-sdk/src/message-bus/listeners/addMenuListener.d.ts +1 -0
  122. package/dist/types/data-sdk/src/message-bus/listeners/addModuleConfigurationListener.d.ts +2 -0
  123. package/dist/types/data-sdk/src/message-bus/listeners/addModuleDataListener.d.ts +29 -0
  124. package/dist/types/data-sdk/src/message-bus/listeners/addOverviewDeviceListener.d.ts +2 -0
  125. package/dist/types/data-sdk/src/message-bus/listeners/addStreamLIstener.d.ts +3 -0
  126. package/dist/types/data-sdk/src/message-bus/senders/AppMessage.d.ts +63 -0
  127. package/dist/types/data-sdk/src/message-bus/senders/disableAnalyticsBottomBar.d.ts +1 -0
  128. package/dist/types/data-sdk/src/message-bus/senders/goToDevice.d.ts +1 -0
  129. package/dist/types/data-sdk/src/message-bus/senders/goToTime.d.ts +1 -0
  130. package/dist/types/data-sdk/src/message-bus/senders/refreshAuthToken.d.ts +1 -0
  131. package/dist/types/data-sdk/src/message-bus/senders/requestModuleData.d.ts +1 -0
  132. package/dist/types/data-sdk/src/message-bus/senders/sendAppMessage.d.ts +2 -0
  133. package/dist/types/data-sdk/src/message-bus/senders/sendChannelData.d.ts +1 -0
  134. package/dist/types/data-sdk/src/message-bus/senders/setModuleDateTimeRange.d.ts +1 -0
  135. package/dist/types/data-sdk/src/message-bus/senders/setupModuleMenus.d.ts +3 -0
  136. package/dist/types/data-sdk/src/message-bus/senders/showMessage.d.ts +1 -0
  137. package/dist/types/data-sdk/src/model/AccessLevel.d.ts +5 -0
  138. package/dist/types/data-sdk/src/model/AggregateLevel.d.ts +1 -0
  139. package/dist/types/data-sdk/src/model/AggregateType.d.ts +2 -0
  140. package/dist/types/data-sdk/src/model/AnalyticsAggregateType.d.ts +2 -0
  141. package/dist/types/data-sdk/src/model/AnalyticsChartType.d.ts +2 -0
  142. package/dist/types/data-sdk/src/model/AnnotationAreaType.d.ts +2 -0
  143. package/dist/types/data-sdk/src/model/AnnotationType.d.ts +2 -0
  144. package/dist/types/data-sdk/src/model/CognitoRegion.d.ts +2 -0
  145. package/dist/types/data-sdk/src/model/DeviceType.d.ts +2 -0
  146. package/dist/types/data-sdk/src/model/EventSortableColumn.d.ts +1 -0
  147. package/dist/types/data-sdk/src/model/EventType.d.ts +2 -0
  148. package/dist/types/data-sdk/src/model/HealthStatus.d.ts +2 -0
  149. package/dist/types/data-sdk/src/model/HexRgbColor.d.ts +1 -0
  150. package/dist/types/data-sdk/src/model/IAccount.d.ts +7 -0
  151. package/dist/types/data-sdk/src/model/IAccountTree.d.ts +4 -0
  152. package/dist/types/data-sdk/src/model/IAggregateRow.d.ts +8 -0
  153. package/dist/types/data-sdk/src/model/IAnalyticsModule.d.ts +15 -0
  154. package/dist/types/data-sdk/src/model/IAnalyticsModuleConfiguration.d.ts +6 -0
  155. package/dist/types/data-sdk/src/model/IAnnotation.d.ts +13 -0
  156. package/dist/types/data-sdk/src/model/IAnnotationAreaTypeMap.d.ts +4 -0
  157. package/dist/types/data-sdk/src/model/IAnnotationQuery.d.ts +7 -0
  158. package/dist/types/data-sdk/src/model/IAudioInfo.d.ts +4 -0
  159. package/dist/types/data-sdk/src/model/IBaseEntity.d.ts +7 -0
  160. package/dist/types/data-sdk/src/model/IBaseEvent.d.ts +22 -0
  161. package/dist/types/data-sdk/src/model/IBattery.d.ts +6 -0
  162. package/dist/types/data-sdk/src/model/IBitset.d.ts +4 -0
  163. package/dist/types/data-sdk/src/model/IBoundingBox.d.ts +6 -0
  164. package/dist/types/data-sdk/src/model/IChallenge.d.ts +6 -0
  165. package/dist/types/data-sdk/src/model/IColorRGBA.d.ts +6 -0
  166. package/dist/types/data-sdk/src/model/ICommandDeliveryEvent.d.ts +3 -0
  167. package/dist/types/data-sdk/src/model/ICommandEventBase.d.ts +5 -0
  168. package/dist/types/data-sdk/src/model/ICommandParameter.d.ts +9 -0
  169. package/dist/types/data-sdk/src/model/ICommandPropgress.d.ts +5 -0
  170. package/dist/types/data-sdk/src/model/ICommandRequest.d.ts +9 -0
  171. package/dist/types/data-sdk/src/model/ICommandRequestEvent.d.ts +5 -0
  172. package/dist/types/data-sdk/src/model/ICommandResponse.d.ts +13 -0
  173. package/dist/types/data-sdk/src/model/ICommandResponseEvent.d.ts +3 -0
  174. package/dist/types/data-sdk/src/model/IComment.d.ts +7 -0
  175. package/dist/types/data-sdk/src/model/IConfigurationMap.d.ts +3 -0
  176. package/dist/types/data-sdk/src/model/ICustomEvent.d.ts +5 -0
  177. package/dist/types/data-sdk/src/model/IDataAggregate.d.ts +7 -0
  178. package/dist/types/data-sdk/src/model/IDataPoint.d.ts +7 -0
  179. package/dist/types/data-sdk/src/model/IDatapointEvent.d.ts +3 -0
  180. package/dist/types/data-sdk/src/model/IDevice.d.ts +31 -0
  181. package/dist/types/data-sdk/src/model/IDeviceOfflineEvent.d.ts +3 -0
  182. package/dist/types/data-sdk/src/model/IDeviceOnlineEvent.d.ts +3 -0
  183. package/dist/types/data-sdk/src/model/IDeviceQuery.d.ts +14 -0
  184. package/dist/types/data-sdk/src/model/IDeviceReportedConfigurationState.d.ts +3 -0
  185. package/dist/types/data-sdk/src/model/IDeviceRosState.d.ts +4 -0
  186. package/dist/types/data-sdk/src/model/IDeviceScope.d.ts +5 -0
  187. package/dist/types/data-sdk/src/model/IDeviceState.d.ts +16 -0
  188. package/dist/types/data-sdk/src/model/IDictionary.d.ts +3 -0
  189. package/dist/types/data-sdk/src/model/IEvent.d.ts +18 -0
  190. package/dist/types/data-sdk/src/model/IEventFilter.d.ts +19 -0
  191. package/dist/types/data-sdk/src/model/IEventQuery.d.ts +7 -0
  192. package/dist/types/data-sdk/src/model/IEventSort.d.ts +6 -0
  193. package/dist/types/data-sdk/src/model/IEventTriggerGroup.d.ts +13 -0
  194. package/dist/types/data-sdk/src/model/IFieldParametersTypeMap.d.ts +8 -0
  195. package/dist/types/data-sdk/src/model/IFile.d.ts +6 -0
  196. package/dist/types/data-sdk/src/model/IFileInfo.d.ts +6 -0
  197. package/dist/types/data-sdk/src/model/IFilter.d.ts +10 -0
  198. package/dist/types/data-sdk/src/model/IFleet.d.ts +8 -0
  199. package/dist/types/data-sdk/src/model/IGoal.d.ts +5 -0
  200. package/dist/types/data-sdk/src/model/IGoalID.d.ts +3 -0
  201. package/dist/types/data-sdk/src/model/IH264VideoFrame.d.ts +5 -0
  202. package/dist/types/data-sdk/src/model/IHealth.d.ts +4 -0
  203. package/dist/types/data-sdk/src/model/IHwInfo.d.ts +17 -0
  204. package/dist/types/data-sdk/src/model/IImage.d.ts +6 -0
  205. package/dist/types/data-sdk/src/model/IImageAnnotation.d.ts +9 -0
  206. package/dist/types/data-sdk/src/model/IInterventionRequest.d.ts +9 -0
  207. package/dist/types/data-sdk/src/model/IInterventionResponse.d.ts +10 -0
  208. package/dist/types/data-sdk/src/model/IInterventionTypeMap.d.ts +26 -0
  209. package/dist/types/data-sdk/src/model/IJointState.d.ts +8 -0
  210. package/dist/types/data-sdk/src/model/IKernelInfo.d.ts +5 -0
  211. package/dist/types/data-sdk/src/model/ILabel.d.ts +4 -0
  212. package/dist/types/data-sdk/src/model/ILabeledPolygon.d.ts +4 -0
  213. package/dist/types/data-sdk/src/model/ILabelingRequestData.d.ts +9 -0
  214. package/dist/types/data-sdk/src/model/ILabelingResponseData.d.ts +4 -0
  215. package/dist/types/data-sdk/src/model/ILocalization.d.ts +14 -0
  216. package/dist/types/data-sdk/src/model/ILocation.d.ts +6 -0
  217. package/dist/types/data-sdk/src/model/IMap.d.ts +10 -0
  218. package/dist/types/data-sdk/src/model/IMarker3D.d.ts +27 -0
  219. package/dist/types/data-sdk/src/model/IMarker3DArray.d.ts +4 -0
  220. package/dist/types/data-sdk/src/model/INetwork.d.ts +4 -0
  221. package/dist/types/data-sdk/src/model/INodeInfo.d.ts +5 -0
  222. package/dist/types/data-sdk/src/model/INumericAggregate.d.ts +7 -0
  223. package/dist/types/data-sdk/src/model/INumericSetAggregateMap.d.ts +5 -0
  224. package/dist/types/data-sdk/src/model/INumericSetEntry.d.ts +5 -0
  225. package/dist/types/data-sdk/src/model/IOdometry.d.ts +7 -0
  226. package/dist/types/data-sdk/src/model/IOnDemandPresenceStreamItemGroup.d.ts +6 -0
  227. package/dist/types/data-sdk/src/model/IOnDemandPresenceTimeRange.d.ts +7 -0
  228. package/dist/types/data-sdk/src/model/IOnDemandState.d.ts +4 -0
  229. package/dist/types/data-sdk/src/model/IOnDemandStreamPresence.d.ts +5 -0
  230. package/dist/types/data-sdk/src/model/IOnDemmandBuffer.d.ts +6 -0
  231. package/dist/types/data-sdk/src/model/IOnvifDevice.d.ts +5 -0
  232. package/dist/types/data-sdk/src/model/IOsInfo.d.ts +6 -0
  233. package/dist/types/data-sdk/src/model/IPath.d.ts +5 -0
  234. package/dist/types/data-sdk/src/model/IPhysicalInterventionMetadata.d.ts +3 -0
  235. package/dist/types/data-sdk/src/model/IPhysicalRequestData.d.ts +8 -0
  236. package/dist/types/data-sdk/src/model/IPhysicalResponsetData.d.ts +3 -0
  237. package/dist/types/data-sdk/src/model/IPointCloud.d.ts +6 -0
  238. package/dist/types/data-sdk/src/model/IPortForwardingSessionRecord.d.ts +3 -0
  239. package/dist/types/data-sdk/src/model/IPoseWithCovariance.d.ts +5 -0
  240. package/dist/types/data-sdk/src/model/IQuaternion.d.ts +6 -0
  241. package/dist/types/data-sdk/src/model/IQuery.d.ts +9 -0
  242. package/dist/types/data-sdk/src/model/IRole.d.ts +9 -0
  243. package/dist/types/data-sdk/src/model/IRosTopic.d.ts +4 -0
  244. package/dist/types/data-sdk/src/model/IRtcPointCloud.d.ts +5 -0
  245. package/dist/types/data-sdk/src/model/IRtcSessionRecord.d.ts +9 -0
  246. package/dist/types/data-sdk/src/model/IScopeFilter.d.ts +6 -0
  247. package/dist/types/data-sdk/src/model/ISelectionRequestData.d.ts +6 -0
  248. package/dist/types/data-sdk/src/model/ISelectionResponseData.d.ts +3 -0
  249. package/dist/types/data-sdk/src/model/IShare.d.ts +16 -0
  250. package/dist/types/data-sdk/src/model/ISheetParameters.d.ts +5 -0
  251. package/dist/types/data-sdk/src/model/ISpreadsheetIdRange.d.ts +4 -0
  252. package/dist/types/data-sdk/src/model/ISqlColumn.d.ts +6 -0
  253. package/dist/types/data-sdk/src/model/ISqlQuery.d.ts +21 -0
  254. package/dist/types/data-sdk/src/model/ISqlResult.d.ts +12 -0
  255. package/dist/types/data-sdk/src/model/ISqlRow.d.ts +5 -0
  256. package/dist/types/data-sdk/src/model/IStatefulEvent.d.ts +5 -0
  257. package/dist/types/data-sdk/src/model/IStream.d.ts +18 -0
  258. package/dist/types/data-sdk/src/model/IStreamAggregateData.d.ts +11 -0
  259. package/dist/types/data-sdk/src/model/IStreamAggregateTypeMap.d.ts +10 -0
  260. package/dist/types/data-sdk/src/model/IStreamColumn.d.ts +7 -0
  261. package/dist/types/data-sdk/src/model/IStreamCurrentValue.d.ts +13 -0
  262. package/dist/types/data-sdk/src/model/IStreamData.d.ts +11 -0
  263. package/dist/types/data-sdk/src/model/IStreamTypeMap.d.ts +27 -0
  264. package/dist/types/data-sdk/src/model/ISystemEvent.d.ts +3 -0
  265. package/dist/types/data-sdk/src/model/ITagParameters.d.ts +3 -0
  266. package/dist/types/data-sdk/src/model/ITagSets.d.ts +3 -0
  267. package/dist/types/data-sdk/src/model/ITaggedEntity.d.ts +5 -0
  268. package/dist/types/data-sdk/src/model/ITaggedUsers.d.ts +4 -0
  269. package/dist/types/data-sdk/src/model/ITags.d.ts +3 -0
  270. package/dist/types/data-sdk/src/model/ITaskReportColumn.d.ts +7 -0
  271. package/dist/types/data-sdk/src/model/ITaskSummary.d.ts +13 -0
  272. package/dist/types/data-sdk/src/model/ITeleopRequestData.d.ts +3 -0
  273. package/dist/types/data-sdk/src/model/ITeleopResponseData.d.ts +4 -0
  274. package/dist/types/data-sdk/src/model/ITeleopSessionRecord.d.ts +3 -0
  275. package/dist/types/data-sdk/src/model/ITransform.d.ts +6 -0
  276. package/dist/types/data-sdk/src/model/ITransformNode.d.ts +7 -0
  277. package/dist/types/data-sdk/src/model/ITriggeredEvent.d.ts +11 -0
  278. package/dist/types/data-sdk/src/model/ITwist.d.ts +5 -0
  279. package/dist/types/data-sdk/src/model/IUser.d.ts +29 -0
  280. package/dist/types/data-sdk/src/model/IUserParameters.d.ts +4 -0
  281. package/dist/types/data-sdk/src/model/IUserScope.d.ts +15 -0
  282. package/dist/types/data-sdk/src/model/IVector2.d.ts +4 -0
  283. package/dist/types/data-sdk/src/model/IVector3.d.ts +5 -0
  284. package/dist/types/data-sdk/src/model/IVideo.d.ts +7 -0
  285. package/dist/types/data-sdk/src/model/IVideoDevice.d.ts +4 -0
  286. package/dist/types/data-sdk/src/model/IView.d.ts +15 -0
  287. package/dist/types/data-sdk/src/model/IdeviceFollower.d.ts +4 -0
  288. package/dist/types/data-sdk/src/model/InetworkInfo.d.ts +4 -0
  289. package/dist/types/data-sdk/src/model/InterventionType.d.ts +2 -0
  290. package/dist/types/data-sdk/src/model/IsoDate.d.ts +1 -0
  291. package/dist/types/data-sdk/src/model/JsonSchema.d.ts +39 -0
  292. package/dist/types/data-sdk/src/model/Marker3DAction.d.ts +2 -0
  293. package/dist/types/data-sdk/src/model/Marker3DType.d.ts +2 -0
  294. package/dist/types/data-sdk/src/model/OnDemandBufferType.d.ts +2 -0
  295. package/dist/types/data-sdk/src/model/Policies.d.ts +35 -0
  296. package/dist/types/data-sdk/src/model/RequiredKeys.d.ts +3 -0
  297. package/dist/types/data-sdk/src/model/Resource.d.ts +2 -0
  298. package/dist/types/data-sdk/src/model/SessionType.d.ts +26 -0
  299. package/dist/types/data-sdk/src/model/Severity.d.ts +2 -0
  300. package/dist/types/data-sdk/src/model/SortOrder.d.ts +1 -0
  301. package/dist/types/data-sdk/src/model/StreamType.d.ts +2 -0
  302. package/dist/types/data-sdk/src/model/TelemetryResult.d.ts +9 -0
  303. package/dist/types/data-sdk/src/model/Timestamp.d.ts +1 -0
  304. package/dist/types/data-sdk/src/model/Uuid.d.ts +1 -0
  305. package/dist/types/data-sdk/src/model/VideoMimeType.d.ts +2 -0
  306. package/dist/types/data-sdk/src/model/accessLevels.d.ts +1 -0
  307. package/dist/types/data-sdk/src/model/aggregateLevels.d.ts +2 -0
  308. package/dist/types/data-sdk/src/model/aggregateTypes.d.ts +1 -0
  309. package/dist/types/data-sdk/src/model/analyticsAggregteTypes.d.ts +1 -0
  310. package/dist/types/data-sdk/src/model/analyticsChartTypes.d.ts +1 -0
  311. package/dist/types/data-sdk/src/model/annotationTypes.d.ts +1 -0
  312. package/dist/types/data-sdk/src/model/cognitoRegions.d.ts +1 -0
  313. package/dist/types/data-sdk/src/model/deviceTypes.d.ts +1 -0
  314. package/dist/types/data-sdk/src/model/eventTypes.d.ts +1 -0
  315. package/dist/types/data-sdk/src/model/healthStatuses.d.ts +1 -0
  316. package/dist/types/data-sdk/src/model/interventionTypes.d.ts +1 -0
  317. package/dist/types/data-sdk/src/model/marker3DActions.d.ts +1 -0
  318. package/dist/types/data-sdk/src/model/marker3DTypes.d.ts +1 -0
  319. package/dist/types/data-sdk/src/model/onDemandBufferTypes.d.ts +1 -0
  320. package/dist/types/data-sdk/src/model/resources.d.ts +1 -0
  321. package/dist/types/data-sdk/src/model/severities.d.ts +1 -0
  322. package/dist/types/data-sdk/src/model/videoMimeTypes.d.ts +1 -0
  323. package/dist/types/data-sdk/src/stores/AuthenticationErrors.d.ts +9 -0
  324. package/dist/types/data-sdk/src/stores/AuthenticationResult.d.ts +15 -0
  325. package/dist/types/data-sdk/src/stores/AuthenticationStore.d.ts +70 -0
  326. package/dist/types/data-sdk/src/stores/IAuthentication.d.ts +6 -0
  327. package/dist/types/data-sdk/src/stores/IAuthenticationStore.d.ts +43 -0
  328. package/dist/types/data-sdk/src/stores/ICheckSsoResult.d.ts +5 -0
  329. package/dist/types/data-sdk/src/stores/IConfirmForgotPasswordRequest.d.ts +5 -0
  330. package/dist/types/data-sdk/src/stores/IRespondToNewPasswordRequiredChallengeRequest.d.ts +5 -0
  331. package/dist/types/data-sdk/src/utils/RtcClientPool.d.ts +25 -0
  332. package/dist/types/data-sdk/src/utils/aggregateFunctionUtils.d.ts +38 -0
  333. package/dist/types/data-sdk/src/utils/getCurrentModuleContext.d.ts +1 -0
  334. package/dist/types/data-sdk/src/utils/isRtcPeer.d.ts +2 -0
  335. package/dist/types/data-sdk/src/utils/numericAggregateUtils.d.ts +26 -0
  336. package/dist/types/data-sdk/src/utils/serializeHash.d.ts +2 -0
  337. package/dist/types/data-sdk/src/utils/stringToArrayBuffer.d.ts +1 -0
  338. package/dist/types/data-sdk/src/utils/timeout.d.ts +1 -0
  339. package/package.json +1 -1
  340. package/CHANGELOG.md +0 -510
@@ -0,0 +1,63 @@
1
+ import { JsonSchema } from "../../model/JsonSchema";
2
+ export interface RequestDateMessage {
3
+ type: "request_date";
4
+ minTime?: Date;
5
+ maxTime?: Date;
6
+ time?: Date;
7
+ }
8
+ export interface GoToTimeMessage {
9
+ type: "go_to_time";
10
+ time: number;
11
+ }
12
+ export interface PromptMessage {
13
+ type: "prompt";
14
+ promptId: string;
15
+ schema: JsonSchema;
16
+ okText?: string;
17
+ cancelText?: string;
18
+ }
19
+ export interface GoToDeviceMessage {
20
+ type: "go_to_device";
21
+ deviceId: string;
22
+ }
23
+ export interface RequestModuleDataMessage {
24
+ type: "request_module_data";
25
+ module: string;
26
+ }
27
+ export interface ShowMessageMessage {
28
+ type: "show_message";
29
+ message: string;
30
+ }
31
+ export interface RefreshAuthTokenMessage {
32
+ type: "refresh_auth_token";
33
+ module: string;
34
+ }
35
+ export interface SetModuleDataTimeRangeMessage {
36
+ type: "set_module_data_time_range";
37
+ module: string;
38
+ before: number;
39
+ after: number;
40
+ }
41
+ export interface SetupModuleMenusMessage {
42
+ type: "setup_module_menus";
43
+ module: string;
44
+ menus: {
45
+ label: string;
46
+ }[];
47
+ }
48
+ export interface SendChannelDataMessage {
49
+ type: "send_channel_data";
50
+ channel: string;
51
+ source: string;
52
+ data: any;
53
+ }
54
+ export interface RequestDevicesMessage {
55
+ type: "request_devices";
56
+ }
57
+ export interface HideAnalyticsDatePickerMessage {
58
+ type: "hide_analytics_date_picker";
59
+ }
60
+ export interface FormantOnlineMessage {
61
+ type: "formant_online";
62
+ }
63
+ export type AppMessage = RequestDateMessage | GoToTimeMessage | PromptMessage | GoToDeviceMessage | RequestModuleDataMessage | ShowMessageMessage | RefreshAuthTokenMessage | SetModuleDataTimeRangeMessage | SetupModuleMenusMessage | SendChannelDataMessage | RequestDevicesMessage | HideAnalyticsDatePickerMessage | FormantOnlineMessage;
@@ -0,0 +1 @@
1
+ export declare function disableAnalyticsBottomBar(): void;
@@ -0,0 +1 @@
1
+ export declare function goToDevice(deviceId: string): void;
@@ -0,0 +1 @@
1
+ export declare function goToTime(date: Date): void;
@@ -0,0 +1 @@
1
+ export declare function refreshAuthToken(): void;
@@ -0,0 +1 @@
1
+ export declare function requestModuleData(): void;
@@ -0,0 +1,2 @@
1
+ import { AppMessage } from "./AppMessage";
2
+ export declare function sendAppMessage(message: AppMessage): void;
@@ -0,0 +1 @@
1
+ export declare function sendChannelData(channel: string, data: any): void;
@@ -0,0 +1 @@
1
+ export declare function setModuleDateTimeRange(beforeInMilliseconds: number, afterInMilliseconds?: number): void;
@@ -0,0 +1,3 @@
1
+ export declare function setupModuleMenus(menus: {
2
+ label: string;
3
+ }[]): void;
@@ -0,0 +1 @@
1
+ export declare function showMessage(message: string): void;
@@ -0,0 +1,5 @@
1
+ import { accessLevels } from "./accessLevels";
2
+ export type AccessLevel = (typeof accessLevels)[number];
3
+ export declare const viewer: "viewer" | "operator" | "administrator";
4
+ export declare const operator: "viewer" | "operator" | "administrator";
5
+ export declare const administrator: "viewer" | "operator" | "administrator";
@@ -0,0 +1 @@
1
+ export type AggregateLevel = "year" | "month" | "week" | "day" | "hour" | "minute" | "quarter";
@@ -0,0 +1,2 @@
1
+ import { aggregateTypes } from "./aggregateTypes";
2
+ export type AggregateType = (typeof aggregateTypes)[number];
@@ -0,0 +1,2 @@
1
+ import { analyticsAggregateTypes } from "./analyticsAggregteTypes";
2
+ export type AnalyticsAggregateType = (typeof analyticsAggregateTypes)[number];
@@ -0,0 +1,2 @@
1
+ import { analyicsChartTypes } from "./analyticsChartTypes";
2
+ export type AnalyticsChartType = (typeof analyicsChartTypes)[number];
@@ -0,0 +1,2 @@
1
+ import { IAnnotationAreaTypeMap } from "./IAnnotationAreaTypeMap";
2
+ export type AnnotationAreaType = keyof IAnnotationAreaTypeMap;
@@ -0,0 +1,2 @@
1
+ import { IFieldParametersTypeMap } from "./IFieldParametersTypeMap";
2
+ export type AnnotationType = keyof IFieldParametersTypeMap;
@@ -0,0 +1,2 @@
1
+ import { cognitoRegions } from "./cognitoRegions";
2
+ export type CognitoRegion = (typeof cognitoRegions)[number];
@@ -0,0 +1,2 @@
1
+ import { deviceType } from "./deviceTypes";
2
+ export type DeviceType = (typeof deviceType)[number];
@@ -0,0 +1 @@
1
+ export type EventSortableColumn = "device.name" | "time";
@@ -0,0 +1,2 @@
1
+ import { eventTypes } from "./eventTypes";
2
+ export type EventType = (typeof eventTypes)[number];
@@ -0,0 +1,2 @@
1
+ import { healthStatuses } from "./healthStatuses";
2
+ export type HealthStatus = (typeof healthStatuses)[number];
@@ -0,0 +1 @@
1
+ export type HexRgbColor = string;
@@ -0,0 +1,7 @@
1
+ import { IBaseEntity } from "./IBaseEntity";
2
+ import { Uuid } from "./Uuid";
3
+ export interface IAccount extends IBaseEntity {
4
+ organizationId?: Uuid;
5
+ name: string;
6
+ parentId: Uuid | null;
7
+ }
@@ -0,0 +1,4 @@
1
+ import { IAccount } from "./IAccount";
2
+ export interface IAccountTree extends IAccount {
3
+ children?: IAccountTree[];
4
+ }
@@ -0,0 +1,8 @@
1
+ import { AnalyticsAggregateType } from "./AnalyticsAggregateType";
2
+ export interface IAggregateRow {
3
+ unit?: string;
4
+ label?: string;
5
+ name: string;
6
+ value: number;
7
+ type: AnalyticsAggregateType;
8
+ }
@@ -0,0 +1,15 @@
1
+ import { IBaseEntity } from "./IBaseEntity";
2
+ import { Uuid } from "./Uuid";
3
+ import { ISqlQuery } from "./ISqlQuery";
4
+ import { IAnalyticsModuleConfiguration } from "./IAnalyticsModuleConfiguration";
5
+ export interface IAnalyticsModule extends IBaseEntity {
6
+ id?: Uuid;
7
+ organizationId?: Uuid;
8
+ name: string;
9
+ query: ISqlQuery | null;
10
+ configuration: IAnalyticsModuleConfiguration | null;
11
+ layout: any | null;
12
+ data: any[] | null;
13
+ streamIds: Uuid[];
14
+ fullscreen?: boolean;
15
+ }
@@ -0,0 +1,6 @@
1
+ import { AnalyticsAggregateType } from "./AnalyticsAggregateType";
2
+ import { AnalyticsChartType } from "./AnalyticsChartType";
3
+ export interface IAnalyticsModuleConfiguration {
4
+ chartType?: AnalyticsChartType;
5
+ aggregateType?: AnalyticsAggregateType;
6
+ }
@@ -0,0 +1,13 @@
1
+ import { IBaseEvent } from "./IBaseEvent";
2
+ import { IsoDate } from "./IsoDate";
3
+ import { ISpreadsheetIdRange } from "./ISpreadsheetIdRange";
4
+ import { ITaggedUsers } from "./ITaggedUsers";
5
+ import { Uuid } from "./Uuid";
6
+ export interface IAnnotation extends IBaseEvent<"annotation"> {
7
+ editedAt?: IsoDate;
8
+ userId: Uuid;
9
+ annotationTemplateId?: Uuid | null;
10
+ taggedUsers?: ITaggedUsers | null;
11
+ publishedTo?: ISpreadsheetIdRange;
12
+ note?: string | null;
13
+ }
@@ -0,0 +1,4 @@
1
+ import { IBoundingBox } from "./IBoundingBox";
2
+ export interface IAnnotationAreaTypeMap {
3
+ "bounding box": IBoundingBox;
4
+ }
@@ -0,0 +1,7 @@
1
+ import { IEventQuery } from "./IEventQuery";
2
+ import { AggregateLevel } from "./AggregateLevel";
3
+ export interface IAnnotationQuery extends IEventQuery {
4
+ tagKey?: string;
5
+ annotationName?: string;
6
+ aggregate?: AggregateLevel;
7
+ }
@@ -0,0 +1,4 @@
1
+ export interface IAudioDevice {
2
+ id: string;
3
+ name: string;
4
+ }
@@ -0,0 +1,7 @@
1
+ import { IsoDate } from "./IsoDate";
2
+ import { Uuid } from "./Uuid";
3
+ export interface IBaseEntity {
4
+ id?: Uuid;
5
+ createdAt?: IsoDate;
6
+ updatedAt?: IsoDate;
7
+ }
@@ -0,0 +1,22 @@
1
+ import { EventType } from "./EventType";
2
+ import { IDictionary } from "./IDictionary";
3
+ import { IsoDate } from "./IsoDate";
4
+ import { ITaggedEntity } from "./ITaggedEntity";
5
+ import { StreamType } from "./StreamType";
6
+ import { Uuid } from "./Uuid";
7
+ export interface IBaseEvent<T extends EventType = EventType> extends ITaggedEntity {
8
+ type: T;
9
+ organizationId?: Uuid;
10
+ time: IsoDate;
11
+ endTime?: IsoDate | null;
12
+ parentId?: Uuid | null;
13
+ metadata?: IDictionary;
14
+ message: string;
15
+ viewed?: boolean;
16
+ deviceId?: Uuid;
17
+ streamName?: string;
18
+ streamType?: StreamType;
19
+ notificationEnabled?: boolean;
20
+ eventTriggerId?: Uuid | null;
21
+ setsDeviceColor?: boolean;
22
+ }
@@ -0,0 +1,6 @@
1
+ export interface IBattery {
2
+ percentage: number;
3
+ voltage?: number;
4
+ current?: number;
5
+ charge?: number;
6
+ }
@@ -0,0 +1,4 @@
1
+ export interface IBitset {
2
+ keys: string[];
3
+ values: boolean[];
4
+ }
@@ -0,0 +1,6 @@
1
+ export interface IBoundingBox {
2
+ x: number;
3
+ y: number;
4
+ width: number;
5
+ height: number;
6
+ }
@@ -0,0 +1,6 @@
1
+ export interface IChallenge {
2
+ type: "new-password-required";
3
+ userId: string;
4
+ email: string;
5
+ session: string;
6
+ }
@@ -0,0 +1,6 @@
1
+ export interface IColorRGBA {
2
+ r: number;
3
+ g: number;
4
+ b: number;
5
+ a: number;
6
+ }
@@ -0,0 +1,3 @@
1
+ import { ICommandEventBase } from "./ICommandEventBase";
2
+ export interface ICommandDeliveryEvent extends ICommandEventBase<"command-delivery"> {
3
+ }
@@ -0,0 +1,5 @@
1
+ import { IBaseEvent } from "./IBaseEvent";
2
+ import { Uuid } from "./Uuid";
3
+ export interface ICommandEventBase<T extends "command-request" | "command-delivery" | "command-response"> extends IBaseEvent<T> {
4
+ commandId: Uuid;
5
+ }
@@ -0,0 +1,9 @@
1
+ import { IConfigurationMap } from "./IConfigurationMap";
2
+ import { IFileInfo } from "./IFileInfo";
3
+ import { IsoDate } from "./IsoDate";
4
+ export interface ICommandParameter {
5
+ value?: string;
6
+ meta?: IConfigurationMap;
7
+ scrubberTime: IsoDate;
8
+ files?: IFileInfo[];
9
+ }
@@ -0,0 +1,5 @@
1
+ export interface ICommandProgress {
2
+ commandId: string;
3
+ progress: number;
4
+ pending: boolean;
5
+ }
@@ -0,0 +1,9 @@
1
+ import { ICommandParameter } from "./ICommandParameter";
2
+ import { IsoDate } from "./IsoDate";
3
+ import { Uuid } from "./Uuid";
4
+ export interface ICommandRequest {
5
+ id: Uuid;
6
+ command: string;
7
+ parameter: ICommandParameter;
8
+ createdAt: IsoDate;
9
+ }
@@ -0,0 +1,5 @@
1
+ import { ICommandEventBase } from "./ICommandEventBase";
2
+ import { Uuid } from "./Uuid";
3
+ export interface ICommandRequestEvent extends ICommandEventBase<"command-request"> {
4
+ userId?: Uuid;
5
+ }
@@ -0,0 +1,13 @@
1
+ import { IsoDate } from "./IsoDate";
2
+ import { ITags } from "./ITags";
3
+ import { StreamType } from "./StreamType";
4
+ import { Uuid } from "./Uuid";
5
+ export interface ICommandResponse {
6
+ time: IsoDate;
7
+ message: string;
8
+ success: boolean;
9
+ replyToCommandRequestId: Uuid;
10
+ streamName?: string;
11
+ streamType?: StreamType;
12
+ tags?: ITags;
13
+ }
@@ -0,0 +1,3 @@
1
+ import { ICommandEventBase } from "./ICommandEventBase";
2
+ export interface ICommandResponseEvent extends ICommandEventBase<"command-response"> {
3
+ }
@@ -0,0 +1,7 @@
1
+ import { IBaseEvent } from "./IBaseEvent";
2
+ import { IsoDate } from "./IsoDate";
3
+ import { Uuid } from "./Uuid";
4
+ export interface IComment extends IBaseEvent<"comment"> {
5
+ editedAt?: IsoDate;
6
+ userId: Uuid;
7
+ }
@@ -0,0 +1,3 @@
1
+ export interface IConfigurationMap {
2
+ [key: string]: string;
3
+ }
@@ -0,0 +1,5 @@
1
+ import { IBaseEvent } from "./IBaseEvent";
2
+ import { Severity } from "./Severity";
3
+ export interface ICustomEvent extends IBaseEvent<"custom"> {
4
+ severity?: Severity;
5
+ }
@@ -0,0 +1,7 @@
1
+ import { IStreamAggregateTypeMap } from "./IStreamAggregateTypeMap";
2
+ import { StreamType } from "./StreamType";
3
+ import { Timestamp } from "./Timestamp";
4
+ export type IDataAggregate<T extends StreamType = StreamType> = [
5
+ Timestamp,
6
+ IStreamAggregateTypeMap[T]
7
+ ];
@@ -0,0 +1,7 @@
1
+ import { IStreamTypeMap } from "./IStreamTypeMap";
2
+ import { StreamType } from "./StreamType";
3
+ import { Timestamp } from "./Timestamp";
4
+ export type IDataPoint<T extends StreamType = StreamType> = [
5
+ Timestamp,
6
+ IStreamTypeMap[T]
7
+ ];
@@ -0,0 +1,3 @@
1
+ import { ITriggeredEvent } from "./ITriggeredEvent";
2
+ export interface IDatapointEvent extends ITriggeredEvent<"datapoint-event"> {
3
+ }
@@ -0,0 +1,31 @@
1
+ import { ITaggedEntity } from "./ITaggedEntity";
2
+ import { Uuid } from "./Uuid";
3
+ import { IScopeFilter } from "./IScopeFilter";
4
+ import { IsoDate } from "./IsoDate";
5
+ import { DeviceType } from "./DeviceType";
6
+ import { IDeviceScope } from "./IDeviceScope";
7
+ import { IDeviceState } from "./IDeviceState";
8
+ import { IDeviceFollower } from "./IdeviceFollower";
9
+ export interface IDevice extends ITaggedEntity {
10
+ organizationId?: Uuid;
11
+ name: string;
12
+ type?: DeviceType;
13
+ userId?: Uuid | null;
14
+ fleetId?: Uuid | null;
15
+ eventTriggerGroupId?: Uuid | null;
16
+ scope?: IScopeFilter | null;
17
+ deviceScope?: IDeviceScope;
18
+ publicKey: string;
19
+ desiredAgentVersion?: string | null;
20
+ desiredConfigurationVersion?: number | null;
21
+ temporaryConfigurationVersion?: number | null;
22
+ temporaryConfigurationExpiration?: IsoDate | null;
23
+ temporaryConfigurationTemplateId?: Uuid | null;
24
+ followers?: IDeviceFollower[];
25
+ slackChannels?: string[];
26
+ phoneNumber?: string;
27
+ state?: IDeviceState;
28
+ enabled?: boolean;
29
+ fullyConfigured?: boolean;
30
+ disabledAt?: IsoDate | null;
31
+ }
@@ -0,0 +1,3 @@
1
+ import { ITriggeredEvent } from "./ITriggeredEvent";
2
+ export interface IDeviceOfflineEvent extends ITriggeredEvent<"device-offline"> {
3
+ }
@@ -0,0 +1,3 @@
1
+ import { ITriggeredEvent } from "./ITriggeredEvent";
2
+ export interface IDeviceOnlineEvent extends ITriggeredEvent<"device-online"> {
3
+ }
@@ -0,0 +1,14 @@
1
+ import { ITagSets } from "./ITagSets";
2
+ import { IsoDate } from "./IsoDate";
3
+ import { DeviceType } from "./DeviceType";
4
+ export interface IDeviceQuery {
5
+ name?: string;
6
+ query?: string;
7
+ tags?: ITagSets;
8
+ enabled?: boolean;
9
+ fullyConfigured?: boolean;
10
+ type?: DeviceType;
11
+ count?: number;
12
+ offset?: number;
13
+ disabledBefore?: IsoDate;
14
+ }
@@ -0,0 +1,3 @@
1
+ export interface IDeviceReportedConfigurationState {
2
+ version: number | null;
3
+ }
@@ -0,0 +1,4 @@
1
+ import { IRosTopic } from "./IRosTopic";
2
+ export interface IDeviceRosState {
3
+ topics: IRosTopic[];
4
+ }
@@ -0,0 +1,5 @@
1
+ import { IScopeFilter } from "./IScopeFilter";
2
+ export interface IDeviceScope extends IScopeFilter {
3
+ views?: IScopeFilter;
4
+ commands?: IScopeFilter;
5
+ }
@@ -0,0 +1,16 @@
1
+ import { IDeviceReportedConfigurationState } from "./IDeviceReportedConfigurationState";
2
+ import { IHwInfo } from "./IHwInfo";
3
+ import { IDeviceRosState } from "./IDeviceRosState";
4
+ import { IDictionary } from "./IDictionary";
5
+ import { IOnDemandState } from "./IOnDemandState";
6
+ import { ICommandProgress } from "./ICommandPropgress";
7
+ export interface IDeviceState {
8
+ agentVersion?: string | null;
9
+ reportedConfiguration?: IDeviceReportedConfigurationState | null;
10
+ hwInfo?: IHwInfo | null;
11
+ ros?: IDeviceRosState | null;
12
+ env?: IDictionary | null;
13
+ otaEnabled?: boolean | null;
14
+ onDemand?: IOnDemandState | null;
15
+ commandProgress?: ICommandProgress[] | null;
16
+ }
@@ -0,0 +1,3 @@
1
+ export interface IDictionary<T = string> {
2
+ [key: string]: T;
3
+ }
@@ -0,0 +1,18 @@
1
+ import { IAnnotation } from "./IAnnotation";
2
+ import { ICommandDeliveryEvent } from "./ICommandDeliveryEvent";
3
+ import { ICommandRequestEvent } from "./ICommandRequestEvent";
4
+ import { ICommandResponseEvent } from "./ICommandResponseEvent";
5
+ import { IComment } from "./IComment";
6
+ import { ICustomEvent } from "./ICustomEvent";
7
+ import { IDatapointEvent } from "./IDatapointEvent";
8
+ import { IDeviceOfflineEvent } from "./IDeviceOfflineEvent";
9
+ import { IDeviceOnlineEvent } from "./IDeviceOnlineEvent";
10
+ import { IInterventionRequest } from "./IInterventionRequest";
11
+ import { IInterventionResponse } from "./IInterventionResponse";
12
+ import { IPortForwardingSessionRecord } from "./IPortForwardingSessionRecord";
13
+ import { IStatefulEvent } from "./IStatefulEvent";
14
+ import { ISystemEvent } from "./ISystemEvent";
15
+ import { ITaskSummary } from "./ITaskSummary";
16
+ import { ITeleopSessionRecord } from "./ITeleopSessionRecord";
17
+ import { ITriggeredEvent } from "./ITriggeredEvent";
18
+ export type IEvent = ITriggeredEvent<"triggered-event"> | IDatapointEvent | IDeviceOnlineEvent | IDeviceOfflineEvent | IInterventionRequest | IInterventionResponse | ITeleopSessionRecord | IPortForwardingSessionRecord | ICommandRequestEvent | ICommandResponseEvent | ICommandDeliveryEvent | ICustomEvent | IComment | ISystemEvent | IAnnotation | ITaskSummary | IStatefulEvent;
@@ -0,0 +1,19 @@
1
+ import { EventType } from "./EventType";
2
+ import { IFilter } from "./IFilter";
3
+ import { IsoDate } from "./IsoDate";
4
+ import { Severity } from "./Severity";
5
+ import { Uuid } from "./Uuid";
6
+ export interface IEventFilter extends IFilter {
7
+ id?: Uuid;
8
+ viewed?: boolean;
9
+ keyword?: string;
10
+ message?: string;
11
+ start?: IsoDate;
12
+ end?: IsoDate;
13
+ eventTypes?: EventType[];
14
+ notificationEnabled?: boolean;
15
+ userIds?: Uuid[];
16
+ annotationTemplateIds?: Uuid[];
17
+ disableNullMatches?: boolean;
18
+ severities?: Severity[];
19
+ }
@@ -0,0 +1,7 @@
1
+ import { IEventFilter } from "./IEventFilter";
2
+ import { IEventSort } from "./IEventSort";
3
+ export interface IEventQuery extends IEventFilter {
4
+ offset?: number;
5
+ count?: number;
6
+ sort?: IEventSort;
7
+ }
@@ -0,0 +1,6 @@
1
+ import { EventSortableColumn } from "./EventSortableColumn";
2
+ import { SortOrder } from "./SortOrder";
3
+ export interface IEventSort {
4
+ column: EventSortableColumn;
5
+ order: SortOrder;
6
+ }
@@ -0,0 +1,13 @@
1
+ import { Uuid } from "./Uuid";
2
+ import { IScopeFilter } from "./IScopeFilter";
3
+ import { ITaggedEntity } from "./ITaggedEntity";
4
+ import { ITags } from "./ITags";
5
+ import { IDevice } from "./IDevice";
6
+ export interface IEventTriggerGroup extends ITaggedEntity {
7
+ organizationId?: Uuid;
8
+ deviceScope: IScopeFilter;
9
+ enabled?: boolean;
10
+ smsTags: ITags;
11
+ phoneNumbers?: string[];
12
+ devices?: IDevice[];
13
+ }
@@ -0,0 +1,8 @@
1
+ import { ISheetParameters } from "./ISheetParameters";
2
+ import { ITagParameters } from "./ITagParameters";
3
+ import { IUserParameters } from "./IUserParameters";
4
+ export interface IFieldParametersTypeMap {
5
+ tag: ITagParameters;
6
+ sheet: ISheetParameters;
7
+ user: IUserParameters;
8
+ }
@@ -0,0 +1,6 @@
1
+ export interface IFile {
2
+ url: string;
3
+ filename: string;
4
+ size: number;
5
+ previewUrl?: string;
6
+ }
@@ -0,0 +1,6 @@
1
+ import { Uuid } from "./Uuid";
2
+ export interface IFileInfo {
3
+ id: Uuid;
4
+ name?: string;
5
+ url?: string;
6
+ }
@@ -0,0 +1,10 @@
1
+ import { StreamType } from "./StreamType";
2
+ import { ITagSets } from "./ITagSets";
3
+ import { Uuid } from "./Uuid";
4
+ export interface IFilter {
5
+ deviceIds?: Uuid[];
6
+ names?: string[];
7
+ types?: StreamType[];
8
+ tags?: ITagSets;
9
+ notNames?: string[];
10
+ }