@kosdev-code/kos-ui-sdk 2.1.36 → 2.1.38

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 (293) 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/core/decorators/fsm-injection-utils.d.ts.map +1 -1
  8. package/core/core/decorators/index.d.ts +1 -0
  9. package/core/core/decorators/index.d.ts.map +1 -1
  10. package/core/core/decorators/kos-child.d.ts +2 -0
  11. package/core/core/decorators/kos-child.d.ts.map +1 -1
  12. package/core/core/decorators/kos-companion.d.ts +14 -0
  13. package/core/core/decorators/kos-companion.d.ts.map +1 -1
  14. package/core/core/decorators/kos-container-aware.d.ts +21 -0
  15. package/core/core/decorators/kos-container-aware.d.ts.map +1 -1
  16. package/core/core/decorators/kos-context.d.ts +6 -0
  17. package/core/core/decorators/kos-context.d.ts.map +1 -1
  18. package/core/core/decorators/kos-execution-context.d.ts +4 -1
  19. package/core/core/decorators/kos-execution-context.d.ts.map +1 -1
  20. package/core/core/decorators/kos-future-aware.d.ts +12 -0
  21. package/core/core/decorators/kos-future-aware.d.ts.map +1 -1
  22. package/core/core/decorators/kos-http-decorators.d.ts +15 -0
  23. package/core/core/decorators/kos-http-decorators.d.ts.map +1 -1
  24. package/core/core/decorators/kos-log.d.ts +4 -0
  25. package/core/core/decorators/kos-log.d.ts.map +1 -1
  26. package/core/core/decorators/kos-logger-aware.d.ts +9 -0
  27. package/core/core/decorators/kos-logger-aware.d.ts.map +1 -1
  28. package/core/core/decorators/kos-model-effect.d.ts +9 -0
  29. package/core/core/decorators/kos-model-effect.d.ts.map +1 -1
  30. package/core/core/decorators/kos-multiple-future-aware.d.ts +14 -0
  31. package/core/core/decorators/kos-multiple-future-aware.d.ts.map +1 -1
  32. package/core/core/decorators/kos-parent.d.ts +4 -0
  33. package/core/core/decorators/kos-parent.d.ts.map +1 -1
  34. package/core/core/decorators/kos-reference.d.ts +9 -0
  35. package/core/core/decorators/kos-reference.d.ts.map +1 -1
  36. package/core/core/decorators/kos-service-request-helpers.d.ts +4 -2
  37. package/core/core/decorators/kos-service-request-helpers.d.ts.map +1 -1
  38. package/core/core/decorators/kos-service-request.d.ts +44 -3
  39. package/core/core/decorators/kos-service-request.d.ts.map +1 -1
  40. package/core/core/decorators/kos-state-machine.d.ts +24 -0
  41. package/core/core/decorators/kos-state-machine.d.ts.map +1 -1
  42. package/core/core/decorators/kos-topic-handler-flow-control.d.ts +17 -1
  43. package/core/core/decorators/kos-topic-handler-flow-control.d.ts.map +1 -1
  44. package/core/core/decorators/kos-trouble-aware.d.ts +6 -0
  45. package/core/core/decorators/kos-trouble-aware.d.ts.map +1 -1
  46. package/core/core/decorators/kos-view-model.d.ts +14 -0
  47. package/core/core/decorators/kos-view-model.d.ts.map +1 -1
  48. package/core/core/decorators/kosDependency.d.ts +2 -0
  49. package/core/core/decorators/kosDependency.d.ts.map +1 -1
  50. package/core/core/decorators/kosModel.d.ts +2 -0
  51. package/core/core/decorators/kosModel.d.ts.map +1 -1
  52. package/core/core/decorators/kosSubscribe.d.ts +9 -0
  53. package/core/core/decorators/kosSubscribe.d.ts.map +1 -1
  54. package/core/core/decorators/kosTopicHandler.d.ts +34 -0
  55. package/core/core/decorators/kosTopicHandler.d.ts.map +1 -1
  56. package/core/core/extension/extension-manager.d.ts +50 -0
  57. package/core/core/extension/extension-manager.d.ts.map +1 -1
  58. package/core/core/extension/initialize-extension.d.ts +24 -0
  59. package/core/core/extension/initialize-extension.d.ts.map +1 -1
  60. package/core/core/extension/plugin-extension-manager.d.ts +11 -0
  61. package/core/core/extension/plugin-extension-manager.d.ts.map +1 -1
  62. package/core/core/kosModel.d.ts +38 -0
  63. package/core/core/kosModel.d.ts.map +1 -1
  64. package/core/core/model/kos-service-request-manager.d.ts.map +1 -1
  65. package/core/core/model/kos-subscription-manager.d.ts.map +1 -1
  66. package/core/core/services/browser-router.d.ts.map +1 -1
  67. package/core/core/transport/webSocketTransport.d.ts +2 -1
  68. package/core/core/transport/webSocketTransport.d.ts.map +1 -1
  69. package/core/index.d.ts +1 -1
  70. package/core/index.d.ts.map +1 -1
  71. package/core/types/kos-dependency.d.ts +10 -1
  72. package/core/types/kos-dependency.d.ts.map +1 -1
  73. package/core/types/service-response-store.d.ts +10 -0
  74. package/core/types/service-response-store.d.ts.map +1 -1
  75. package/core/types/utils/kos-fetch.d.ts +121 -0
  76. package/core/types/utils/kos-fetch.d.ts.map +1 -1
  77. package/core/util/ancestor-path-visitor.d.ts +2 -0
  78. package/core/util/ancestor-path-visitor.d.ts.map +1 -1
  79. package/core/util/api-request-id.d.ts +4 -0
  80. package/core/util/api-request-id.d.ts.map +1 -1
  81. package/core/util/apply-mixins.d.ts +4 -0
  82. package/core/util/apply-mixins.d.ts.map +1 -1
  83. package/core/util/array-utils.d.ts +4 -0
  84. package/core/util/array-utils.d.ts.map +1 -1
  85. package/core/util/container-utils.d.ts +14 -0
  86. package/core/util/container-utils.d.ts.map +1 -1
  87. package/core/util/date-utils.d.ts +29 -0
  88. package/core/util/date-utils.d.ts.map +1 -1
  89. package/core/util/debounce.d.ts +3 -0
  90. package/core/util/debounce.d.ts.map +1 -1
  91. package/core/util/feature-flags.d.ts +19 -0
  92. package/core/util/feature-flags.d.ts.map +1 -1
  93. package/core/util/get-query-params.d.ts +4 -0
  94. package/core/util/get-query-params.d.ts.map +1 -1
  95. package/core/util/hsl-to-hex.d.ts +16 -0
  96. package/core/util/hsl-to-hex.d.ts.map +1 -1
  97. package/core/util/index.d.ts +2 -0
  98. package/core/util/index.d.ts.map +1 -1
  99. package/core/util/kos-config-init.d.ts +36 -0
  100. package/core/util/kos-config-init.d.ts.map +1 -1
  101. package/core/util/kos-data-mapper-utils.d.ts +9 -0
  102. package/core/util/kos-data-mapper-utils.d.ts.map +1 -1
  103. package/core/util/kos-fetch.d.ts +12 -0
  104. package/core/util/kos-fetch.d.ts.map +1 -1
  105. package/core/util/kos-message-utils.d.ts +88 -0
  106. package/core/util/kos-message-utils.d.ts.map +1 -1
  107. package/core/util/kos-model-utils.d.ts +46 -0
  108. package/core/util/kos-model-utils.d.ts.map +1 -1
  109. package/core/util/kos-model-visitor.d.ts +2 -0
  110. package/core/util/kos-model-visitor.d.ts.map +1 -1
  111. package/core/util/kos-org-utils.d.ts +3 -0
  112. package/core/util/kos-org-utils.d.ts.map +1 -0
  113. package/core/util/kos-service-request.d.ts +34 -2
  114. package/core/util/kos-service-request.d.ts.map +1 -1
  115. package/core/util/log-utils.d.ts +12 -0
  116. package/core/util/log-utils.d.ts.map +1 -1
  117. package/core/util/middleware.d.ts +15 -0
  118. package/core/util/middleware.d.ts.map +1 -1
  119. package/core/util/model-attribute-utils.d.ts +7 -0
  120. package/core/util/model-attribute-utils.d.ts.map +1 -1
  121. package/core/util/model-factory.d.ts +4 -0
  122. package/core/util/model-factory.d.ts.map +1 -1
  123. package/core/util/model-registration-utils.d.ts +8 -0
  124. package/core/util/model-registration-utils.d.ts.map +1 -1
  125. package/core/util/model-utils.d.ts +30 -6
  126. package/core/util/model-utils.d.ts.map +1 -1
  127. package/core/util/observable-proxy-map.d.ts +11 -0
  128. package/core/util/observable-proxy-map.d.ts.map +1 -1
  129. package/core/util/paired-client-heartbeat.d.ts +2 -0
  130. package/core/util/paired-client-heartbeat.d.ts.map +1 -1
  131. package/core/util/pipe.d.ts +4 -0
  132. package/core/util/pipe.d.ts.map +1 -1
  133. package/core/util/retry-with-exponential-backoff.d.ts +3 -0
  134. package/core/util/retry-with-exponential-backoff.d.ts.map +1 -1
  135. package/core/util/service-factory.d.ts +10 -0
  136. package/core/util/service-factory.d.ts.map +1 -1
  137. package/core/util/service-request-error.d.ts +60 -0
  138. package/core/util/service-request-error.d.ts.map +1 -0
  139. package/core/util/service-response.d.ts +15 -0
  140. package/core/util/service-response.d.ts.map +1 -1
  141. package/core/util/session-utils.d.ts +8 -0
  142. package/core/util/session-utils.d.ts.map +1 -1
  143. package/core/util/wait-for-request.d.ts +16 -0
  144. package/core/util/wait-for-request.d.ts.map +1 -1
  145. package/core/util/when-ready.d.ts +3 -0
  146. package/core/util/when-ready.d.ts.map +1 -1
  147. package/index.cjs +70 -70
  148. package/index.cjs.map +1 -1
  149. package/index.d.cts +6 -4
  150. package/index.d.ts +6 -4
  151. package/index.d.ts.map +1 -1
  152. package/index.js +9257 -9251
  153. package/index.js.map +1 -1
  154. package/kos-models.json +426 -0
  155. package/models/constants/index.d.ts +3 -1
  156. package/models/constants/index.d.ts.map +1 -1
  157. package/models/decorators/future-service.d.ts.map +1 -1
  158. package/models/models/browser-router/types/index.d.ts +1 -0
  159. package/models/models/canvas-dispatcher/types/index.d.ts +5 -0
  160. package/models/models/canvas-renderer/types/index.d.ts +5 -0
  161. package/models/models/config-bean/config-bean-model.d.ts.map +1 -1
  162. package/models/models/config-bean/types/index.d.ts +1 -0
  163. package/models/models/config-bean-prop/config-bean-prop-model.d.ts +1 -1
  164. package/models/models/config-bean-prop/config-bean-prop-model.d.ts.map +1 -1
  165. package/models/models/config-bean-prop/types/index.d.ts +8 -2
  166. package/models/models/device/types/index.d.ts +1 -0
  167. package/models/models/future/future-types.d.ts +14 -0
  168. package/models/models/future/future-types.d.ts.map +1 -1
  169. package/models/models/gpio-chip/gpio-chip-container-model.d.ts +25 -0
  170. package/models/models/gpio-chip/gpio-chip-container-model.d.ts.map +1 -0
  171. package/models/models/gpio-chip/gpio-chip-model.d.ts +30 -0
  172. package/models/models/gpio-chip/gpio-chip-model.d.ts.map +1 -0
  173. package/models/models/gpio-chip/index.d.ts +7 -0
  174. package/models/models/gpio-chip/index.d.ts.map +1 -0
  175. package/models/models/gpio-chip/services/gpio-chip-services.d.ts +86 -0
  176. package/models/models/gpio-chip/services/gpio-chip-services.d.ts.map +1 -0
  177. package/models/models/gpio-chip/services/index.d.ts +2 -0
  178. package/models/models/gpio-chip/services/index.d.ts.map +1 -0
  179. package/models/models/gpio-chip/types/index.d.ts +24 -0
  180. package/models/models/gpio-pin/gpio-pin-container-model.d.ts +23 -0
  181. package/models/models/gpio-pin/gpio-pin-container-model.d.ts.map +1 -0
  182. package/models/models/gpio-pin/gpio-pin-model.d.ts +26 -0
  183. package/models/models/gpio-pin/gpio-pin-model.d.ts.map +1 -0
  184. package/models/models/gpio-pin/index.d.ts +6 -0
  185. package/models/models/gpio-pin/index.d.ts.map +1 -0
  186. package/models/models/gpio-pin/types/index.d.ts +23 -0
  187. package/models/models/key-value/types/index.d.ts +1 -0
  188. package/models/models/kos-expression-evaluator/types/index.d.ts +5 -0
  189. package/models/models/kos-log-manager/types/index.d.ts +4 -0
  190. package/models/models/kos-time/types/index.d.ts +3 -0
  191. package/models/models/log-block/types/index.d.ts +4 -0
  192. package/models/models/log-stream/types/index.d.ts +3 -1
  193. package/models/models/network-interface/services/network-interface-services.d.ts.map +1 -1
  194. package/models/models/network-interface/types/index.d.ts +1 -0
  195. package/models/models/ota/types/index.d.ts +31 -0
  196. package/models/models/region-info/region-info-model.d.ts +1 -0
  197. package/models/models/region-info/region-info-model.d.ts.map +1 -1
  198. package/models/models/region-info/services/region-info-services.d.ts +2 -2
  199. package/models/models/region-info/services/region-info-services.d.ts.map +1 -1
  200. package/models/models/region-info/types/index.d.ts +50 -0
  201. package/models/models/region-info/types/index.d.ts.map +1 -1
  202. package/models/models/software-info/services/software-info-services.d.ts.map +1 -1
  203. package/models/models/software-info/types/index.d.ts +4 -1
  204. package/models/models/state-bean/types/index.d.ts +3 -0
  205. package/models/models/state-prop/types/index.d.ts +2 -0
  206. package/models/models/storage-device/types/index.d.ts +2 -0
  207. package/models/models/translation/types/index.d.ts +3 -0
  208. package/models/models/trouble/services/trouble-services.d.ts +1 -0
  209. package/models/models/trouble/services/trouble-services.d.ts.map +1 -1
  210. package/models/models/trouble/trouble-model.d.ts +3 -1
  211. package/models/models/trouble/trouble-model.d.ts.map +1 -1
  212. package/models/models/trouble/types/index.d.ts +12 -0
  213. package/models/models/trouble-container/trouble-container-model.d.ts +3 -2
  214. package/models/models/trouble-container/trouble-container-model.d.ts.map +1 -1
  215. package/models/models/trouble-container/types/index.d.ts +5 -0
  216. package/models/models/usb-update/types/index.d.ts +10 -0
  217. package/models/utils/client.d.ts +4 -0
  218. package/models/utils/client.d.ts.map +1 -1
  219. package/models/utils/extension-manager.d.ts +5 -0
  220. package/models/utils/extension-manager.d.ts.map +1 -1
  221. package/models/utils/get-kos-connection-id.d.ts +2 -0
  222. package/models/utils/get-kos-connection-id.d.ts.map +1 -0
  223. package/models/utils/index.d.ts +2 -0
  224. package/models/utils/index.d.ts.map +1 -1
  225. package/models/utils/openapi-index.d.ts +2 -2
  226. package/models/utils/service-accessor.d.ts +86 -0
  227. package/models/utils/service-accessor.d.ts.map +1 -0
  228. package/models/utils/service.d.ts +4 -0
  229. package/models/utils/service.d.ts.map +1 -1
  230. package/models/utils/services/kos/1.6.5/service.d.ts +4 -0
  231. package/models/utils/services/kos/1.6.5/service.d.ts.map +1 -1
  232. package/models/utils/services/kos/1.8.1/service.d.ts +4 -0
  233. package/models/utils/services/kos/1.8.1/service.d.ts.map +1 -1
  234. package/models/utils/services/kos/1.9.x/openapi.d.ts +4597 -0
  235. package/models/utils/services/kos/1.9.x/service.d.ts +124 -0
  236. package/models/utils/services/kos/1.9.x/service.d.ts.map +1 -0
  237. package/models/utils/services/kos/daily/service.d.ts +4 -0
  238. package/models/utils/services/kos/daily/service.d.ts.map +1 -1
  239. package/models/utils/services/vfs/1.6.5/service.d.ts +4 -0
  240. package/models/utils/services/vfs/1.6.5/service.d.ts.map +1 -1
  241. package/models/utils/services/vfs/1.8.1/service.d.ts +4 -0
  242. package/models/utils/services/vfs/1.8.1/service.d.ts.map +1 -1
  243. package/models/utils/services/vfs/1.9.x/openapi.d.ts +51 -0
  244. package/models/utils/services/vfs/1.9.x/service.d.ts +124 -0
  245. package/models/utils/services/vfs/1.9.x/service.d.ts.map +1 -0
  246. package/models/utils/services/vfs/daily/service.d.ts +4 -0
  247. package/models/utils/services/vfs/daily/service.d.ts.map +1 -1
  248. package/models/utils/services-index.d.ts +2 -0
  249. package/models/utils/services-index.d.ts.map +1 -1
  250. package/package.json +4 -2
  251. package/ui/hooks/device/use-device.d.ts +6 -0
  252. package/ui/hooks/device/use-device.d.ts.map +1 -1
  253. package/ui/hooks/kos-time/use-kos-time.d.ts +6 -0
  254. package/ui/hooks/kos-time/use-kos-time.d.ts.map +1 -1
  255. package/ui/hooks/network-interface-container/use-network-interface-container.d.ts +6 -0
  256. package/ui/hooks/network-interface-container/use-network-interface-container.d.ts.map +1 -1
  257. package/ui/hooks/ota/use-ota.d.ts +6 -0
  258. package/ui/hooks/ota/use-ota.d.ts.map +1 -1
  259. package/ui/hooks/software-info/use-software-info.d.ts +6 -0
  260. package/ui/hooks/software-info/use-software-info.d.ts.map +1 -1
  261. package/ui/hooks/storage-device-container/use-storage-device-container.d.ts +6 -0
  262. package/ui/hooks/storage-device-container/use-storage-device-container.d.ts.map +1 -1
  263. package/ui/hooks/translation-container/trans.d.ts +6 -0
  264. package/ui/hooks/translation-container/trans.d.ts.map +1 -1
  265. package/ui/hooks/translation-container/use-translation-container.d.ts +6 -0
  266. package/ui/hooks/translation-container/use-translation-container.d.ts.map +1 -1
  267. package/ui/hooks/translation-container/use-translation.d.ts +7 -0
  268. package/ui/hooks/translation-container/use-translation.d.ts.map +1 -1
  269. package/ui/hooks/translation-container/with-translation-container.d.ts +6 -0
  270. package/ui/hooks/translation-container/with-translation-container.d.ts.map +1 -1
  271. package/ui/hooks/usb-update-container/use-usb-update-container.d.ts +6 -0
  272. package/ui/hooks/usb-update-container/use-usb-update-container.d.ts.map +1 -1
  273. package/ui/hooks/use-config-bean.d.ts +6 -0
  274. package/ui/hooks/use-config-bean.d.ts.map +1 -1
  275. package/ui/hooks/use-config-property.d.ts +6 -0
  276. package/ui/hooks/use-config-property.d.ts.map +1 -1
  277. package/ui/hooks/use-kos-model.d.ts +6 -0
  278. package/ui/hooks/use-kos-model.d.ts.map +1 -1
  279. package/ui/hooks/use-kos-regions.d.ts.map +1 -1
  280. package/core/core/declarative/declarative-actions-wiring.d.ts +0 -13
  281. package/core/core/declarative/declarative-actions-wiring.d.ts.map +0 -1
  282. package/core/core/declarative/declarative-model-bindings.d.ts +0 -191
  283. package/core/core/declarative/declarative-model-bindings.d.ts.map +0 -1
  284. package/core/core/declarative/declarative-model-discovery.d.ts +0 -74
  285. package/core/core/declarative/declarative-model-discovery.d.ts.map +0 -1
  286. package/core/core/declarative/declarative-model-factory.d.ts +0 -58
  287. package/core/core/declarative/declarative-model-factory.d.ts.map +0 -1
  288. package/core/core/declarative/declarative-model-types.d.ts +0 -96
  289. package/core/core/declarative/declarative-model-types.d.ts.map +0 -1
  290. package/core/core/declarative/index.d.ts +0 -7
  291. package/core/core/declarative/index.d.ts.map +0 -1
  292. package/core/core/declarative/types.d.ts +0 -304
  293. package/core/core/declarative/types.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"hsl-to-hex.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-ui-sdk/src/core/util/hsl-to-hex.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,MAAO,MAAM,KAAK,MAAM,KAAK,MAAM,WAWvD,CAAC;AAEF,eAAO,MAAM,cAAc,QAAS,MAAM,WAOzC,CAAC;AAEF,eAAO,MAAM,eAAe,YAAa,OAAO,YAAY,MAAM,WACZ,CAAC;AACvD,eAAO,MAAM,aAAa,YAAa,OAAO,YAAY,MAAM,WACZ,CAAC"}
