@kosdev-code/kos-ui-sdk 2.0.43 → 2.0.45

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 (445) hide show
  1. package/common/events/eventBus.d.ts +30 -0
  2. package/common/events/eventBus.d.ts.map +1 -1
  3. package/common/events/eventBus.functional.d.ts +48 -0
  4. package/common/events/eventBus.functional.d.ts.map +1 -1
  5. package/common/events/eventBus.state.d.ts +33 -0
  6. package/common/events/eventBus.state.d.ts.map +1 -1
  7. package/core/constants/model-constants.d.ts +9 -0
  8. package/core/constants/model-constants.d.ts.map +1 -0
  9. package/core/core/companion-instantiator.d.ts +71 -0
  10. package/core/core/companion-instantiator.d.ts.map +1 -0
  11. package/core/core/decorators/fsm-injection-utils.d.ts +16 -0
  12. package/core/core/decorators/fsm-injection-utils.d.ts.map +1 -0
  13. package/core/core/decorators/index.d.ts +11 -0
  14. package/core/core/decorators/index.d.ts.map +1 -1
  15. package/core/core/decorators/kos-child.d.ts +2 -0
  16. package/core/core/decorators/kos-child.d.ts.map +1 -1
  17. package/core/core/decorators/kos-companion.d.ts +158 -8
  18. package/core/core/decorators/kos-companion.d.ts.map +1 -1
  19. package/core/core/decorators/kos-container-aware.d.ts +619 -0
  20. package/core/core/decorators/kos-container-aware.d.ts.map +1 -0
  21. package/core/core/decorators/kos-context.d.ts +6 -0
  22. package/core/core/decorators/kos-context.d.ts.map +1 -1
  23. package/core/core/decorators/kos-execution-context.d.ts +63 -0
  24. package/core/core/decorators/kos-execution-context.d.ts.map +1 -0
  25. package/core/core/decorators/kos-future-aware.d.ts +162 -0
  26. package/core/core/decorators/kos-future-aware.d.ts.map +1 -0
  27. package/core/core/decorators/kos-http-decorators.d.ts +15 -0
  28. package/core/core/decorators/kos-http-decorators.d.ts.map +1 -1
  29. package/core/core/decorators/kos-log.d.ts +4 -0
  30. package/core/core/decorators/kos-log.d.ts.map +1 -1
  31. package/core/core/decorators/kos-logger-aware.d.ts +105 -0
  32. package/core/core/decorators/kos-logger-aware.d.ts.map +1 -0
  33. package/core/core/decorators/kos-model-effect.d.ts +9 -0
  34. package/core/core/decorators/kos-model-effect.d.ts.map +1 -1
  35. package/core/core/decorators/kos-multiple-future-aware.d.ts +217 -0
  36. package/core/core/decorators/kos-multiple-future-aware.d.ts.map +1 -0
  37. package/core/core/decorators/kos-parent.d.ts +4 -0
  38. package/core/core/decorators/kos-parent.d.ts.map +1 -1
  39. package/core/core/decorators/kos-reference.d.ts +9 -0
  40. package/core/core/decorators/kos-reference.d.ts.map +1 -1
  41. package/core/core/decorators/kos-service-request-helpers.d.ts +60 -0
  42. package/core/core/decorators/kos-service-request-helpers.d.ts.map +1 -0
  43. package/core/core/decorators/kos-service-request.d.ts +498 -0
  44. package/core/core/decorators/kos-service-request.d.ts.map +1 -0
  45. package/core/core/decorators/kos-state-machine.d.ts +534 -0
  46. package/core/core/decorators/kos-state-machine.d.ts.map +1 -0
  47. package/core/core/decorators/kos-topic-handler-flow-control.d.ts +17 -1
  48. package/core/core/decorators/kos-topic-handler-flow-control.d.ts.map +1 -1
  49. package/core/core/decorators/kos-trouble-aware.d.ts +77 -0
  50. package/core/core/decorators/kos-trouble-aware.d.ts.map +1 -0
  51. package/core/core/decorators/kos-view-model.d.ts +176 -0
  52. package/core/core/decorators/kos-view-model.d.ts.map +1 -0
  53. package/core/core/decorators/kosDependency.d.ts +4 -1
  54. package/core/core/decorators/kosDependency.d.ts.map +1 -1
  55. package/core/core/decorators/kosModel.d.ts +17 -2
  56. package/core/core/decorators/kosModel.d.ts.map +1 -1
  57. package/core/core/decorators/kosSubscribe.d.ts +9 -0
  58. package/core/core/decorators/kosSubscribe.d.ts.map +1 -1
  59. package/core/core/decorators/kosTopicHandler.d.ts +87 -5
  60. package/core/core/decorators/kosTopicHandler.d.ts.map +1 -1
  61. package/core/core/decorators/propKeys.d.ts +14 -0
  62. package/core/core/decorators/propKeys.d.ts.map +1 -1
  63. package/core/core/decorators/resolve-parameters.d.ts.map +1 -1
  64. package/core/core/extension/extension-manager.d.ts +64 -4
  65. package/core/core/extension/extension-manager.d.ts.map +1 -1
  66. package/core/core/extension/initialize-extension.d.ts +24 -0
  67. package/core/core/extension/initialize-extension.d.ts.map +1 -1
  68. package/core/core/extension/plugin-extension-manager.d.ts +11 -0
  69. package/core/core/extension/plugin-extension-manager.d.ts.map +1 -1
  70. package/core/core/kos-container-model.d.ts +188 -0
  71. package/core/core/kos-container-model.d.ts.map +1 -1
  72. package/core/core/kos-data-container.d.ts +93 -1
  73. package/core/core/kos-data-container.d.ts.map +1 -1
  74. package/core/core/kos-registration.d.ts.map +1 -1
  75. package/core/core/kos-singleton-registration.d.ts.map +1 -1
  76. package/core/core/kosCore.d.ts.map +1 -1
  77. package/core/core/kosModel.d.ts +55 -1
  78. package/core/core/kosModel.d.ts.map +1 -1
  79. package/core/core/kosModelManager.d.ts +11 -1
  80. package/core/core/kosModelManager.d.ts.map +1 -1
  81. package/core/core/log/log.d.ts.map +1 -1
  82. package/core/core/model/apply-kos-dev-tool-support.d.ts.map +1 -1
  83. package/core/core/model/kos-model-component-factory.d.ts +4 -0
  84. package/core/core/model/kos-model-component-factory.d.ts.map +1 -1
  85. package/core/core/model/kos-offline-queue.d.ts +78 -1
  86. package/core/core/model/kos-offline-queue.d.ts.map +1 -1
  87. package/core/core/model/kos-service-request-manager.d.ts +102 -0
  88. package/core/core/model/kos-service-request-manager.d.ts.map +1 -0
  89. package/core/core/model/kos-subscription-manager.d.ts +20 -0
  90. package/core/core/model/kos-subscription-manager.d.ts.map +1 -1
  91. package/core/core/model/model-introspection-utils.d.ts +1 -0
  92. package/core/core/model/model-introspection-utils.d.ts.map +1 -1
  93. package/core/core/model/service-response-store.d.ts +164 -0
  94. package/core/core/model/service-response-store.d.ts.map +1 -0
  95. package/core/core/model-instantiator.d.ts +19 -0
  96. package/core/core/model-instantiator.d.ts.map +1 -1
  97. package/core/core/registration/index.d.ts +1 -0
  98. package/core/core/registration/index.d.ts.map +1 -1
  99. package/core/core/services/browser-router.d.ts.map +1 -1
  100. package/core/core/transport/webSocketTransport.d.ts +2 -1
  101. package/core/core/transport/webSocketTransport.d.ts.map +1 -1
  102. package/core/core/types/registration.d.ts +7 -0
  103. package/core/core/types/registration.d.ts.map +1 -1
  104. package/core/index.d.ts +2 -1
  105. package/core/index.d.ts.map +1 -1
  106. package/core/types/index.d.ts +1 -0
  107. package/core/types/index.d.ts.map +1 -1
  108. package/core/types/kos-dependency.d.ts +48 -1
  109. package/core/types/kos-dependency.d.ts.map +1 -1
  110. package/core/types/service-response-store.d.ts +162 -0
  111. package/core/types/service-response-store.d.ts.map +1 -0
  112. package/core/types/utils/kos-fetch.d.ts +121 -0
  113. package/core/types/utils/kos-fetch.d.ts.map +1 -1
  114. package/core/util/ancestor-path-visitor.d.ts +60 -0
  115. package/core/util/ancestor-path-visitor.d.ts.map +1 -0
  116. package/core/util/api-request-id.d.ts +4 -0
  117. package/core/util/api-request-id.d.ts.map +1 -1
  118. package/core/util/apply-mixins.d.ts +4 -0
  119. package/core/util/apply-mixins.d.ts.map +1 -1
  120. package/core/util/array-utils.d.ts +4 -0
  121. package/core/util/array-utils.d.ts.map +1 -1
  122. package/core/util/container-utils.d.ts +264 -11
  123. package/core/util/container-utils.d.ts.map +1 -1
  124. package/core/util/date-utils.d.ts +29 -0
  125. package/core/util/date-utils.d.ts.map +1 -1
  126. package/core/util/debounce.d.ts +3 -0
  127. package/core/util/debounce.d.ts.map +1 -1
  128. package/core/util/error-logger.d.ts +16 -0
  129. package/core/util/error-logger.d.ts.map +1 -0
  130. package/core/util/feature-flags.d.ts +19 -0
  131. package/core/util/feature-flags.d.ts.map +1 -1
  132. package/core/util/get-query-params.d.ts +4 -0
  133. package/core/util/get-query-params.d.ts.map +1 -1
  134. package/core/util/hsl-to-hex.d.ts +16 -0
  135. package/core/util/hsl-to-hex.d.ts.map +1 -1
  136. package/core/util/index.d.ts +3 -0
  137. package/core/util/index.d.ts.map +1 -1
  138. package/core/util/kos-config-init.d.ts +37 -0
  139. package/core/util/kos-config-init.d.ts.map +1 -1
  140. package/core/util/kos-data-mapper-utils.d.ts +9 -0
  141. package/core/util/kos-data-mapper-utils.d.ts.map +1 -1
  142. package/core/util/kos-fetch.d.ts +12 -0
  143. package/core/util/kos-fetch.d.ts.map +1 -1
  144. package/core/util/kos-message-utils.d.ts +88 -0
  145. package/core/util/kos-message-utils.d.ts.map +1 -1
  146. package/core/util/kos-model-utils.d.ts +46 -0
  147. package/core/util/kos-model-utils.d.ts.map +1 -1
  148. package/core/util/kos-model-visitor.d.ts +2 -0
  149. package/core/util/kos-model-visitor.d.ts.map +1 -1
  150. package/core/util/kos-service-request.d.ts +43 -3
  151. package/core/util/kos-service-request.d.ts.map +1 -1
  152. package/core/util/log-utils.d.ts +12 -0
  153. package/core/util/log-utils.d.ts.map +1 -1
  154. package/core/util/middleware.d.ts +15 -0
  155. package/core/util/middleware.d.ts.map +1 -1
  156. package/core/util/model-attribute-utils.d.ts +7 -0
  157. package/core/util/model-attribute-utils.d.ts.map +1 -1
  158. package/core/util/model-error-utils.d.ts +61 -0
  159. package/core/util/model-error-utils.d.ts.map +1 -0
  160. package/core/util/model-factory.d.ts +4 -0
  161. package/core/util/model-factory.d.ts.map +1 -1
  162. package/core/util/model-registration-utils.d.ts +8 -0
  163. package/core/util/model-registration-utils.d.ts.map +1 -1
  164. package/core/util/model-transition-utils.d.ts +41 -0
  165. package/core/util/model-transition-utils.d.ts.map +1 -0
  166. package/core/util/model-type-guards.d.ts +26 -0
  167. package/core/util/model-type-guards.d.ts.map +1 -0
  168. package/core/util/model-utils.d.ts +40 -29
  169. package/core/util/model-utils.d.ts.map +1 -1
  170. package/core/util/observable-proxy-map.d.ts +11 -0
  171. package/core/util/observable-proxy-map.d.ts.map +1 -1
  172. package/core/util/paired-client-heartbeat.d.ts +2 -0
  173. package/core/util/paired-client-heartbeat.d.ts.map +1 -1
  174. package/core/util/pipe.d.ts +4 -0
  175. package/core/util/pipe.d.ts.map +1 -1
  176. package/core/util/promise-utils.d.ts +58 -0
  177. package/core/util/promise-utils.d.ts.map +1 -0
  178. package/core/util/retry-with-exponential-backoff.d.ts +3 -0
  179. package/core/util/retry-with-exponential-backoff.d.ts.map +1 -1
  180. package/core/util/service-factory.d.ts +10 -0
  181. package/core/util/service-factory.d.ts.map +1 -1
  182. package/core/util/service-request-error.d.ts +60 -0
  183. package/core/util/service-request-error.d.ts.map +1 -0
  184. package/core/util/service-response.d.ts +125 -0
  185. package/core/util/service-response.d.ts.map +1 -0
  186. package/core/util/session-utils.d.ts +8 -0
  187. package/core/util/session-utils.d.ts.map +1 -1
  188. package/core/util/wait-for-request.d.ts +16 -0
  189. package/core/util/wait-for-request.d.ts.map +1 -1
  190. package/core/util/when-ready.d.ts +3 -0
  191. package/core/util/when-ready.d.ts.map +1 -1
  192. package/index.cjs +26904 -118
  193. package/index.cjs.map +1 -1
  194. package/index.d.cts +6 -3
  195. package/index.d.ts +6 -3
  196. package/index.d.ts.map +1 -1
  197. package/index.js +25298 -13441
  198. package/index.js.map +1 -1
  199. package/kos-models.json +426 -0
  200. package/models/constants/index.d.ts +3 -1
  201. package/models/constants/index.d.ts.map +1 -1
  202. package/models/decorators/future-service.d.ts +27 -2
  203. package/models/decorators/future-service.d.ts.map +1 -1
  204. package/models/models/browser-router/browser-router-model.d.ts +80 -1
  205. package/models/models/browser-router/browser-router-model.d.ts.map +1 -1
  206. package/models/models/browser-router/types/index.d.ts +26 -1
  207. package/models/models/canvas-dispatcher/types/index.d.ts +5 -0
  208. package/models/models/canvas-renderer/types/index.d.ts +5 -0
  209. package/models/models/config-bean/config-bean-model-builder.d.ts +4 -2
  210. package/models/models/config-bean/config-bean-model-builder.d.ts.map +1 -1
  211. package/models/models/config-bean/config-bean-model.d.ts +117 -13
  212. package/models/models/config-bean/config-bean-model.d.ts.map +1 -1
  213. package/models/models/config-bean/config-bean-types.d.ts +6 -3
  214. package/models/models/config-bean/config-bean-types.d.ts.map +1 -1
  215. package/models/models/config-bean/types/index.d.ts +34 -0
  216. package/models/models/config-bean-prop/config-bean-prop-model.d.ts +112 -1
  217. package/models/models/config-bean-prop/config-bean-prop-model.d.ts.map +1 -1
  218. package/models/models/config-bean-prop/types/index.d.ts +301 -19
  219. package/models/models/device/device-model.d.ts +219 -9
  220. package/models/models/device/device-model.d.ts.map +1 -1
  221. package/models/models/device/device-registration.d.ts +61 -48
  222. package/models/models/device/device-registration.d.ts.map +1 -1
  223. package/models/models/device/types/index.d.ts +42 -0
  224. package/models/models/future/future-aware.d.ts +82 -0
  225. package/models/models/future/future-aware.d.ts.map +1 -1
  226. package/models/models/future/future-model.d.ts +34 -5
  227. package/models/models/future/future-model.d.ts.map +1 -1
  228. package/models/models/future/future-types.d.ts +202 -9
  229. package/models/models/future/future-types.d.ts.map +1 -1
  230. package/models/models/future-container/future-container-model.d.ts +2 -2
  231. package/models/models/gpio-chip/gpio-chip-container-model.d.ts +25 -0
  232. package/models/models/gpio-chip/gpio-chip-container-model.d.ts.map +1 -0
  233. package/models/models/gpio-chip/gpio-chip-model.d.ts +30 -0
  234. package/models/models/gpio-chip/gpio-chip-model.d.ts.map +1 -0
  235. package/models/models/gpio-chip/index.d.ts +7 -0
  236. package/models/models/gpio-chip/index.d.ts.map +1 -0
  237. package/models/models/gpio-chip/services/gpio-chip-services.d.ts +86 -0
  238. package/models/models/gpio-chip/services/gpio-chip-services.d.ts.map +1 -0
  239. package/models/models/gpio-chip/services/index.d.ts +2 -0
  240. package/models/models/gpio-chip/services/index.d.ts.map +1 -0
  241. package/models/models/gpio-chip/types/index.d.ts +24 -0
  242. package/models/models/gpio-pin/gpio-pin-container-model.d.ts +23 -0
  243. package/models/models/gpio-pin/gpio-pin-container-model.d.ts.map +1 -0
  244. package/models/models/gpio-pin/gpio-pin-model.d.ts +26 -0
  245. package/models/models/gpio-pin/gpio-pin-model.d.ts.map +1 -0
  246. package/models/models/gpio-pin/index.d.ts +6 -0
  247. package/models/models/gpio-pin/index.d.ts.map +1 -0
  248. package/models/models/gpio-pin/types/index.d.ts +23 -0
  249. package/models/models/index.d.ts +1 -0
  250. package/models/models/index.d.ts.map +1 -1
  251. package/models/models/key-value/index.d.ts +4 -0
  252. package/models/models/key-value/index.d.ts.map +1 -1
  253. package/models/models/key-value/key-value-model.d.ts +111 -0
  254. package/models/models/key-value/key-value-model.d.ts.map +1 -1
  255. package/models/models/key-value/services/key-value-services.d.ts +124 -2
  256. package/models/models/key-value/services/key-value-services.d.ts.map +1 -1
  257. package/models/models/key-value/types/index.d.ts +57 -0
  258. package/models/models/kos-expression-evaluator/index.d.ts +4 -0
  259. package/models/models/kos-expression-evaluator/index.d.ts.map +1 -0
  260. package/models/models/kos-expression-evaluator/kos-expression-evaluator-model.d.ts +209 -0
  261. package/models/models/kos-expression-evaluator/kos-expression-evaluator-model.d.ts.map +1 -0
  262. package/models/models/kos-expression-evaluator/services/index.d.ts +6 -0
  263. package/models/models/kos-expression-evaluator/services/index.d.ts.map +1 -0
  264. package/models/models/kos-expression-evaluator/services/kos-expression-evaluator-services.d.ts +15 -0
  265. package/models/models/kos-expression-evaluator/services/kos-expression-evaluator-services.d.ts.map +1 -0
  266. package/models/models/kos-expression-evaluator/types/index.d.ts +6 -0
  267. package/models/models/kos-log-manager/kos-log-manager-model.d.ts +61 -14
  268. package/models/models/kos-log-manager/kos-log-manager-model.d.ts.map +1 -1
  269. package/models/models/kos-log-manager/types/index.d.ts +191 -0
  270. package/models/models/kos-time/kos-time-model.d.ts +64 -0
  271. package/models/models/kos-time/kos-time-model.d.ts.map +1 -1
  272. package/models/models/kos-time/types/index.d.ts +83 -0
  273. package/models/models/log-block/log-block-container-model.d.ts +132 -0
  274. package/models/models/log-block/log-block-container-model.d.ts.map +1 -1
  275. package/models/models/log-block/log-block-model.d.ts +185 -0
  276. package/models/models/log-block/log-block-model.d.ts.map +1 -1
  277. package/models/models/log-block/types/index.d.ts +133 -0
  278. package/models/models/log-stream/index.d.ts +6 -2
  279. package/models/models/log-stream/index.d.ts.map +1 -1
  280. package/models/models/log-stream/log-stream-container-model.d.ts +62 -0
  281. package/models/models/log-stream/log-stream-container-model.d.ts.map +1 -1
  282. package/models/models/log-stream/log-stream-model.d.ts +55 -0
  283. package/models/models/log-stream/log-stream-model.d.ts.map +1 -1
  284. package/models/models/log-stream/services/log-stream-services.d.ts +2 -1
  285. package/models/models/log-stream/services/log-stream-services.d.ts.map +1 -1
  286. package/models/models/log-stream/types/index.d.ts +79 -0
  287. package/models/models/network-interface/index.d.ts +6 -2
  288. package/models/models/network-interface/index.d.ts.map +1 -1
  289. package/models/models/network-interface/network-interface-container-model.d.ts +62 -0
  290. package/models/models/network-interface/network-interface-container-model.d.ts.map +1 -1
  291. package/models/models/network-interface/network-interface-container-registration.d.ts +2 -1
  292. package/models/models/network-interface/network-interface-container-registration.d.ts.map +1 -1
  293. package/models/models/network-interface/network-interface-model.d.ts +77 -0
  294. package/models/models/network-interface/network-interface-model.d.ts.map +1 -1
  295. package/models/models/network-interface/network-interface-registration.d.ts +2 -1
  296. package/models/models/network-interface/network-interface-registration.d.ts.map +1 -1
  297. package/models/models/network-interface/services/network-interface-services.d.ts +54 -0
  298. package/models/models/network-interface/services/network-interface-services.d.ts.map +1 -1
  299. package/models/models/network-interface/types/index.d.ts +22 -0
  300. package/models/models/ota/ota-model.d.ts +82 -3
  301. package/models/models/ota/ota-model.d.ts.map +1 -1
  302. package/models/models/ota/types/index.d.ts +177 -0
  303. package/models/models/region-info/region-info-model.d.ts +8 -3
  304. package/models/models/region-info/region-info-model.d.ts.map +1 -1
  305. package/models/models/region-info/services/region-info-services.d.ts +2 -2
  306. package/models/models/region-info/services/region-info-services.d.ts.map +1 -1
  307. package/models/models/region-info/types/index.d.ts +191 -13
  308. package/models/models/region-info/types/index.d.ts.map +1 -1
  309. package/models/models/region-info/utils/unit-system-utils.d.ts.map +1 -1
  310. package/models/models/software-info/services/software-info-services.d.ts.map +1 -1
  311. package/models/models/software-info/software-info-model.d.ts +74 -2
  312. package/models/models/software-info/software-info-model.d.ts.map +1 -1
  313. package/models/models/software-info/types/index.d.ts +52 -17
  314. package/models/models/state-bean/state-bean-model.d.ts +86 -9
  315. package/models/models/state-bean/state-bean-model.d.ts.map +1 -1
  316. package/models/models/state-bean/types/index.d.ts +117 -6
  317. package/models/models/state-prop/state-prop-model.d.ts +78 -1
  318. package/models/models/state-prop/state-prop-model.d.ts.map +1 -1
  319. package/models/models/state-prop/types/index.d.ts +57 -7
  320. package/models/models/storage-device/services/storage-device-services.d.ts +1 -0
  321. package/models/models/storage-device/services/storage-device-services.d.ts.map +1 -1
  322. package/models/models/storage-device/storage-device-container-model.d.ts +289 -2
  323. package/models/models/storage-device/storage-device-container-model.d.ts.map +1 -1
  324. package/models/models/storage-device/storage-device-model.d.ts +84 -2
  325. package/models/models/storage-device/storage-device-model.d.ts.map +1 -1
  326. package/models/models/storage-device/types/index.d.ts +114 -0
  327. package/models/models/studio-properties/studio-properties-model.d.ts +75 -0
  328. package/models/models/studio-properties/studio-properties-model.d.ts.map +1 -1
  329. package/models/models/studio-properties/types/index.d.ts +29 -0
  330. package/models/models/translation/services/translation-services.d.ts +128 -2
  331. package/models/models/translation/services/translation-services.d.ts.map +1 -1
  332. package/models/models/translation/translation-container-model.d.ts +100 -10
  333. package/models/models/translation/translation-container-model.d.ts.map +1 -1
  334. package/models/models/translation/translation-container-registration.d.ts +2 -1
  335. package/models/models/translation/translation-container-registration.d.ts.map +1 -1
  336. package/models/models/translation/translation-context.d.ts +1 -16
  337. package/models/models/translation/translation-context.d.ts.map +1 -1
  338. package/models/models/translation/translation-model.d.ts +113 -1
  339. package/models/models/translation/translation-model.d.ts.map +1 -1
  340. package/models/models/translation/types/index.d.ts +343 -0
  341. package/models/models/trouble/index.d.ts +2 -1
  342. package/models/models/trouble/index.d.ts.map +1 -1
  343. package/models/models/trouble/services/trouble-services.d.ts +6 -4
  344. package/models/models/trouble/services/trouble-services.d.ts.map +1 -1
  345. package/models/models/trouble/trouble-model.d.ts +4 -1
  346. package/models/models/trouble/trouble-model.d.ts.map +1 -1
  347. package/models/models/trouble/types/index.d.ts +34 -93
  348. package/models/models/trouble/utils/is-trouble-aware.d.ts +2 -2
  349. package/models/models/trouble/utils/is-trouble-aware.d.ts.map +1 -1
  350. package/models/models/trouble-container/index.d.ts +4 -3
  351. package/models/models/trouble-container/index.d.ts.map +1 -1
  352. package/models/models/trouble-container/trouble-container-model.d.ts +10 -5
  353. package/models/models/trouble-container/trouble-container-model.d.ts.map +1 -1
  354. package/models/models/trouble-container/types/index.d.ts +6 -14
  355. package/models/models/usb-update/types/index.d.ts +10 -0
  356. package/models/services/config-bean/index.d.ts +2 -2
  357. package/models/services/config-bean/index.d.ts.map +1 -1
  358. package/models/utils/client.d.ts +16 -12
  359. package/models/utils/client.d.ts.map +1 -1
  360. package/models/utils/core-registration-manager.d.ts +1 -1
  361. package/models/utils/core-registration-manager.d.ts.map +1 -1
  362. package/models/utils/extension-manager.d.ts +54 -13
  363. package/models/utils/extension-manager.d.ts.map +1 -1
  364. package/models/utils/get-kos-connection-id.d.ts +2 -0
  365. package/models/utils/get-kos-connection-id.d.ts.map +1 -0
  366. package/models/utils/index.d.ts +3 -2
  367. package/models/utils/index.d.ts.map +1 -1
  368. package/models/utils/openapi-index.d.ts +3 -0
  369. package/models/utils/openapi-index.d.ts.map +1 -0
  370. package/models/utils/service-accessor.d.ts +86 -0
  371. package/models/utils/service-accessor.d.ts.map +1 -0
  372. package/models/utils/service.d.ts +91 -13
  373. package/models/utils/service.d.ts.map +1 -1
  374. package/models/utils/services/kos/1.6.5/openapi.d.ts +3809 -0
  375. package/models/utils/services/kos/1.6.5/service.d.ts +124 -0
  376. package/models/utils/services/kos/1.6.5/service.d.ts.map +1 -0
  377. package/models/utils/services/kos/1.8.1/openapi.d.ts +4344 -0
  378. package/models/utils/services/kos/1.8.1/service.d.ts +124 -0
  379. package/models/utils/services/kos/1.8.1/service.d.ts.map +1 -0
  380. package/models/utils/services/kos/1.9.x/openapi.d.ts +4597 -0
  381. package/models/utils/services/kos/1.9.x/service.d.ts +124 -0
  382. package/models/utils/services/kos/1.9.x/service.d.ts.map +1 -0
  383. package/models/utils/services/kos/daily/openapi.d.ts +4349 -0
  384. package/models/utils/services/kos/daily/service.d.ts +124 -0
  385. package/models/utils/services/kos/daily/service.d.ts.map +1 -0
  386. package/models/utils/services/vfs/1.6.5/openapi.d.ts +51 -0
  387. package/models/utils/services/vfs/1.6.5/service.d.ts +124 -0
  388. package/models/utils/services/vfs/1.6.5/service.d.ts.map +1 -0
  389. package/models/utils/services/vfs/1.8.1/openapi.d.ts +51 -0
  390. package/models/utils/services/vfs/1.8.1/service.d.ts +124 -0
  391. package/models/utils/services/vfs/1.8.1/service.d.ts.map +1 -0
  392. package/models/utils/services/vfs/1.9.x/openapi.d.ts +51 -0
  393. package/models/utils/services/vfs/1.9.x/service.d.ts +124 -0
  394. package/models/utils/services/vfs/1.9.x/service.d.ts.map +1 -0
  395. package/models/utils/services/vfs/daily/openapi.d.ts +51 -0
  396. package/models/utils/services/vfs/daily/service.d.ts +124 -0
  397. package/models/utils/services/vfs/daily/service.d.ts.map +1 -0
  398. package/models/utils/services-index.d.ts +9 -0
  399. package/models/utils/services-index.d.ts.map +1 -0
  400. package/package.json +16 -2
  401. package/ui/contexts/state-bean/state-bean-provider.d.ts.map +1 -1
  402. package/ui/hooks/device/use-device.d.ts +6 -0
  403. package/ui/hooks/device/use-device.d.ts.map +1 -1
  404. package/ui/hooks/index.d.ts +1 -0
  405. package/ui/hooks/index.d.ts.map +1 -1
  406. package/ui/hooks/kos-time/use-kos-time.d.ts +6 -0
  407. package/ui/hooks/kos-time/use-kos-time.d.ts.map +1 -1
  408. package/ui/hooks/network-interface-container/use-network-interface-container.d.ts +6 -0
  409. package/ui/hooks/network-interface-container/use-network-interface-container.d.ts.map +1 -1
  410. package/ui/hooks/ota/use-ota.d.ts +6 -0
  411. package/ui/hooks/ota/use-ota.d.ts.map +1 -1
  412. package/ui/hooks/software-info/use-software-info.d.ts +6 -0
  413. package/ui/hooks/software-info/use-software-info.d.ts.map +1 -1
  414. package/ui/hooks/state-bean/use-state-bean.d.ts +2 -2
  415. package/ui/hooks/state-bean/use-state-bean.d.ts.map +1 -1
  416. package/ui/hooks/state-bean/with-state-bean.d.ts.map +1 -1
  417. package/ui/hooks/storage-device-container/use-storage-device-container.d.ts +6 -0
  418. package/ui/hooks/storage-device-container/use-storage-device-container.d.ts.map +1 -1
  419. package/ui/hooks/translation-container/trans.d.ts +6 -0
  420. package/ui/hooks/translation-container/trans.d.ts.map +1 -1
  421. package/ui/hooks/translation-container/use-translation-container.d.ts +10 -33
  422. package/ui/hooks/translation-container/use-translation-container.d.ts.map +1 -1
  423. package/ui/hooks/translation-container/use-translation.d.ts +7 -0
  424. package/ui/hooks/translation-container/use-translation.d.ts.map +1 -1
  425. package/ui/hooks/translation-container/with-translation-container.d.ts +6 -0
  426. package/ui/hooks/translation-container/with-translation-container.d.ts.map +1 -1
  427. package/ui/hooks/usb-update-container/use-usb-update-container.d.ts +6 -0
  428. package/ui/hooks/usb-update-container/use-usb-update-container.d.ts.map +1 -1
  429. package/ui/hooks/use-config-bean.d.ts +6 -0
  430. package/ui/hooks/use-config-bean.d.ts.map +1 -1
  431. package/ui/hooks/use-config-property.d.ts +6 -0
  432. package/ui/hooks/use-config-property.d.ts.map +1 -1
  433. package/ui/hooks/use-kos-model.d.ts +7 -0
  434. package/ui/hooks/use-kos-model.d.ts.map +1 -1
  435. package/ui/hooks/use-kos-regions.d.ts.map +1 -1
  436. package/ui/hooks/view-model/index.d.ts +2 -0
  437. package/ui/hooks/view-model/index.d.ts.map +1 -0
  438. package/ui/hooks/view-model/use-view-model.d.ts +80 -0
  439. package/ui/hooks/view-model/use-view-model.d.ts.map +1 -0
  440. package/models/models/trouble-container/trouble-container-registration.d.ts +0 -5
  441. package/models/models/trouble-container/trouble-container-registration.d.ts.map +0 -1
  442. package/models/utils/kosmodel-compatible-future-mixin.d.ts +0 -142
  443. package/models/utils/kosmodel-compatible-future-mixin.d.ts.map +0 -1
  444. package/models/utils/kosmodel-interface-companion-mixin.d.ts +0 -83
  445. package/models/utils/kosmodel-interface-companion-mixin.d.ts.map +0 -1
@@ -3,23 +3,100 @@ import { EthernetData, Ip44Settings, NetworkInterfaceCategory, NetworkInterfaceD
3
3
  import { IKosDataModel, IKosIdentifiable, KosCreationContext, PublicModelInterface } from '../../../core';
4
4
 
5
5
  export declare const MODEL_TYPE = "network-interface-model";
6
+ /**
7
+ * NetworkInterface - Network interface management and monitoring for KOS devices.
8
+ *
9
+ * The NetworkInterface model provides comprehensive network interface management capabilities, including
10
+ * WiFi and Ethernet configuration, IP settings, and real-time network state monitoring. This model is
11
+ * essential for applications that need to display network status, configure network connections, or
12
+ * manage network interfaces on KOS devices.
13
+ *
14
+ * ## Key Features
15
+ * - **Network Interface Discovery** - Automatically discovers and tracks available network interfaces
16
+ * - **WiFi Management** - Access WiFi connection details, signal strength, and access point information
17
+ * - **Ethernet Monitoring** - Track Ethernet connection status, speed, and duplex settings
18
+ * - **IP Configuration** - Monitor and manage IPv4 settings including addresses, gateways, and DNS
19
+ * - **Connection State Tracking** - Real-time monitoring of network device states and connectivity
20
+ * - **Hardware Information** - Access to MAC addresses, MTU settings, and device capabilities
21
+ *
22
+ * ## Network Interface Categories
23
+ * The model categorizes interfaces for easier management:
24
+ * - **INTERNAL** - Internal system interfaces (loopback, etc.)
25
+ * - **INTEGRATION** - Integration-specific interfaces
26
+ * - **EXTERNAL** - User-facing network interfaces (WiFi, Ethernet)
27
+ * - **NONE** - Uncategorized interfaces
28
+ *
29
+ * ## Common Use Cases
30
+ * - **Network Status Display** - Show current connection status and network details in UI
31
+ * - **Connection Management** - Allow users to view and configure network settings
32
+ * - **Network Diagnostics** - Provide detailed network interface information for troubleshooting
33
+ * - **System Integration** - Monitor network connectivity for automated systems
34
+ * - **Configuration Interfaces** - Build network configuration screens with current state
35
+ *
36
+ * @interface
37
+ * @example Basic Usage
38
+ * ```typescript
39
+ * const networkInterface = NetworkInterface.instance('eth0')
40
+ * .options({
41
+ * name: 'eth0',
42
+ * type: 'ethernet',
43
+ * configured: true,
44
+ * category: 'EXTERNAL'
45
+ * })
46
+ * .build();
47
+ *
48
+ * console.log(networkInterface.name); // 'eth0'
49
+ * console.log(networkInterface.configured); // true
50
+ * ```
51
+ *
52
+ * @group KOS Model
53
+ * @category Network Interfaces
54
+ * @useDeclaredType
55
+ *
56
+ * @see {@link NetworkInterfaceContainer} - Container model for managing multiple network interfaces
57
+ * @see {@link NetworkInterfaceOptions} - Configuration options interface
58
+ * @see {@link EthernetData} - Ethernet-specific interface data
59
+ * @see {@link WifiData} - WiFi-specific interface data
60
+ * @see {@link Ip44Settings} - IPv4 configuration settings
61
+ */
6
62
  export type NetworkInterfaceModel = PublicModelInterface<NetworkInterfaceModelImpl>;
63
+ /**
64
+ * @ignore
65
+ * @internal
66
+ */
7
67
  export declare class NetworkInterfaceModelImpl implements IKosDataModel, IKosIdentifiable, NetworkInterfaceData {
68
+ /** Unique identifier for the model instance */
8
69
  id: string;
70
+ /** Network interface name (e.g., 'eth0', 'wlan0', 'lo') */
9
71
  name: string;
72
+ /** Interface type identifier (e.g., 'ethernet', 'wifi', 'loopback') */
10
73
  type: string;
74
+ /** NetworkManager device state code indicating connection status */
11
75
  nmdevicestate: number;
76
+ /** Hardware MAC address of the network interface */
12
77
  hwaddress: string;
78
+ /** Maximum Transmission Unit size for the interface */
13
79
  mtu: number;
80
+ /** Whether the interface is currently configured and active */
14
81
  configured: boolean;
82
+ /** WiFi-specific connection data including SSID, signal strength, and security */
15
83
  wifi?: WifiData;
84
+ /** Ethernet-specific connection data including carrier status, speed, and duplex */
16
85
  ethernet?: EthernetData;
86
+ /** IPv4 network settings including address, gateway, and DNS configuration */
17
87
  ip4settings?: Ip44Settings;
88
+ /** Interface categorization for organizational purposes */
18
89
  category: NetworkInterfaceCategory;
19
90
  private logger;
20
91
  constructor(modelId: string, options: NetworkInterfaceOptions, context: KosCreationContext);
21
92
  updateModel(options: NetworkInterfaceOptions): void;
93
+ /**
94
+ * @internal
95
+ */
22
96
  init(): Promise<void>;
97
+ /**
98
+ * @internal
99
+ */
23
100
  load(): Promise<void>;
24
101
  }
25
102
  //# sourceMappingURL=network-interface-model.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"network-interface-model.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/network-interface/network-interface-model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,aAAa,EACb,gBAAgB,EAEhB,kBAAkB,EAClB,oBAAoB,EACrB,MAAM,eAAe,CAAC;AAEvB,OAAO,KAAK,EACV,YAAY,EACZ,YAAY,EACZ,wBAAwB,EACxB,oBAAoB,EACpB,QAAQ,EACT,MAAM,YAAY,CAAC;AACpB,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAEvD,eAAO,MAAM,UAAU,4BAA4B,CAAC;AAEpD,MAAM,MAAM,qBAAqB,GAC/B,oBAAoB,CAAC,yBAAyB,CAAC,CAAC;AAElD,qBACa,yBACX,YAAW,aAAa,EAAE,gBAAgB,EAAE,oBAAoB;IAEhE,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,GAAG,EAAE,MAAM,CAAC;IACZ,UAAU,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,QAAQ,CAAC,EAAE,YAAY,CAAC;IACxB,WAAW,CAAC,EAAE,YAAY,CAAC;IAC3B,QAAQ,EAAE,wBAAwB,CAAC;IAEnC,OAAO,CAAC,MAAM,CAAmB;gBAG/B,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,uBAAuB,EAChC,OAAO,EAAE,kBAAkB;IAiB7B,WAAW,CAAC,OAAO,EAAE,uBAAuB,GAAG,IAAI;IAe7C,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IAIrB,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;CAG5B"}
1
+ {"version":3,"file":"network-interface-model.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/network-interface/network-interface-model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,aAAa,EACb,gBAAgB,EAEhB,kBAAkB,EAClB,oBAAoB,EACrB,MAAM,eAAe,CAAC;AAEvB,OAAO,KAAK,EACV,YAAY,EACZ,YAAY,EACZ,wBAAwB,EACxB,oBAAoB,EACpB,QAAQ,EACT,MAAM,YAAY,CAAC;AACpB,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAEvD,eAAO,MAAM,UAAU,4BAA4B,CAAC;AAEpD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuDG;AACH,MAAM,MAAM,qBAAqB,GAC/B,oBAAoB,CAAC,yBAAyB,CAAC,CAAC;AAElD;;;GAGG;AACH,qBACa,yBACX,YAAW,aAAa,EAAE,gBAAgB,EAAE,oBAAoB;IAEhE,+CAA+C;IAC/C,EAAE,EAAE,MAAM,CAAC;IAEX,2DAA2D;IAC3D,IAAI,EAAE,MAAM,CAAC;IAEb,uEAAuE;IACvE,IAAI,EAAE,MAAM,CAAC;IAEb,oEAAoE;IACpE,aAAa,EAAE,MAAM,CAAC;IAEtB,oDAAoD;IACpD,SAAS,EAAE,MAAM,CAAC;IAElB,uDAAuD;IACvD,GAAG,EAAE,MAAM,CAAC;IAEZ,+DAA+D;IAC/D,UAAU,EAAE,OAAO,CAAC;IAEpB,kFAAkF;IAClF,IAAI,CAAC,EAAE,QAAQ,CAAC;IAEhB,oFAAoF;IACpF,QAAQ,CAAC,EAAE,YAAY,CAAC;IAExB,8EAA8E;IAC9E,WAAW,CAAC,EAAE,YAAY,CAAC;IAE3B,2DAA2D;IAC3D,QAAQ,EAAE,wBAAwB,CAAC;IAEnC,OAAO,CAAC,MAAM,CAAmB;gBAG/B,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,uBAAuB,EAChC,OAAO,EAAE,kBAAkB;IAiB7B,WAAW,CAAC,OAAO,EAAE,uBAAuB,GAAG,IAAI;IAenD;;OAEG;IACG,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IAI3B;;OAEG;IACG,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;CAG5B"}
@@ -80,7 +80,8 @@ import { KosModelRegistrationFactory } from '../../../core';
80
80
 
81
81
  * The networkInterface model is NOT a singleton model. This means that each time the factory function is called with a unique ID, a new model instance will be created.
82
82
  * If the factory function is called with an ID that already exists, the existing model will be returned.
83
-
83
+ * @group KOS Model
84
+ * @category Network Interfaces
84
85
  * */
85
86
  export declare const NetworkInterface: KosModelRegistrationFactory<NetworkInterfaceModel, import('./services').NetworkInterfaceData>;
86
87
  //# sourceMappingURL=network-interface-registration.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"network-interface-registration.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/network-interface/network-interface-registration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,eAAe,CAAC;AAC5D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAOvE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAgFK;AACL,eAAO,MAAM,gBAAgB,+FAM3B,CAAC"}
1
+ {"version":3,"file":"network-interface-registration.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/network-interface/network-interface-registration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,eAAe,CAAC;AAC5D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAOvE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAiFK;AACL,eAAO,MAAM,gBAAgB,+FAM3B,CAAC"}
@@ -1,38 +1,92 @@
1
+ /**
2
+ * Network interface categories for organizational purposes.
3
+ * @group KOS Model
4
+ * @category Network Interfaces
5
+ */
1
6
  export type NetworkInterfaceCategory = "INTERNAL" | "INTEGRATION" | "EXTERNAL" | "NONE";
7
+ /**
8
+ * Ethernet-specific interface data including connection status and performance metrics.
9
+ * @group KOS Model
10
+ * @category Network Interfaces
11
+ */
2
12
  export interface EthernetData {
13
+ /** Whether the Ethernet cable is connected (link up/down status) */
3
14
  carrier: boolean;
15
+ /** Connection speed in Mbps (e.g., 10, 100, 1000) */
4
16
  speed: number;
17
+ /** Duplex mode - 'full' for full-duplex, 'half' for half-duplex */
5
18
  duplex: string;
6
19
  }
20
+ /**
21
+ * WiFi-specific interface data including access point details and signal metrics.
22
+ * @group KOS Model
23
+ * @category Network Interfaces
24
+ */
7
25
  export interface WifiData {
26
+ /** Access Point flags indicating capabilities and features */
8
27
  apFlags: number;
28
+ /** BSSID (MAC address) of the connected access point */
9
29
  bssid: string;
30
+ /** WPA security flags for the connection */
10
31
  wpaFlags: number;
32
+ /** Connection bitrate in bits per second */
11
33
  bitrate: number;
34
+ /** Network name (Service Set Identifier) */
12
35
  ssid: string;
36
+ /** Signal strength percentage (0-100) */
13
37
  signal: number;
38
+ /** RSN (Robust Security Network) flags for WPA2/WPA3 */
14
39
  rsnFlags: number;
40
+ /** Time in seconds since the access point was last seen */
15
41
  lastSeenAgo: number;
42
+ /** WiFi frequency in MHz (e.g., 2437 for 2.4GHz, 5220 for 5GHz) */
16
43
  frequency: number;
17
44
  }
45
+ /**
46
+ * IPv4 network configuration settings including addressing and DNS.
47
+ * @group KOS Model
48
+ * @category Network Interfaces
49
+ */
18
50
  export interface Ip44Settings {
51
+ /** Subnet prefix length (e.g., 24 for /24 subnet mask) */
19
52
  prefix: number;
53
+ /** List of address/prefix combinations in CIDR notation */
20
54
  addressprefixlist: string[];
55
+ /** Primary IP address assigned to the interface */
21
56
  address: string;
57
+ /** IP configuration method ('auto' for DHCP, 'manual' for static) */
22
58
  method: string;
59
+ /** Default gateway IP address for routing */
23
60
  gateway: string;
61
+ /** List of DNS server IP addresses */
24
62
  dnslist: string[];
25
63
  }
64
+ /**
65
+ * Complete network interface data structure containing all interface properties.
66
+ * This is the main interface that NetworkInterfaceModel implements.
67
+ * @group KOS Model
68
+ * @category Network Interfaces
69
+ */
26
70
  export interface NetworkInterfaceData {
71
+ /** Network interface name (e.g., 'eth0', 'wlan0', 'lo') */
27
72
  name: string;
73
+ /** Interface type identifier (e.g., 'ethernet', 'wifi', 'loopback') */
28
74
  type: string;
75
+ /** NetworkManager device state code indicating connection status */
29
76
  nmdevicestate: number;
77
+ /** Hardware MAC address of the network interface */
30
78
  hwaddress: string;
79
+ /** Maximum Transmission Unit size for the interface */
31
80
  mtu: number;
81
+ /** Whether the interface is currently configured and active */
32
82
  configured: boolean;
83
+ /** WiFi-specific connection data (only present for WiFi interfaces) */
33
84
  wifi?: WifiData;
85
+ /** Ethernet-specific connection data (only present for Ethernet interfaces) */
34
86
  ethernet?: EthernetData;
87
+ /** IPv4 network settings (present when interface has IP configuration) */
35
88
  ip4settings?: Ip44Settings;
89
+ /** Interface categorization for organizational purposes */
36
90
  category: NetworkInterfaceCategory;
37
91
  }
38
92
  type NetworkInterfaceResponse = [error: string, data: undefined] | [error: undefined, data: NetworkInterfaceData[] | undefined];
@@ -1 +1 @@
1
- {"version":3,"file":"network-interface-services.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/network-interface/services/network-interface-services.ts"],"names":[],"mappings":"AAmBA,MAAM,MAAM,wBAAwB,GAChC,UAAU,GACV,aAAa,GACb,UAAU,GACV,MAAM,CAAC;AAEX,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,QAAQ;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,iBAAiB,EAAE,MAAM,EAAE,CAAC;IAC5B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB;AAED,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,MAAM,CAAC;IAEb,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,GAAG,EAAE,MAAM,CAAC;IACZ,UAAU,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,QAAQ,CAAC,EAAE,YAAY,CAAC;IACxB,WAAW,CAAC,EAAE,YAAY,CAAC;IAC3B,QAAQ,EAAE,wBAAwB,CAAC;CACpC;AAED,KAAK,wBAAwB,GACzB,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,CAAC,GAChC,CAAC,KAAK,EAAE,SAAS,EAAE,IAAI,EAAE,oBAAoB,EAAE,GAAG,SAAS,CAAC,CAAC;AACjE;;;;GAIG;AAEH,eAAO,MAAM,oBAAoB,QACrB,QAAQ,wBAAwB,CAezC,CAAC"}
1
+ {"version":3,"file":"network-interface-services.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/network-interface/services/network-interface-services.ts"],"names":[],"mappings":"AAsBA;;;;GAIG;AACH,MAAM,MAAM,wBAAwB,GAChC,UAAU,GACV,aAAa,GACb,UAAU,GACV,MAAM,CAAC;AAEX;;;;GAIG;AACH,MAAM,WAAW,YAAY;IAC3B,oEAAoE;IACpE,OAAO,EAAE,OAAO,CAAC;IACjB,qDAAqD;IACrD,KAAK,EAAE,MAAM,CAAC;IACd,mEAAmE;IACnE,MAAM,EAAE,MAAM,CAAC;CAChB;AAED;;;;GAIG;AACH,MAAM,WAAW,QAAQ;IACvB,8DAA8D;IAC9D,OAAO,EAAE,MAAM,CAAC;IAChB,wDAAwD;IACxD,KAAK,EAAE,MAAM,CAAC;IACd,4CAA4C;IAC5C,QAAQ,EAAE,MAAM,CAAC;IACjB,4CAA4C;IAC5C,OAAO,EAAE,MAAM,CAAC;IAChB,4CAA4C;IAC5C,IAAI,EAAE,MAAM,CAAC;IACb,yCAAyC;IACzC,MAAM,EAAE,MAAM,CAAC;IACf,wDAAwD;IACxD,QAAQ,EAAE,MAAM,CAAC;IACjB,2DAA2D;IAC3D,WAAW,EAAE,MAAM,CAAC;IACpB,mEAAmE;IACnE,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;;;GAIG;AACH,MAAM,WAAW,YAAY;IAC3B,0DAA0D;IAC1D,MAAM,EAAE,MAAM,CAAC;IACf,2DAA2D;IAC3D,iBAAiB,EAAE,MAAM,EAAE,CAAC;IAC5B,mDAAmD;IACnD,OAAO,EAAE,MAAM,CAAC;IAChB,qEAAqE;IACrE,MAAM,EAAE,MAAM,CAAC;IACf,6CAA6C;IAC7C,OAAO,EAAE,MAAM,CAAC;IAChB,sCAAsC;IACtC,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB;AAED;;;;;GAKG;AACH,MAAM,WAAW,oBAAoB;IACnC,2DAA2D;IAC3D,IAAI,EAAE,MAAM,CAAC;IACb,uEAAuE;IACvE,IAAI,EAAE,MAAM,CAAC;IACb,oEAAoE;IACpE,aAAa,EAAE,MAAM,CAAC;IACtB,oDAAoD;IACpD,SAAS,EAAE,MAAM,CAAC;IAClB,uDAAuD;IACvD,GAAG,EAAE,MAAM,CAAC;IACZ,+DAA+D;IAC/D,UAAU,EAAE,OAAO,CAAC;IACpB,uEAAuE;IACvE,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,+EAA+E;IAC/E,QAAQ,CAAC,EAAE,YAAY,CAAC;IACxB,0EAA0E;IAC1E,WAAW,CAAC,EAAE,YAAY,CAAC;IAC3B,2DAA2D;IAC3D,QAAQ,EAAE,wBAAwB,CAAC;CACpC;AAED,KAAK,wBAAwB,GACzB,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,CAAC,GAChC,CAAC,KAAK,EAAE,SAAS,EAAE,IAAI,EAAE,oBAAoB,EAAE,GAAG,SAAS,CAAC,CAAC;AACjE;;;;GAIG;AAEH,eAAO,MAAM,oBAAoB,QACrB,QAAQ,wBAAwB,CAiBzC,CAAC"}
@@ -1,6 +1,28 @@
1
1
  import { NetworkInterfaceData } from '../services';