1
+ {"version":3,"file":"hsl-to-hex.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-ui-sdk/src/core/util/hsl-to-hex.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,QAAQ,MAAO,MAAM,KAAK,MAAM,KAAK,MAAM,WAWvD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,cAAc,QAAS,MAAM,WAOzC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,eAAe,YAAa,OAAO,YAAY,MAAM,WACZ,CAAC;AACvD;;;GAGG;AACH,eAAO,MAAM,aAAa,YAAa,OAAO,YAAY,MAAM,WACZ,CAAC"}
@@ -27,8 +27,10 @@ export * from './paired-client-heartbeat';
27
27
  export * from './pipe';
28
28
  export * from './retry-with-exponential-backoff';
29
29
  export * from './service-factory';
30
+ export * from './service-request-error';
30
31
  export * from './service-response';
31
32
  export * from './session-utils';
32
33
  export * from './wait-for-request';
33
34
  export * from './when-ready';
35
+ export * from './kos-org-utils';
34
36
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-ui-sdk/src/core/util/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,OAAO,KAAK,WAAW,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,yBAAyB,CAAC;AACxC,cAAc,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,yBAAyB,CAAC;AACxC,cAAc,iBAAiB,CAAC;AAChC,cAAc,4BAA4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AC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC"}
@@ -3,14 +3,50 @@ interface KosConfig {
3
3
  profiles: string[];
4
4
  [key: string]: boolean | string[] | string | number | undefined;
5
5
  }