2
2
 
3
3
 
4
+ /**
5
+ * Configuration options for NetworkInterface model instances.
6
+ *
7
+ * This interface defines the complete network interface configuration including hardware details,
8
+ * connection state, and protocol-specific information for WiFi and Ethernet interfaces.
9
+ * Use these options when creating NetworkInterface models to represent physical or virtual
10
+ * network interfaces on KOS devices.
11
+ *
12
+ * @example Basic Usage
13
+ * ```typescript
14
+ * const options: NetworkInterfaceOptions = {
15
+ * name: 'eth0',
16
+ * type: 'ethernet',
17
+ * configured: true,
18
+ * category: 'EXTERNAL'
19
+ * };
20
+ * ```
21
+ *
22
+ * @kosService core.network
23
+ * @group KOS Model
24
+ * @category Network Interfaces
25
+ */
4
26
  export type NetworkInterfaceOptions = NetworkInterfaceData;
5
27
 
6
28
  // --------------- NetworkInterfaceContainer ---------------
@@ -5,20 +5,99 @@ import { IKosDataModel, KosCreationContext } from '../../../core/core/kosModel';
5
5
  import { IKosDataContainer } from '../../../core/core/kos-data-container';
6
6
 
7
7
  export declare const MODEL_TYPE = "ota-model";