6
+ /**
7
+ * @kosService core.utils
8
+ * @kosApiLevel 20
9
+ */
6
10
  export declare const PROFILE_ENABLE_RELEASES = "studio.enable.releases";
11
+ /**
12
+ * @kosService core.utils
13
+ * @kosApiLevel 2
14
+ */
7
15
  export declare const PROFILE_TOOLS_PREVIEW = "studio.tools.preview";
16
+ /**
17
+ * @kosService core.utils
18
+ * @kosApiLevel 2
19
+ */
8
20
  export declare const PROFILE_RELAX_STORE_VALIDATION = "studio.relax.store.validation";
21
+ /**
22
+ * @kosService core.utils
23
+ * @kosApiLevel 2
24
+ */
9
25
  export declare const PROFILE_LOG_DEBUG = "studio.log.debug";
26
+ /**
27
+ * @kosService core.utils
28
+ * @kosApiLevel 2
29
+ */
10
30
  export declare const PROFILE_LOG_INFO = "studio.log.info";
31
+ /**
32
+ * @kosService core.utils
33
+ * @kosApiLevel 2
34
+ */
11
35
  export declare const KosGlobalConfig: KosConfig;
36
+ /**
37
+ * @kosService core.utils
38
+ * @kosApiLevel 2
39
+ */
12
40
  export declare const resolveKosProfiles: () => string[];
41
+ /**
42
+ * @kosService core.utils
43
+ * @kosApiLevel 2
44
+ */
13
45
  export declare const hasKosProfile: (profile: string) => boolean;
46
+ /**
47
+ * @kosService core.utils
48
+ * @kosApiLevel 2
49
+ */
14
50
  export declare const isKosLoggingEnabled: () => boolean;
15
51
  export {};
16
52
  //# sourceMappingURL=kos-config-init.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"kos-config-init.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-ui-sdk/src/core/util/kos-config-init.ts"],"names":[],"mappings":"AAAA,UAAU,SAAS;IACjB,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM,EAAE,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;CACjE;AAED,eAAO,MAAM,uBAAuB,2BAA2B,CAAC;AAChE,eAAO,MAAM,qBAAqB,yBAAyB,CAAC;AAC5D,eAAO,MAAM,8BAA8B,kCAAkC,CAAC;AAC9E,eAAO,MAAM,iBAAiB,qBAAqB,CAAC;AACpD,eAAO,MAAM,gBAAgB,oBAAoB,CAAC;AAUlD,eAAO,MAAM,eAAe,EAAE,SAAqB,CAAC;AAEpD,eAAO,MAAM,kBAAkB,gBAAuC,CAAC;AAEvE,eAAO,MAAM,aAAa,YAAa,MAAM,YACL,CAAC;AAEzC,eAAO,MAAM,mBAAmB,eAAyC,CAAC"}