8
+ /**
9
+ * OTA - Over-the-Air update management system for KOS devices.
10
+ *
11
+ * The OTA model provides comprehensive management of software updates and artifacts on KOS devices,
12
+ * including real-time download progress tracking, installation management, and error handling.
13
+ * This model is essential for applications that need to manage software updates, display update
14
+ * status, and handle system maintenance operations.
15
+ *
16
+ * ## Key Features
17
+ * - **Real-Time Update Tracking** - Live monitoring of download progress and installation status
18
+ * - **Artifact Management** - Complete visibility into available and installed software artifacts
19
+ * - **Trouble Integration** - Integration with KOS trouble system for error tracking and resolution
20
+ * - **Status Monitoring** - Comprehensive status tracking (downloading, pending, ready, error, idle)
21
+ * - **Installation Control** - Safe installation and reboot management for pending updates
22
+ * - **Progress Reporting** - Detailed download progress with size and percentage completion
23
+ *
24
+ * ## Topic-Based Reactivity
25
+ * The model listens to these KOS topics for real-time synchronization:
26
+ * - **`/kos/ota/artifacts/all`** - Complete artifact list updates from OTA service
27
+ * - **`/kos/ota/artifacts/changed`** - Incremental artifact status changes during downloads
28
+ *
29
+ * ## Update States
30
+ * - **idle** - No updates in progress, system ready
31
+ * - **downloading** - Updates actively downloading from remote sources
32
+ * - **pending** - Updates downloaded and staged, ready for installation
33
+ * - **ready** - Updates installed and ready for use
34
+ * - **error** - Update process encountered errors, intervention needed
35
+ *
36
+ * ## Common Use Cases
37
+ * - **Update Status Dashboard** - Display current update status and progress to users
38
+ * - **System Maintenance** - Manage scheduled updates and installations
39
+ * - **Error Handling** - Monitor and resolve update-related issues
40
+ * - **Progress Monitoring** - Track download progress for large artifacts
41
+ * - **Installation Management** - Control when updates are applied to minimize downtime
42
+ *
43
+ * @interface
44
+ * @example Basic Usage
45
+ * ```typescript
46
+ * const otaModel = Ota.instance('system-updater').build();
47
+ *
48
+ * // Access current update status and manage installations
49
+ * console.log(otaModel.status); // 'idle' | 'downloading' | 'pending' | 'ready' | 'error'
50
+ * if (otaModel.status === 'pending') {
51
+ * otaModel.installAndReboot();
52
+ * }
53
+ * ```
54
+ *
55
+ * @group KOS Model
56
+ * @category System Integration
57
+ * @useDeclaredType
58
+ *
59
+ * @see {@link UpdaterOptions} - Configuration options for OTA model
60
+ * @see {@link UpdaterItem} - Individual update artifact interface
61
+ * @see {@link UpdaterStatus} - Available update status types
62
+ * @see {@link OTAArtifactResponse} - Raw artifact data from OTA service
63
+ * @see {@link TroubleContainer} - Integrated trouble management system
64
+ */
8
65
  export type OtaModel = PublicModelInterface<OtaModelImpl>;
66
+ /**
67
+ * @ignore
68
+ * @internal
69
+ */
9
70
  export declare class OtaModelImpl implements IKosDataModel, IKosIdentifiable {
71
+ /** Unique identifier for the model instance */
10
72
  id: string;
11
73
  private logger;
74
+ /** Internal data container holding all available update artifacts */
12
75
  private data;
76
+ /** Trouble container dependency for tracking OTA-related troubles */
13
77
  private troubleContainer;
14
- get downloadInProgressTrouble(): any;
15
- get updatePendingTrouble(): any;
16
- get pausedDueToErrorsTrouble(): any;
78
+ /** Trouble condition indicating downloads are currently in progress */
79
+ get downloadInProgressTrouble(): import('..').TroubleModel<any>;
80
+ /** Trouble condition indicating updates are downloaded and pending installation */
81
+ get updatePendingTrouble(): import('..').TroubleModel<any>;
82
+ /** Trouble condition indicating OTA process is paused due to errors */
83
+ get pausedDueToErrorsTrouble(): import('..').TroubleModel<any>;
84
+ /** Collection of all available update artifacts with their current status */
17
85
  get updates(): IKosDataContainer<UpdaterItem>;
86
+ /** Current overall update status based on active trouble conditions */
18
87
  get status(): UpdaterStatus;
19
88
  constructor(modelId: string, options: UpdaterOptions, context: KosCreationContext);
89
+ /**
90
+ * Installs pending updates and initiates system reboot.
91
+ * This method resolves the OTAUpdatePendingTrouble to trigger installation.
92
+ */
20
93
  installAndReboot(): void;
94
+ /**
95
+ * @internal
96
+ */
21
97
  init(): Promise<void>;
98
+ /**
99
+ * @internal
100
+ */
22
101
  load(): Promise<void>;
23
102
  handleAllArtifacts(artifacts: OTAArtifactResponse[]): Promise<void>;
24
103
  handleChangedArtifacts(artifacts: OTAArtifactResponse[]): void;
@@ -1 +1 @@
1
- {"version":3,"file":"ota-model.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/ota/ota-model.ts"],"names":[],"mappings":"AAKA,OAAO,EAEL,KAAK,iBAAiB,EACvB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,KAAK,EACV,aAAa,EAEb,kBAAkB,EACnB,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAIhE,OAAO,KAAK,EACV,mBAAmB,EAEnB,WAAW,EACX,cAAc,EACd,aAAa,EACd,MAAM,SAAS,CAAC;AAEjB,eAAO,MAAM,UAAU,cAAc,CAAC;AAEtC,MAAM,MAAM,QAAQ,GAAG,oBAAoB,CAAC,YAAY,CAAC,CAAC;AA8D1D,qBACa,YAAa,YAAW,aAAa,EAAE,gBAAgB;IAClE,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,CAAC,MAAM,CAAmB;IAEjC,OAAO,CAAC,IAAI,CAA0D;IAGtE,OAAO,CAAC,gBAAgB,CAAyB;IAEjD,IAAI,yBAAyB,QAQ5B;IAED,IAAI,oBAAoB,QAOvB;IAED,IAAI,wBAAwB,QAO3B;IAED,IAAI,OAAO,mCAEV;IAED,IAAI,MAAM,IAAI,aAAa,CAU1B;gBAGC,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,cAAc,EACvB,OAAO,EAAE,kBAAkB;IAU7B,gBAAgB;IAcV,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IAIrB,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IAwBrB,kBAAkB,CAAC,SAAS,EAAE,mBAAmB,EAAE;IAoBzD,sBAAsB,CAAC,SAAS,EAAE,mBAAmB,EAAE;CAaxD"}
1
+ {"version":3,"file":"ota-model.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/ota/ota-model.ts"],"names":[],"mappings":"AAKA,OAAO,EAEL,KAAK,iBAAiB,EACvB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,KAAK,EACV,aAAa,EAEb,kBAAkB,EACnB,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAIhE,OAAO,KAAK,EACV,mBAAmB,EAEnB,WAAW,EACX,cAAc,EACd,aAAa,EACd,MAAM,SAAS,CAAC;AAEjB,eAAO,MAAM,UAAU,cAAc,CAAC;AAEtC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwDG;AACH,MAAM,MAAM,QAAQ,GAAG,oBAAoB,CAAC,YAAY,CAAC,CAAC;AA8D1D;;;GAGG;AACH,qBACa,YAAa,YAAW,aAAa,EAAE,gBAAgB;IAClE,+CAA+C;IAC/C,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,CAAC,MAAM,CAAmB;IAEjC,qEAAqE;IACrE,OAAO,CAAC,IAAI,CAA0D;IAEtE,qEAAqE;IAErE,OAAO,CAAC,gBAAgB,CAAyB;IAEjD,uEAAuE;IACvE,IAAI,yBAAyB,mCAQ5B;IAED,mFAAmF;IACnF,IAAI,oBAAoB,mCAOvB;IAED,uEAAuE;IACvE,IAAI,wBAAwB,mCAO3B;IAED,6EAA6E;IAC7E,IAAI,OAAO,mCAEV;IAED,uEAAuE;IACvE,IAAI,MAAM,IAAI,aAAa,CAU1B;gBAGC,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,cAAc,EACvB,OAAO,EAAE,kBAAkB;IAU7B;;;OAGG;IACH,gBAAgB;IAchB;;OAEG;IACG,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IAI3B;;OAEG;IACG,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IAwBrB,kBAAkB,CAAC,SAAS,EAAE,mBAAmB,EAAE;IAoBzD,sBAAsB,CAAC,SAAS,EAAE,mBAAmB,EAAE;CAaxD"}
@@ -1,9 +1,19 @@
1
+ /**
2
+ * Status values for OTA artifact installation state.
3
+ *
4
+ * @kosService core.ota
5
+ */
1
6
  export type OTAStatus =