1
+ {"version":3,"file":"kos-config-init.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-ui-sdk/src/core/util/kos-config-init.ts"],"names":[],"mappings":"AAAA,UAAU,SAAS;IACjB,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM,EAAE,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;CACjE;AAED;;;GAGG;AACH,eAAO,MAAM,uBAAuB,2BAA2B,CAAC;AAChE;;;GAGG;AACH,eAAO,MAAM,qBAAqB,yBAAyB,CAAC;AAC5D;;;GAGG;AACH,eAAO,MAAM,8BAA8B,kCAAkC,CAAC;AAC9E;;;GAGG;AACH,eAAO,MAAM,iBAAiB,qBAAqB,CAAC;AACpD;;;GAGG;AACH,eAAO,MAAM,gBAAgB,oBAAoB,CAAC;AAUlD;;;GAGG;AACH,eAAO,MAAM,eAAe,EAAE,SAAqB,CAAC;AAEpD;;;GAGG;AACH,eAAO,MAAM,kBAAkB,gBAAuC,CAAC;AAEvE;;;GAGG;AACH,eAAO,MAAM,aAAa,YAAa,MAAM,YACL,CAAC;AAEzC;;;GAGG;AACH,eAAO,MAAM,mBAAmB,eAAyC,CAAC"}
@@ -1,6 +1,12 @@
1
1
  import { IKosDataModel } from '../core/kosModel';
2
2
 
3
+ /**
4
+ * @kosService core.utils
5
+ */
3
6
  export type KosDataMapper<D extends object = any, T extends IKosDataModel = IKosDataModel> = (data: D, model: T) => Partial<Omit<T, keyof IKosDataModel>>;
7
+ /**
8
+ * @kosService core.utils
9
+ */
4
10
  export type KosDataMapperUtils<D extends object, T extends IKosDataModel> = KosDataMapper<D, T>;
5
11
  /**
6
12
  * Utility function that can be used to map an arbitrary data object to a model.
@@ -9,6 +15,9 @@ export type KosDataMapperUtils<D extends object, T extends IKosDataModel> = KosD
9
15
  * @param model - the target model to map the data to
10
16
  * @param mapper - a mapping function that takes the input data and the target model and returns a partial of the target model. The
11
17
  * results will be applied to the model.
18
+ *
19
+ * @kosService core.utils
20
+ * @kosApiLevel 2
12
21
  */
13
22
  export declare const mapDataToModel: <D extends object, T extends IKosDataModel>(data: D, model: T, mapper?: KosDataMapperUtils<D, T>) => void;
14
23
  //# sourceMappingURL=kos-data-mapper-utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"kos-data-mapper-utils.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-ui-sdk/src/core/util/kos-data-mapper-utils.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjD,MAAM,MAAM,aAAa,CACvB,CAAC,SAAS,MAAM,GAAG,GAAG,EACtB,CAAC,SAAS,aAAa,GAAG,aAAa,IACrC,CAAC,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC,EAAE,MAAM,aAAa,CAAC,CAAC,CAAC;AAEjE,MAAM,MAAM,kBAAkB,CAC5B,CAAC,SAAS,MAAM,EAChB,CAAC,SAAS,aAAa,IACrB,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AAaxB;;;;;;;GAOG;AACH,eAAO,MAAM,cAAc,oDACnB,CAAC,SACA,CAAC,WACA,mBAAmB,CAAC,EAAE,CAAC,CAAC,SAMjC,CAAC"}
1
+ {"version":3,"file":"kos-data-mapper-utils.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-ui-sdk/src/core/util/kos-data-mapper-utils.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjD;;GAEG;AACH,MAAM,MAAM,aAAa,CACvB,CAAC,SAAS,MAAM,GAAG,GAAG,EACtB,CAAC,SAAS,aAAa,GAAG,aAAa,IACrC,CAAC,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC,EAAE,MAAM,aAAa,CAAC,CAAC,CAAC;AAEjE;;GAEG;AACH,MAAM,MAAM,kBAAkB,CAC5B,CAAC,SAAS,MAAM,EAChB,CAAC,SAAS,aAAa,IACrB,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AAaxB;;;;;;;;;;GAUG;AACH,eAAO,MAAM,cAAc,oDACnB,CAAC,SACA,CAAC,WACA,mBAAmB,CAAC,EAAE,CAAC,CAAC,SAMjC,CAAC"}
@@ -4,6 +4,9 @@ import { KosFetchOptions, Response } from '../types/utils/kos-fetch';
4
4
  * Represents the response data received from a Kos service.
5
5
  *
6
6
  * @typeparam T - The type of data in the response.
7
+ *
8
+ * @kosService core.fetch
9
+ * @kosApiLevel 2
7
10
  */
8
11
  export interface KosServiceResponse<T> {
9
12
  data: T;
@@ -11,8 +14,17 @@ export interface KosServiceResponse<T> {
11
14
  }
12
15
  /**
13
16
  * Represents the base URL for Kos fetch requests.
17
+ *
18
+ * @kosService core.fetch
19
+ * @kosApiLevel 2
14
20
  */
15
21
  declare let BASE_URL: string;
22
+ /**
23
+ * KOS fetch function — WebSocket-based fetch implementation for KOS transport.
24
+ *
25
+ * @kosService core.fetch
26
+ * @kosApiLevel 2
27
+ */
16
28
  declare let kosFetch: (url: string, options?: KosFetchOptions) => Promise<Response>;
17
29
  export { BASE_URL, kosFetch };
18
30
  //# sourceMappingURL=kos-fetch.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"kos-fetch.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-ui-sdk/src/core/util/kos-fetch.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAmBrE;;;;GAIG;AACH,MAAM,WAAW,kBAAkB,CAAC,CAAC;IACnC,IAAI,EAAE,CAAC,CAAC;IACR,MAAM,EAAE,MAAM,CAAC;CAChB;AAkTD;;GAEG;AACH,QAAA,IAAI,QAAQ,QAAS,CAAC;AACtB,QAAA,IAAI,QAAQ,QAtNL,MAAM,YACD,eAAe,KACxB,QAAQ,QAAQ,CAoNM,CAAC;AAS1B,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAC"}
1
+ {"version":3,"file":"kos-fetch.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-ui-sdk/src/core/util/kos-fetch.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAmBrE;;;;;;;GAOG;AACH,MAAM,WAAW,kBAAkB,CAAC,CAAC;IACnC,IAAI,EAAE,CAAC,CAAC;IACR,MAAM,EAAE,MAAM,CAAC;CAChB;AAkTD;;;;;GAKG;AACH,QAAA,IAAI,QAAQ,QAAS,CAAC;AACtB;;;;;GAKG;AACH,QAAA,IAAI,QAAQ,QA/NL,MAAM,YACD,eAAe,KACxB,QAAQ,QAAQ,CA6NM,CAAC;AAS1B,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAC"}
@@ -1,34 +1,122 @@
1
1
  import { KosBroadcastRequest, KosFetchReqeust, KosFetchResponseParams, KosMessageOptions, KosHttpMessageOptions, KosMessageRequest } from '../types';
2
2
 
3
+ /**
4
+ * @kosService core.fetch
5
+ * @kosApiLevel 2
6
+ */
3
7
  export declare const createStudioMessage: ({ path, requestId, method, destinationAddress, }: KosFetchReqeust) => string;
8
+ /**
9
+ * @kosService core.fetch
10
+ * @kosApiLevel 2
11
+ */
4
12
  export declare const createFosBaseMessage: ({ path, requestId, method, destinationAddress, ordered, tracker, }: KosFetchReqeust) => string;
13
+ /**
14
+ * @kosService core.fetch
15
+ * @kosApiLevel 2
16
+ */
5
17
  export declare const createBaseMessage: ({ path, requestId, method, destinationAddress, ordered, tracker, bridge, headers, }: KosFetchReqeust) => string;
18
+ /**
19
+ * @kosService core.fetch
20
+ * @kosApiLevel 2
21
+ */
6
22
  export declare const createMessageBody: (msg: string, body?: string) => string;
23
+ /**
24
+ * @kosService core.fetch
25
+ * @kosApiLevel 2
26
+ */
7
27
  export declare function createHeaders(headers: Record<string, string>): Headers;
28
+ /**
29
+ * @kosService core.fetch
30
+ * @kosApiLevel 2
31
+ */
8
32
  export declare function createReadableStream(msg: string): ReadableStream<Uint8Array> | null;
33
+ /**
34
+ * @kosService core.fetch
35
+ * @kosApiLevel 2
36
+ */
9
37
  export declare const createStudioMessageRequest: ({ path, requestId, destinationAddress, }: KosFetchReqeust) => string;
38
+ /**
39
+ * @kosService core.fetch
40
+ * @kosApiLevel 2
41
+ */
10
42
  export declare const createKosMessage: ({ requestId, destinationAddress, requestType, headers, }: KosMessageRequest) => string;
43
+ /**
44
+ * @kosService core.fetch
45
+ * @kosApiLevel 2
46
+ */
11
47
  export declare const sendKosMessage: <T extends object>(msg: T, options: KosMessageRequest) => void;
48
+ /**
49
+ * @kosService core.fetch
50
+ * @kosApiLevel 2
51
+ */
12
52
  export declare const createStudioMessageResponse: ({ path, responseId, status, destinationAddress, }: KosFetchResponseParams) => string;
53
+ /**
54
+ * @kosService core.fetch
55
+ * @kosApiLevel 2
56
+ */
13
57
  export declare const sendStudioMessageRequest: <T extends object>(msg: T, options: KosFetchReqeust) => void;
58
+ /**
59
+ * @kosService core.fetch
60
+ * @kosApiLevel 2
61
+ */
14
62
  export declare const sendStudioMessage: <T extends object>(msg: T, options: KosFetchResponseParams) => void;
63
+ /**
64
+ * @kosService core.fetch
65
+ * @kosApiLevel 2
66
+ */
15
67
  export declare const createBroadcastMessageResponse: ({ topic, }: KosBroadcastRequest) => string;
68
+ /**
69
+ * @kosService core.fetch
70
+ * @kosApiLevel 2
71
+ */
16
72
  export declare const createKosHtpMessageResponse: ({ responseId, destinationAddress, type, sourceAddress, status, }: KosHttpMessageOptions) => string;
73
+ /**
74
+ * @kosService core.fetch
75
+ * @kosApiLevel 2
76
+ */
17
77
  export declare const createKosMessageResponse: ({ topic, responseId, destinationAddress, type, }: KosMessageOptions) => string;
78
+ /**
79
+ * @kosService core.fetch
80
+ * @kosApiLevel 2
81
+ */
18
82
  export interface KosBroadcastRequestParams<T extends object> {
19
83
  msg: T;
20
84
  options: KosBroadcastRequest;
21
85
  }
86
+ /**
87
+ * @kosService core.fetch
88
+ * @kosApiLevel 2
89
+ */
22
90
  export declare const sendBroadcastMessage: <T extends object>({ msg, options, }: KosBroadcastRequestParams<T>) => void;
91
+ /**
92
+ * @kosService core.fetch
93
+ * @kosApiLevel 2
94
+ */
23
95
  export interface KosMessageResponseParams<T extends object> {
24
96
  msg: T;
25
97
  options: KosMessageOptions;
26
98
  }
99
+ /**
100
+ * @kosService core.fetch
101
+ * @kosApiLevel 2
102
+ */
27
103
  export interface KosHttpMessageResponseParams<T extends object> {
28
104
  msg: T;
29
105
  options: KosHttpMessageOptions;
30
106
  }
107
+ /**
108
+ * @kosService core.fetch
109
+ * @kosApiLevel 2
110
+ */
31
111
  export declare const sendKosMessageResponse: <T extends object>({ msg, options, }: KosMessageResponseParams<T>) => void;
112
+ /**
113
+ * @kosService core.fetch
114
+ * @kosApiLevel 2
115
+ */
32
116
  export declare const sendKosHttpMessageResponse: <T extends object>({ msg, options, }: KosHttpMessageResponseParams<T>) => void;
117
+ /**
118
+ * @kosService core.fetch
119
+ * @kosApiLevel 2
120
+ */
33
121
  export declare const getMessageBody: (payload: any, skipParse: any) => any;
34
122
  //# sourceMappingURL=kos-message-utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"kos-message-utils.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-ui-sdk/src/core/util/kos-message-utils.ts"],"names":[],"mappings":"AAkBA,OAAO,EACL,mBAAmB,EACnB,eAAe,EACf,sBAAsB,EACtB,iBAAiB,EACjB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACvB,MAAM,UAAU,CAAC;AAElB,eAAO,MAAM,mBAAmB,qDAK7B,eAAe,WAYjB,CAAC;AAEF,eAAO,MAAM,oBAAoB,uEAO9B,eAAe,WAiBjB,CAAC;AAEF,eAAO,MAAM,iBAAiB,wFAS3B,eAAe,WAsBjB,CAAC;AAEF,eAAO,MAAM,iBAAiB,QAAS,MAAM,SAAS,MAAM,WAM3D,CAAC;AAEF,wBAAgB,aAAa,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,OAAO,CAiCtE;AAED,wBAAgB,oBAAoB,CAClC,GAAG,EAAE,MAAM,GACV,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CA+BnC;AAED,eAAO,MAAM,0BAA0B,6CAIpC,eAAe,WAQjB,CAAC;AAEF,eAAO,MAAM,gBAAgB,6DAK1B,iBAAiB,WAWnB,CAAC;AAEF,eAAO,MAAM,cAAc,0BACpB,CAAC,WACG,iBAAiB,SAgB3B,CAAC;AACF,eAAO,MAAM,2BAA2B,sDAKrC,sBAAsB,WAUxB,CAAC;AAEF,eAAO,MAAM,wBAAwB,0BAC9B,CAAC,WACG,eAAe,SAezB,CAAC;AACF,eAAO,MAAM,iBAAiB,0BACvB,CAAC,WACG,sBAAsB,SAiBhC,CAAC;AAEF,eAAO,MAAM,8BAA8B,eAExC,mBAAmB,WAKrB,CAAC;AACF,eAAO,MAAM,2BAA2B,qEAMrC,qBAAqB,WAUvB,CAAC;AAEF,eAAO,MAAM,wBAAwB,qDAKlC,iBAAiB,WAOnB,CAAC;AAEF,MAAM,WAAW,yBAAyB,CAAC,CAAC,SAAS,MAAM;IACzD,GAAG,EAAE,CAAC,CAAC;IACP,OAAO,EAAE,mBAAmB,CAAC;CAC9B;AACD,eAAO,MAAM,oBAAoB,wCAG9B,0BAA0B,CAAC,CAAC,SAe9B,CAAC;AAEF,MAAM,WAAW,wBAAwB,CAAC,CAAC,SAAS,MAAM;IACxD,GAAG,EAAE,CAAC,CAAC;IACP,OAAO,EAAE,iBAAiB,CAAC;CAC5B;AAED,MAAM,WAAW,4BAA4B,CAAC,CAAC,SAAS,MAAM;IAC5D,GAAG,EAAE,CAAC,CAAC;IACP,OAAO,EAAE,qBAAqB,CAAC;CAChC;AACD,eAAO,MAAM,sBAAsB,wCAGhC,yBAAyB,CAAC,CAAC,SAc7B,CAAC;AAEF,eAAO,MAAM,0BAA0B,wCAGpC,6BAA6B,CAAC,CAAC,SAcjC,CAAC;AAEF,eAAO,MAAM,cAAc,uCAM1B,CAAC"}
1
+ {"version":3,"file":"kos-message-utils.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-ui-sdk/src/core/util/kos-message-utils.ts"],"names":[],"mappings":"AAkBA,OAAO,EACL,mBAAmB,EACnB,eAAe,EACf,sBAAsB,EACtB,iBAAiB,EACjB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACvB,MAAM,UAAU,CAAC;AAElB;;;GAGG;AACH,eAAO,MAAM,mBAAmB,qDAK7B,eAAe,WAYjB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,oBAAoB,uEAO9B,eAAe,WAiBjB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,iBAAiB,wFAS3B,eAAe,WAsBjB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,iBAAiB,QAAS,MAA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B;AAED;;;GAGG;AACH,MAAM,WAAW,4BAA4B,CAAC,CAAC,SAAS,MAAM;IAC5D,GAAG,EAAE,CAAC,CAAC;IACP,OAAO,EAAE,qBAAqB,CAAC;CAChC;AACD;;;GAGG;AACH,eAAO,MAAM,sBAAsB,wCAGhC,yBAAyB,CAAC,CAAC,SAc7B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,0BAA0B,wCAGpC,6BAA6B,CAAC,CAAC,SAcjC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,cAAc,uCAM1B,CAAC"}
@@ -6,8 +6,15 @@ import { IKosDataModel, IKosModel } from '../core/kosModel';
6
6
  * @async