2
7
  | "INSTALLED" // Green Check
3
8
  | "INVALID"
4
9
  | "MISSING"
5
10
  | "STAGED"; // Green Half Check
6
11
 
12
+ /**
13
+ * Information about an OTA artifact.
14
+ *
15
+ * @kosService core.ota
16
+ */
7
17
  export interface OTAArtifactInfo {
8
18
  hash: string;
9
19
  identifier: string;
@@ -13,6 +23,11 @@ export interface OTAArtifactInfo {
13
23
  version?: string;
14
24
  }
15
25
 
26
+ /**
27
+ * OTA download request information.
28
+ *
29
+ * @kosService core.ota
30
+ */
16
31
  export interface OTARequest {
17
32
  currentSize: number;
18
33
  downloaderActive: boolean;
@@ -24,6 +39,11 @@ export interface OTARequest {
24
39
  lastUpdateTime: number;
25
40
  }
26
41
 
42
+ /**
43
+ * Response from the OTA artifact service.
44
+ *
45
+ * @kosService core.ota
46
+ */
27
47
  export interface OTAArtifactResponse {
28
48
  artifactInfo?: OTAArtifactInfo;
29
49
  done: boolean;
@@ -32,6 +52,11 @@ export interface OTAArtifactResponse {
32
52
  status: OTAStatus;
33
53
  }
34
54
 
55
+ /**
56
+ * Status values for an individual updater operation.
57
+ *
58
+ * @kosService core.ota
59
+ */
35
60
  export type UpdaterStatus =
36
61
  | "downloading"
37
62
  | "error"
@@ -39,6 +64,11 @@ export type UpdaterStatus =
39
64
  | "pending"
40
65
  | "ready";
41
66
 
67
+ /**
68
+ * Individual update item tracking information.
69
+ *
70
+ * @kosService core.ota
71
+ */
42
72
  export interface UpdaterItem {
43
73
  manifest?: boolean;
44
74
  error?: string;
@@ -51,6 +81,153 @@ export interface UpdaterItem {
51
81
  status: UpdaterStatus;
52
82
  }
53
83
 
84
+ /**
85
+ * Configuration options for OTA model instances.
86
+ *
87
+ * This interface defines the initial configuration for the OTA model, including
88
+ * any pre-existing artifact data that should be loaded during model initialization.
89
+ * In most cases, the OTA model will automatically load artifacts from the OTA service,
90
+ * but this option allows for pre-loading or testing scenarios.
91
+ *
92
+ * @example Basic OTA Model Creation
93
+ * ```typescript
94
+ * // Most common usage - let model load artifacts automatically
95
+ * const otaModel = Ota.instance('system-updates').build();
96
+ *
97
+ * // The model will automatically:
98
+ * // - Connect to OTA service
99
+ * // - Load current artifacts
100
+ * // - Subscribe to real-time updates
101
+ * ```
102
+ *
103
+ * @example Pre-loaded Artifacts (Advanced)
104
+ * ```typescript
105
+ * // Advanced usage with pre-loaded artifact data
106
+ * const mockArtifacts: OTAArtifactResponse[] = [
107
+ * {
108
+ * artifactInfo: {
109
+ * identifier: 'system-update-v1.2.0',
110
+ * name: 'System Update',
111
+ * version: '1.2.0',
112
+ * size: 52428800, // 50MB
113
+ * hash: 'sha256:abc123...',
114
+ * miniHash: 'abc123'
115
+ * },
116
+ * status: 'STAGED',
117
+ * done: true,
118
+ * requests: {
119
+ * 'primary': {
120
+ * currentSize: 52428800,
121
+ * downloaderActive: false,
122
+ * downloaderName: 'system-updater',
123
+ * errorCount: 0,
124
+ * fileNotFoundCount: 0,
125
+ * kabId: 'system-update-v1.2.0',
126
+ * lastUpdateTime: Date.now()
127
+ * }
128
+ * }
129
+ * }
130
+ * ];
131
+ *
132
+ * const options: UpdaterOptions = {
133
+ * otaArtifactResponse: mockArtifacts
134
+ * };
135
+ *
136
+ * const otaModel = Ota.instance('preloaded-updater')
137
+ * .options(options)
138
+ * .build();
139
+ * ```
140
+ *
141
+ * @example Testing Scenarios
142
+ * ```typescript
143
+ * // Create OTA model with test data for different scenarios
144
+ * const createTestOtaModel = (scenario: 'downloading' | 'pending' | 'error') => {
145
+ * const testArtifacts: OTAArtifactResponse[] = [];
146
+ *
147
+ * switch (scenario) {
148
+ * case 'downloading':
149
+ * testArtifacts.push({
150
+ * artifactInfo: {
151
+ * identifier: 'app-update-v2.1.0',
152
+ * name: 'Application Update',
153
+ * version: '2.1.0',
154
+ * size: 104857600, // 100MB
155
+ * hash: 'sha256:def456...',
156
+ * miniHash: 'def456'
157
+ * },
158
+ * status: 'MISSING',
159
+ * done: false,
160
+ * requests: {
161
+ * 'primary': {
162
+ * currentSize: 31457280, // 30MB downloaded
163
+ * downloaderActive: true,
164
+ * downloaderName: 'app-updater',
165
+ * errorCount: 0,
166
+ * fileNotFoundCount: 0,
167
+ * kabId: 'app-update-v2.1.0',
168
+ * lastUpdateTime: Date.now()
169
+ * }
170
+ * }
171
+ * });
172
+ * break;
173
+ *
174
+ * case 'pending':
175
+ * testArtifacts.push({
176
+ * artifactInfo: {
177
+ * identifier: 'security-patch-v1.0.1',
178
+ * name: 'Security Patch',
179
+ * version: '1.0.1',
180
+ * size: 10485760, // 10MB
181
+ * hash: 'sha256:ghi789...',
182
+ * miniHash: 'ghi789'
183
+ * },
184
+ * status: 'STAGED',
185
+ * done: true,
186
+ * requests: {
187
+ * 'primary': {
188
+ * currentSize: 10485760,
189
+ * downloaderActive: false,
190
+ * downloaderName: 'security-updater',
191
+ * errorCount: 0,
192
+ * fileNotFoundCount: 0,
193
+ * kabId: 'security-patch-v1.0.1',
194
+ * lastUpdateTime: Date.now()
195
+ * }
196
+ * }
197
+ * });
198
+ * break;
199
+ *
200
+ * case 'error':
201
+ * testArtifacts.push({
202
+ * status: 'INVALID',
203
+ * done: false,
204
+ * error: 'Checksum verification failed',
205
+ * requests: {
206
+ * 'primary': {
207
+ * currentSize: 0,
208
+ * downloaderActive: false,
209
+ * downloaderName: 'failed-updater',
210
+ * errorCount: 3,
211
+ * fileNotFoundCount: 0,
212
+ * kabId: 'failed-update-v1.0.0',
213
+ * lastUpdateTime: Date.now(),
214
+ * lastErrorReason: 'Checksum verification failed'
215
+ * }
216
+ * }
217
+ * });
218
+ * break;
219
+ * }
220
+ *
221
+ * return Ota.instance(`test-${scenario}`)
222
+ * .options({ otaArtifactResponse: testArtifacts })
223
+ * .build();
224
+ * };
225
+ * ```
226
+ *
227
+ * @kosService core.ota
228
+ * @category Model Configuration
229
+ * @category System Integration
230
+ */
54
231
  export interface UpdaterOptions {
55
232
  otaArtifactResponse: OTAArtifactResponse[];
56
233
  }
@@ -10,11 +10,16 @@ interface RegionSettingsService {
10
10
  timeZone: string;
11
11
  }
12
12
  type RegionSettingsConfigBean = IConfigBeanModel<RegionSettingsService>;
13
+ /**
14
+ * @ignore
15
+ * @internal
16
+ */
13
17
  export declare class RegionInfoModelImpl<AdditionalData extends BaseRegionResponse = BaseRegionResponse> implements RegionInfoModel {
14
18
  id: string;
15
19
  private unitSystemMap;
16
20
  private measureMap;
17
21
  private defaultMeasureMap;
22
+ serviceBasePath: string;
18
23
  private regionMap;
19
24
  private timeFormats;
20
25
  private dateFormats;
@@ -69,15 +74,15 @@ export declare class RegionInfoModelImpl<AdditionalData extends BaseRegionRespon
69
74
  */
70
75
  convert(value: number, from: UnitSource, to: UnitSource): string;
71
76
  /**
72
- *@internal
77
+ * @internal
73
78
  */
74
79
  init(): Promise<void>;
75
80
  /**
76
- *@internal
81
+ * @internal
77
82
  */
78
83
  load(): Promise<void>;
79
84
  /**
80
- *@internal
85
+ * @internal
81
86
  */
82
87
  ready(): Promise<void>;
83
88
  }
@@ -1 +1 @@
1
- {"version":3,"file":"region-info-model.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/region-info/region-info-model.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACzE,OAAO,EACL,kBAAkB,EAIlB,eAAe,EAEhB,MAAM,YAAY,CAAC;AACpB,OAAO,EACL,iBAAiB,EAGjB,eAAe,EACf,iBAAiB,EACjB,iBAAiB,EACjB,UAAU,EACV,iBAAiB,EACjB,SAAS,EAEV,MAAM,SAAS,CAAC;AAOjB,UAAU,qBAAqB;IAC7B,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAMD,KAAK,wBAAwB,GAAG,gBAAgB,CAAC,qBAAqB,CAAC,CAAC;AAQxE,qBACa,mBAAmB,CAC9B,cAAc,SAAS,kBAAkB,GAAG,kBAAkB,CAC9D,YAAW,eAAe;IAE1B,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,CAAC,aAAa,CAA4B;IACjD,OAAO,CAAC,UAAU,CAAa;IAC/B,OAAO,CAAC,iBAAiB,CAAoB;IAE7C,OAAO,CAAC,SAAS,CAAkD;IACnE,OAAO,CAAC,WAAW,CAA6B;IAChD,OAAO,CAAC,WAAW,CAA6B;IAChD,OAAO,CAAC,WAAW,CAAoC;IAEvD,YAAY,EAAG,wBAAwB,CAAC;IAGxC,OAAO,CAAC,MAAM,CAAoB;IAElC,OAAO,CAAC,OAAO,CAAgB;IAC/B,OAAO,CAAC,WAAW,CAAgC;gBAEvC,OAAO,EAAE,MAAM;IAe3B,IAAI,gBAAgB,aAEnB;IACD,IAAI,iBAAiB,WAEpB;IAED,IAAI,YAAY,WAEf;IAED,IAAI,YAAY,WASf;IAED,IAAI,kBAAkB,WAKrB;IAED,IAAI,kBAAkB,YAKrB;IAED,IAAI,YAAY,WASf;IAED,IAAI,kBAAkB,WAKrB;IAED,IAAI,iBAAiB,WAMpB;IAED,IAAI,eAAe,WAElB;IAED,IAAI,gBAAgB,WAEnB;IAED,IAAI,SAAS,aAEZ;IAED,IAAI,YAAY,aAKf;IAED,IAAI,QAAQ,WAEX;IAED,IAAI,cAAc,oCAEjB;IAED,IAAI,kBAAkB,WAErB;IAED,IAAI,iBAAiB,wBAQpB;IAED,IAAI,iBAAiB,wBAQpB;IAED,IAAI,iBAAiB,wBAOpB;IAED,qBAAqB,CAAC,YAAY,EAAE,MAAM;IAW1C,qBAAqB,CAAC,YAAY,EAAE,MAAM;IAW1C,qBAAqB,CAAC,YAAY,EAAE,MAAM;IAW1C,aAAa,CAAC,KAAK,CAAC,EAAE,MAAM;IAe5B,cAAc,CAAC,KAAK,EAAE,MAAM;IAa5B;;OAEG;IACH,2BAA2B,CACzB,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,EAClB,KAAK,CAAC,EAAE,MAAM;IAqChB;;OAEG;IACH,wBAAwB,CAAC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM;IAyB5D;;OAEG;IAEH,aAAa,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS;IAoBnE;;OAEG;IACH,iBAAiB,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM;IAazD;;OAEG;IACH,OAAO,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,EAAE,UAAU;IAqDvD;;OAEG;IACG,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IAI3B;;OAEG;IACG,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IAuD3B;;OAEG;IACG,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;CAG7B;AAED,QAAA,MAAM,YAAY;;;;;;;;;CASjB,CAAC;AACF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"region-info-model.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/region-info/region-info-model.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACzE,OAAO,EACL,kBAAkB,EAIlB,eAAe,EAEhB,MAAM,YAAY,CAAC;AACpB,OAAO,EACL,iBAAiB,EAGjB,eAAe,EACf,iBAAiB,EACjB,iBAAiB,EACjB,UAAU,EACV,iBAAiB,EACjB,SAAS,EAEV,MAAM,SAAS,CAAC;AAOjB,UAAU,qBAAqB;IAC7B,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAMD,KAAK,wBAAwB,GAAG,gBAAgB,CAAC,qBAAqB,CAAC,CAAC;AAoBxE;;;GAGG;AACH,qBACa,mBAAmB,CAC9B,cAAc,SAAS,kBAAkB,GAAG,kBAAkB,CAC9D,YAAW,eAAe;IAE1B,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,CAAC,aAAa,CAA4B;IACjD,OAAO,CAAC,UAAU,CAAa;IAC/B,OAAO,CAAC,iBAAiB,CAAoB;IAE7C,eAAe,EAAE,MAAM,CAAC;IAExB,OAAO,CAAC,SAAS,CAAkD;IACnE,OAAO,CAAC,WAAW,CAA6B;IAChD,OAAO,CAAC,WAAW,CAA6B;IAChD,OAAO,CAAC,WAAW,CAAoC;IAEvD,YAAY,EAAG,wBAAwB,CAAC;IAGxC,OAAO,CAAC,MAAM,CAAoB;IAElC,OAAO,CAAC,OAAO,CAAgB;IAC/B,OAAO,CAAC,WAAW,CAAgC;gBAEvC,OAAO,EAAE,MAAM;IAgB3B,IAAI,gBAAgB,aAEnB;IACD,IAAI,iBAAiB,WAEpB;IAED,IAAI,YAAY,WAEf;IAED,IAAI,YAAY,WASf;IAED,IAAI,kBAAkB,WAKrB;IAED,IAAI,kBAAkB,YAKrB;IAED,IAAI,YAAY,WASf;IAED,IAAI,kBAAkB,WAKrB;IAED,IAAI,iBAAiB,WAMpB;IAED,IAAI,eAAe,WAElB;IAED,IAAI,gBAAgB,WAEnB;IAED,IAAI,SAAS,aAEZ;IAED,IAAI,YAAY,aAKf;IAED,IAAI,QAAQ,WAEX;IAED,IAAI,cAAc,oCAEjB;IAED,IAAI,kBAAkB,WAErB;IAED,IAAI,iBAAiB,wBAQpB;IAED,IAAI,iBAAiB,wBAQpB;IAED,IAAI,iBAAiB,wBAOpB;IAED,qBAAqB,CAAC,YAAY,EAAE,MAAM;IAW1C,qBAAqB,CAAC,YAAY,EAAE,MAAM;IAW1C,qBAAqB,CAAC,YAAY,EAAE,MAAM;IAW1C,aAAa,CAAC,KAAK,CAAC,EAAE,MAAM;IAe5B,cAAc,CAAC,KAAK,EAAE,MAAM;IAa5B;;OAEG;IACH,2BAA2B,CACzB,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,EAClB,KAAK,CAAC,EAAE,MAAM;IAqChB;;OAEG;IACH,wBAAwB,CAAC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM;IAyB5D;;OAEG;IAEH,aAAa,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS;IAoBnE;;OAEG;IACH,iBAAiB,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM;IAazD;;OAEG;IACH,OAAO,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,EAAE,UAAU;IAqDvD;;OAEG;IACG,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IAI3B;;OAEG;IACG,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IAuD3B;;OAEG;IACG,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;CAG7B;AAED,QAAA,MAAM,YAAY;;;;;;;;;CASjB,CAAC;AACF,eAAe,YAAY,CAAC"}
@@ -43,6 +43,6 @@ export type RegionsResponse<AdditionalData extends BaseRegionResponse = BaseRegi
43
43
  * @internal
44
44
  * Retrieves the initial Region Info data.
45
45
  */
46
- export declare const getRegionInfo: () => Promise<import('../../../../core').KosServiceResponse<RegionInfoResponse> | undefined>;
47
- export declare const getRegions: () => Promise<import('../../../../core').KosServiceResponse<RegionsResponse<BaseRegionResponse>[]> | undefined>;
46
+ export declare const getRegionInfo: (baseServicePath: string) => Promise<import('../../../../core').KosServiceResponse<RegionInfoResponse> | undefined>;
47
+ export declare const getRegions: (baseServicePath: string) => Promise<import('../../../../core').KosServiceResponse<RegionsResponse<BaseRegionResponse>[]> | undefined>;
48
48
  //# sourceMappingURL=region-info-services.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"region-info-services.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/region-info/services/region-info-services.ts"],"names":[],"mappings":"AASA,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;CACf;AACD,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,OAAO,CAAC;CACf;AACD,MAAM,WAAW,IAAI;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,OAAO,CAAC;CACd;AACD,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,IAAI,EAAE,CAAC;CACf;AACD,MAAM,WAAW,kBAAkB;IACjC,WAAW,EAAE,UAAU,EAAE,CAAC;IAC1B,WAAW,EAAE,UAAU,EAAE,CAAC;IAC1B,WAAW,EAAE,UAAU,EAAE,CAAC;CAC3B;AAED,MAAM,WAAW,kBAAkB;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,MAAM,EAAE,OAAO,CAAC;CACjB;AACD,MAAM,MAAM,eAAe,CACzB,cAAc,SAAS,kBAAkB,GAAG,kBAAkB,IAC5D,kBAAkB,GAAG;KACtB,GAAG,IAAI,MAAM,cAAc,GAAG,cAAc,CAAC,GAAG,CAAC;CACnD,CAAC;AACF;;;;GAIG;AACH,eAAO,MAAM,aAAa,8FAGzB,CAAC;AAEF,eAAO,MAAM,UAAU,iHAKtB,CAAC"}
1
+ {"version":3,"file":"region-info-services.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/region-info/services/region-info-services.ts"],"names":[],"mappings":"AASA,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;CACf;AACD,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,OAAO,CAAC;CACf;AACD,MAAM,WAAW,IAAI;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,OAAO,CAAC;CACd;AACD,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,IAAI,EAAE,CAAC;CACf;AACD,MAAM,WAAW,kBAAkB;IACjC,WAAW,EAAE,UAAU,EAAE,CAAC;IAC1B,WAAW,EAAE,UAAU,EAAE,CAAC;IAC1B,WAAW,EAAE,UAAU,EAAE,CAAC;CAC3B;AAED,MAAM,WAAW,kBAAkB;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,MAAM,EAAE,OAAO,CAAC;CACjB;AACD,MAAM,MAAM,eAAe,CACzB,cAAc,SAAS,kBAAkB,GAAG,kBAAkB,IAC5D,kBAAkB,GAAG;KACtB,GAAG,IAAI,MAAM,cAAc,GAAG,cAAc,CAAC,GAAG,CAAC;CACnD,CAAC;AACF;;;;GAIG;AACH,eAAO,MAAM,aAAa,oBAA2B,MAAM,2FAS1D,CAAC;AAEF,eAAO,MAAM,UAAU,oBAA2B,MAAM,8GASvD,CAAC"}