7
7
  * @param model - The KOS data model to destroy.
8
8
  * @throws An error if the model cannot be destroyed.
9
+ *
10
+ * @kosService core.utils
11
+ * @kosApiLevel 2
9
12
  */
10
13
  export declare const destroyKosModel: (model: IKosDataModel) => Promise<void>;
14
+ /**
15
+ * @kosService core.utils
16
+ * @kosApiLevel 2
17
+ */
11
18
  export declare const unloadKosModel: (dataModel: IKosDataModel) => Promise<void>;
12
19
  /**
13
20
  * Asynchronously resets a KOS data model.
@@ -15,6 +22,9 @@ export declare const unloadKosModel: (dataModel: IKosDataModel) => Promise<void>
15
22
  * @async
16
23
  * @param model - The KOS data model to reset.
17
24
  * @throws An error if the model cannot be reset.
25
+ *
26
+ * @kosService core.utils
27
+ * @kosApiLevel 2
18
28
  */
19
29
  export declare const resetKosModel: (model: IKosDataModel) => Promise<void>;
20
30
  /**
@@ -24,6 +34,9 @@ export declare const resetKosModel: (model: IKosDataModel) => Promise<void>;
24
34
  * @param modelId - The ID of the KOS data model.
25
35
  * @returns The type of the KOS data model.
26
36
  * @throws An error if the model ID is not provided or the model cannot be found.
37
+ *
38
+ * @kosService core.utils
39
+ * @kosApiLevel 2
27
40
  */
28
41
  export declare const getKosModelType: (modelId: string) => Promise<string | undefined>;
29
42
  /**
@@ -33,6 +46,9 @@ export declare const getKosModelType: (modelId: string) => Promise<string | unde
33
46
  * @param modelId - The ID of the KOS data model.
34
47
  * @returns An object containing the KOS data model and its type.
35
48
  * @throws An error if the model ID is not provided or the model cannot be found.
49
+ *
50
+ * @kosService core.utils
51
+ * @kosApiLevel 2
36
52
  */
37
53
  export declare const getKosModel: <T extends IKosDataModel = IKosDataModel>(modelId: string) => Promise<{
38
54
  model: T;
@@ -44,6 +60,9 @@ export declare const getKosModel: <T extends IKosDataModel = IKosDataModel>(mode
44
60
  * @param modelId - The ID of the KOS data model.
45
61
  * @returns An object containing the KOS data model and its type.
46
62
  * @throws An error if the model ID is not provided or the model cannot be found.
63
+ *
64
+ * @kosService core.utils
65
+ * @kosApiLevel 2
47
66
  */
48
67
  export declare const getKosModelSync: <T extends IKosDataModel = IKosDataModel>(modelId: string) => {
49
68
  model: T;
@@ -56,6 +75,9 @@ export declare const getKosModelSync: <T extends IKosDataModel = IKosDataModel>(
56
75
  * @param predicate - An object representing filter conditions.
57
76
  * @returns An array of filtered KOS data models.
58
77
  * @throws An error if the model type is not provided.
78
+ *
79
+ * @kosService core.utils
80
+ * @kosApiLevel 2
59
81
  */
60
82
  export declare const findModels: <T extends IKosDataModel>(modelType: string, predicate: {
61
83
  [k: string]: any;
@@ -67,6 +89,9 @@ export declare const findModels: <T extends IKosDataModel>(modelType: string, pr
67
89
  * @param predicate - An object representing filter conditions.
68
90
  * @returns The first matching KOS data model, or undefined if none is found.
69
91
  * @throws An error if the model type is not provided.
92
+ *
93
+ * @kosService core.utils
94
+ * @kosApiLevel 2
70
95
  */
71
96
  export declare const findModel: <T extends IKosDataModel>(modelType: string, predicate: {
72
97
  [k: string]: any;
@@ -78,6 +103,9 @@ export declare const findModel: <T extends IKosDataModel>(modelType: string, pre
78
103
  * @param type - The type of the companion model.
79
104
  * @returns The companion KOS data model of the specified type.
80
105
  * @throws An error if the model ID is not provided, the model cannot be found, or the companion model does not exist.
106
+ *
107
+ * @kosService core.utils
108
+ * @kosApiLevel 2
81
109
  */
82
110
  export declare const getKosCompanionModel: <T extends IKosDataModel>(model: IKosDataModel, type: string) => T;
83
111
  /**
@@ -86,16 +114,34 @@ export declare const getKosCompanionModel: <T extends IKosDataModel>(model: IKos
86
114
  * @param model - The KOS data model for which to retrieve a companion model.
87
115
  * @returns The list of companion KOS data models
88
116
  * @throws An error if the model ID is not provided, the model cannot be found, or the companion model does not exist.
117
+ *
118
+ * @kosService core.utils
119
+ * @kosApiLevel 2
89
120
  */
90
121
  export declare const getAllKosCompanionModels: (model: IKosDataModel) => IKosDataModel[];
122
+ /**
123
+ * @kosService core.utils
124
+ * @kosApiLevel 5
125
+ */
91
126
  export declare const getObservableCompanions: (modelId: string) => import('mobx').ObservableMap<string, IKosModel<IKosDataModel>>;
127
+ /**
128
+ * @kosService core.utils
129
+ * @kosApiLevel 2
130
+ */
92
131
  export declare const resolveKosCompanion: <T extends IKosDataModel>(modelId: string, resolver: (model: T) => boolean) => IKosModel | undefined;
93
132
  /**
94
133
  * Checks if an object is an instance of a specific KOS data model type.
95
134
  *
96
135
  * @param type - The type of the KOS data model to check against.
97
136
  * @returns A type guard function that checks if an object is an instance of the specified KOS data model type.
137
+ *
138
+ * @kosService core.utils
139
+ * @kosApiLevel 2
98
140
  */
99
141
  export declare const isKosModel: <T extends IKosDataModel>(type: string) => (model: any) => model is T;
142
+ /**
143
+ * @kosService core.utils
144
+ * @kosApiLevel 2
145
+ */
100
146
  export declare const isKosModelReady: (model: IKosDataModel) => boolean;
101
147
  //# sourceMappingURL=kos-model-utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"kos-model-utils.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-ui-sdk/src/core/util/kos-model-utils.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,KAAK,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAKjE;;;;;;GAMG;AACH,eAAO,MAAM,eAAe,UAAiB,aAAa,kBAGzD,CAAC;AAEF,eAAO,MAAM,cAAc,cAAqB,aAAa,kBAS5D,CAAC;AACF;;;;;;GAMG;AACH,eAAO,MAAM,aAAa,UAAiB,aAAa,kBAevD,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,eAAe,YAAmB,MAAM,gCAQpD,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,WAAW,qDACb,MAAM;;;EAShB,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,eAAe,qDACjB,MAAM;;;CAQhB,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,UAAU,uCACV,MAAM,aACN;IAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,QAUhC,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,SAAS,uCACT,MAAM,aACN;IAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,MACU,CAAC;AAE5C;;;;;;;GAOG;AACH,eAAO,MAAM,oBAAoB,mCACxB,aAAa,QACd,MAAM,MAYb,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,wBAAwB,UAAW,aAAa,oBAc5D,CAAC;AAEF,eAAO,MAAM,uBAAuB,YAAa,MAAM,mEAYtD,CAAC;AAEF,eAAO,MAAM,mBAAmB,qCACrB,MAAM,YACL,CAAC,KAAK,EAAE,CAAC,KAAK,OAAO,KAC9B,SAAS,GAAG,SAWd,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,UAAU,kCACW,MAAM,aAC9B,GAAG,eACwC,CAAC;AAEtD,eAAO,MAAM,eAAe,UAAW,aAAa,YAMnD,CAAC"}
1
+ {"version":3,"file":"kos-model-utils.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-ui-sdk/src/core/util/kos-model-utils.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,KAAK,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAKjE;;;;;;;;;GASG;AACH,eAAO,MAAM,eAAe,UAAiB,aAAa,kBAGzD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,cAAc,cAAqB,aAAa,kBAS5D,CAAC;AACF;;;;;;;;;GASG;AACH,eAAO,MAAM,aAAa,UAAiB,aAAa,kBAevD,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,eAAe,YAAmB,MAAM,gCAQpD,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,WAAW,qDACb,MAAM;;;EAShB,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,eAAe,qDACjB,MAAM;;;CAQhB,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,UAAU,uCACV,MAAM,aACN;IAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,QAUhC,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,SAAS,uCACT,MAAM,aACN;IAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,MACU,CAAC;AAE5C;;;;;;;;;;GAUG;AACH,eAAO,MAAM,oBAAoB,mCACxB,aAAa,QACd,MAAM,MAYb,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,wBAAwB,UAAW,aAAa,oBAc5D,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,uBAAuB,YAAa,MAAM,mEAYtD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,mBAAmB,qCACrB,MAAM,YACL,CAAC,KAAK,EAAE,CAAC,KAAK,OAAO,KAC9B,SAAS,GAAG,SAWd,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,UAAU,kCACW,MAAM,aAC9B,GAAG,eACwC,CAAC;AAEtD;;;GAGG;AACH,eAAO,MAAM,eAAe,UAAW,aAAa,YAMnD,CAAC"}
@@ -6,6 +6,8 @@ import { IKosDataModel, IKosModel, IKosVisitor } from '../core/kosModel';
6
6
  * @abstract
7
7
  * @implements IKosVisitor<IKosModel>
8
8
  * @category Core
9
+ * @kosService core.kos-model
10
+ * @kosApiLevel 2
9
11
  */
10
12
  export declare abstract class KosModelVisitor implements IKosVisitor<IKosModel> {
11
13
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"kos-model-visitor.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-ui-sdk/src/core/util/kos-model-visitor.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAQzE;;;;;;GAMG;AACH,8BAAsB,eAAgB,YAAW,WAAW,CAAC,SAAS,CAAC;IACrE;;OAEG;IACH,aAAa,EAAE,GAAG,CAAC,MAAM,CAAC,CAAa;IAEvC;;OAEG;;IAKH;;;;;OAKG;IACH,KAAK,CAAC,SAAS,EAAE,aAAa,GAAG,IAAI;IAiBrC;;;;OAIG;IACH,KAAK,CAAC,KAAK,EAAE,SAAS,GAAG,IAAI;IAqB7B;;;;;;OAMG;IACH,QAAQ,CAAC,UAAU,CAAC,CAAC,SAAS,aAAa,GAAG,aAAa,EACzD,KAAK,EAAE,CAAC,EACR,OAAO,EAAE,eAAe,GACvB,OAAO,GAAG,IAAI;CAClB"}
1
+ {"version":3,"file":"kos-model-visitor.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-ui-sdk/src/core/util/kos-model-visitor.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAQzE;;;;;;;;GAQG;AACH,8BAAsB,eAAgB,YAAW,WAAW,CAAC,SAAS,CAAC;IACrE;;OAEG;IACH,aAAa,EAAE,GAAG,CAAC,MAAM,CAAC,CAAa;IAEvC;;OAEG;;IAKH;;;;;OAKG;IACH,KAAK,CAAC,SAAS,EAAE,aAAa,GAAG,IAAI;IAiBrC;;;;OAIG;IACH,KAAK,CAAC,KAAK,EAAE,SAAS,GAAG,IAAI;IAqB7B;;;;;;OAMG;IACH,QAAQ,CAAC,UAAU,CAAC,CAAC,SAAS,aAAa,GAAG,aAAa,EACzD,KAAK,EAAE,CAAC,EACR,OAAO,EAAE,eAAe,GACvB,OAAO,GAAG,IAAI;CAClB"}
@@ -0,0 +1,3 @@
1
+ export declare const getWhitelistedOrgs: () => Set<string>;
2
+ export declare const checkOrgAuthorization: (userOrgIds?: string | string[]) => boolean;
3
+ //# sourceMappingURL=kos-org-utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kos-org-utils.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-ui-sdk/src/core/util/kos-org-utils.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,kBAAkB,mBAE9B,CAAC;AAEF,eAAO,MAAM,qBAAqB,gBAAgB,MAAM,GAAG,MAAM,EAAE,YAIlE,CAAC"}
@@ -1,9 +1,14 @@
1
+ import { ErrorResponseContext } from './service-request-error';
1
2
  import { KosFetchOptions } from '../types';
2
3
 
4
+ export type { ErrorResponseContext };
3
5
  /**
4
6
  * Resolves the service URL configuration.
5
7
  * @param _service - The optional service name (not used).
6
8
  * @returns An object with `isMock` and `URL` properties.
9
+ *
10
+ * @kosService core.service-request
11
+ * @kosApiLevel 2
7
12
  */
8
13
  export declare const resolveBaseUrl: () => {
9
14
  isMock: boolean;
@@ -12,7 +17,13 @@ export declare const resolveBaseUrl: () => {
12
17
  type NonNeverKeys<T> = {
13
18
  [K in keyof T]-?: T[K] extends never | undefined ? never : K;
14
19
  }[keyof T];
20
+ /**
21
+ * @kosService core.service-request
22
+ */
15
23
  export type AvailableMethods<T> = Exclude<NonNeverKeys<T>, "parameters" | "requestBody">;
24
+ /**
25
+ * @kosService core.service-request
26
+ */
16
27
  export type PathsByMethod<T> = {
17
28
  [Method in "get" | "put" | "post" | "delete"]: {
18
29
  [K in keyof T]: Method extends AvailableMethods<T[K]> ? K : never;
@@ -42,6 +53,9 @@ type ClientPutBody<Paths extends Record<string, any>, K extends keyof Paths> = P
42
53
  content: infer B;
43
54
  };
44
55
  } ? B[keyof B] : never;
56
+ /**
57
+ * @kosService core.service-request
58
+ */
45
59
  export type ClientResponse<Paths extends Record<string, any>, K extends keyof Paths, M extends AvailableMethods<Paths[K]> | string> = Paths[K][M] extends {
46
60
  responses: {
47
61
  200: {
@@ -49,25 +63,43 @@ export type ClientResponse<Paths extends Record<string, any>, K extends keyof Pa
49
63
  };
50
64
  };
51
65
  } ? R[keyof R] : unknown;
66
+ /**
67
+ * @kosService core.service-request
68
+ */
52
69
  export type ClientParams<Paths extends Record<string, any>, K extends keyof Paths, M extends AvailableMethods<Paths[K]> | string> = Paths[K][M] extends {
53
70
  parameters: infer P;
54
71
  } ? P : never;
72
+ /**
73
+ * @kosService core.service-request
74
+ */
55
75
  export type ClientBody<Paths extends Record<string, any>, K extends keyof Paths, M extends AvailableMethods<Paths[K]> | string> = Paths[K][M] extends {
56
76
  requestBody: {
57
77
  content: infer B;
58
78
  };
59
79
  } ? B[keyof B] : never;
60
- export type ServiceResponse<T> = [string, null] | [null, T];
80
+ /**
81
+ * @kosService core.service-request
82
+ */
83
+ export type ServiceResponse<T> = [error: string, data: null, errorContext?: ErrorResponseContext] | [error: null, data: T];
84
+ /**
85
+ * @kosService core.service-request
86
+ */
61
87
  export type DeepRequired<T> = {
62
88
  [K in keyof T]-?: T[K] extends object ? DeepRequired<T[K]> : T[K] extends Array<infer U> ? Array<DeepRequired<U>> : T[K];
63
89
  };
90
+ /**
91
+ * @kosService core.service-request
92
+ */
64
93
  export type ElementType<T> = T extends (infer U)[] ? U : never;
65
94
  type RequestOptions = Omit<KosFetchOptions, "method" | "body">;
95
+ /**
96
+ * @kosService core.service-request
97
+ * @kosApiLevel 2
98
+ */
66
99
  export declare function createClient<Paths extends Record<string, any>>(): {
67
100
  get: <K_1 extends { [K in keyof Paths]: "get" extends infer T ? T extends "get" ? T extends Exclude<NonNeverKeys<Paths[K]>, "parameters" | "requestBody"> ? K : never : never : never; }[keyof Paths]>(endpoint: K_1, params?: ClientGetParams<Paths, K_1> | undefined, options?: RequestOptions) => Promise<ServiceResponse<ClientResponse<Paths, K_1, "get">>>;
68
101
  post: <K_3 extends { [K_2 in keyof Paths]: "post" extends infer T_1 ? T_1 extends "post" ? T_1 extends Exclude<NonNeverKeys<Paths[K_2]>, "parameters" | "requestBody"> ? K_2 : never : never : never; }[keyof Paths]>(endpoint: K_3, params?: ClientPostParams<Paths, K_3> | undefined, body?: ClientPostBody<Paths, K_3> | undefined, options?: RequestOptions) => Promise<ServiceResponse<ClientResponse<Paths, K_3, "post">>>;
69
102
  put: <K_5 extends { [K_4 in keyof Paths]: "put" extends infer T_2 ? T_2 extends "put" ? T_2 extends Exclude<NonNeverKeys<Paths[K_4]>, "parameters" | "requestBody"> ? K_4 : never : never : never; }[keyof Paths]>(endpoint: K_5, params?: ClientPutParams<Paths, K_5> | undefined, body?: ClientPutBody<Paths, K_5> | undefined, options?: RequestOptions) => Promise<ServiceResponse<ClientResponse<Paths, K_5, "put">>>;
70
103
  delete: <K_7 extends { [K_6 in keyof Paths]: "delete" extends infer T_3 ? T_3 extends "delete" ? T_3 extends Exclude<NonNeverKeys<Paths[K_6]>, "parameters" | "requestBody"> ? K_6 : never : never : never; }[keyof Paths]>(endpoint: K_7, params?: ClientDeleteParams<Paths, K_7> | undefined, body?: ClientPutBody<Paths, K_7> | undefined, options?: RequestOptions) => Promise<ServiceResponse<ClientResponse<Paths, K_7, "delete">>>;
71
104
  };
72
- export {};
73
105
  //# sourceMappingURL=kos-service-request.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"kos-service-request.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-ui-sdk/src/core/util/kos-service-request.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAGhD;;;;GAIG;AACH,eAAO,MAAM,cAAc;;;CAI1B,CAAC;AAIF,KAAK,YAAY,CAAC,CAAC,IAAI;KACpB,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,CAA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declare const getLogLevel: () => LogLevelDesc;
8
+ /**
9
+ * @kosService core.logging
10
+ * @kosApiLevel 2
11
+ */
4
12
  export declare const getKosMessageLogging: () => boolean;
13
+ /**
14
+ * @kosService core.logging
15
+ * @kosApiLevel 2
16
+ */
5
17
  export declare const getLogMessageToStudio: () => boolean;
6
18
  //# sourceMappingURL=log-utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"log-utils.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-ui-sdk/src/core/util/log-utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAiBxC,eAAO,MAAM,WAAW,QAAO,YAc9B,CAAC;AAEF,eAAO,MAAM,oBAAoB,QAAO,OAIvC,CAAC;AAEF,eAAO,MAAM,qBAAqB,QAAO,OAKxC,CAAC"}
1
+ {"version":3,"file":"log-utils.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-ui-sdk/src/core/util/log-utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAiBxC;;;GAGG;AACH,eAAO,MAAM,WAAW,QAAO,YAc9B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,oBAAoB,QAAO,OAIvC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,qBAAqB,QAAO,OAKxC,CAAC"}
@@ -1,14 +1,29 @@
1
+ /**
2
+ * @kosService core.middleware
3
+ */
1
4
  export type Middleware<D extends object = Record<string, ScalarValue>, R extends object = Record<string, ScalarValue>> = (context: Context<D, R>, next: () => Promise<void>) => Promise<void>;
5
+ /**
6
+ * @kosService core.middleware
7
+ * @kosApiLevel 2
8
+ */
2
9
  export interface Context<D extends object = Record<string, ScalarValue>, R extends object = Record<string, ScalarValue>> {
3
10
  data: D;
4
11
  result: Partial<R>;
5
12
  }
6
13
  type ScalarValue = string | number | boolean | null | undefined;
14
+ /**
15
+ * @kosService core.middleware
16
+ * @kosApiLevel 2
17
+ */
7
18
  export declare class MiddlewareChain<D extends object = Record<string, ScalarValue>, R extends object = Record<string, ScalarValue>, T extends Context<D, R> = Context<D, R>> {
8
19
  private middlewares;
9
20
  use(middleware: Middleware<D, R>): void;
10
21
  execute(context: T): Promise<void>;
11
22
  }
23
+ /**
24
+ * @kosService core.middleware
25
+ * @kosApiLevel 2
26
+ */
12
27
  export declare const processMiddleware: <D extends object = Record<string, ScalarValue>, R extends object = Record<string, ScalarValue>>(data: D, middleware: Middleware<D, R>[]) => Promise<R>;
13
28
  export {};
14
29
  //# sourceMappingURL=middleware.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"middleware.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-ui-sdk/src/core/util/middleware.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,CACpB,CAAC,SAAS,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,EAC9C,CAAC,SAAS,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,IAC5C,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;AAEzE,MAAM,WAAW,OAAO,CACtB,CAAC,SAAS,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,EAC9C,CAAC,SAAS,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC;IAE9C,IAAI,EAAE,CAAC,CAAC;IACR,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;CACpB;AAED,KAAK,WAAW,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,GAAG,SAAS,CAAC;AAChE,qBAAa,eAAe,CAC1B,CAAC,SAAS,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,EAC9C,CAAC,SAAS,MAA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MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,EAC9C,CAAC,SAAS,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,EAC9C,CAAC,SAAS,OAAO,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,OAAO,CAAC,CAAC,EAAE,CAAC,CAAC;IAEvC,OAAO,CAAC,WAAW,CAA0B;IAE7C,GAAG,CAAC,UAAU,EAAE,UAAU,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,IAAI;IAIjC,OAAO,CAAC,OAAO,EAAE,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC;CAYzC;AAED;;;GAGG;AACH,eAAO,MAAM,iBAAiB,yGAItB,CAAC,cACK,WAAW,CAAC,EAAE,CAAC,CAAC,EAAE,eAQ/B,CAAC"}
@@ -31,7 +31,14 @@ import { IKosDataModel } from '../core/kosModel';
31
31
  * ```typescript
32
32
  * @kosDependency({modelType: Ingredient.type, id: propertyKey})
33
33
  * ```
34
+ *
35
+ * @kosService core.kos-model
36
+ * @kosApiLevel 2
34
37
  */
35
38
  export declare const createPropKey: <R extends IKosDataModel>(key: keyof R) => string;
39
+ /**
40
+ * @kosService core.kos-model
41
+ * @kosApiLevel 2
42
+ */
36
43
  export declare const createOptionKey: <R extends object>(key: keyof R) => string;
37
44
  //# sourceMappingURL=model-attribute-utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"model-attribute-utils.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-ui-sdk/src/core/util/model-attribute-utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,eAAO,MAAM,aAAa,iCAAkC,MAAM,CAAC,WAC1C,CAAC;AAE1B,eAAO,MAAM,eAAe,0BAA2B,MAAM,CAAC,WACrC,CAAC"}
1
+ {"version":3,"file":"model-attribute-utils.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-ui-sdk/src/core/util/model-attribute-utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,eAAO,MAAM,aAAa,iCAAkC,MAAM,CAAC,WAC1C,CAAC;AAE1B;;;GAGG;AACH,eAAO,MAAM,eAAe,0BAA2B,MAAM,CAAC,WACrC,CAAC"}
@@ -1,5 +1,9 @@
1
1
  import { ModelFactory } from '../types/model';
2
2
  import { IKosDataModel } from '../core/kosModel';
3
3
 
4
+ /**
5
+ * @kosService core.kos-model
6
+ * @kosApiLevel 2
7
+ */
4
8
  export declare const modelFactory: <T extends IKosDataModel, O extends Object = {}>(typeId: string) => ModelFactory<T, O>;
5
9
  //# sourceMappingURL=model-factory.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"model-factory.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-ui-sdk/src/core/util/model-factory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,eAAO,MAAM,YAAY,2DACf,MAAM,KACb,aAAa,CAAC,EAAE,CAAC,CAmBnB,CAAC"}
1
+ {"version":3,"file":"model-factory.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-ui-sdk/src/core/util/model-factory.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C;;;GAGG;AACH,eAAO,MAAM,YAAY,2DACf,MAAM,KACb,aAAa,CAAC,EAAE,CAAC,CAmBnB,CAAC"}