@openxiot/xiot-core-spec-ts 0.0.2

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 (693) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +2 -0
  3. package/dist/index.d.ts +315 -0
  4. package/dist/index.js +331 -0
  5. package/dist/xiot/core/spec/codec/app/ApplicationCodec.d.ts +7 -0
  6. package/dist/xiot/core/spec/codec/app/ApplicationCodec.js +50 -0
  7. package/dist/xiot/core/spec/codec/app/authorization/AuthorizationCodec.d.ts +5 -0
  8. package/dist/xiot/core/spec/codec/app/authorization/AuthorizationCodec.js +41 -0
  9. package/dist/xiot/core/spec/codec/app/authorization/impl/AuthorizationEventbusImplCodec.d.ts +5 -0
  10. package/dist/xiot/core/spec/codec/app/authorization/impl/AuthorizationEventbusImplCodec.js +15 -0
  11. package/dist/xiot/core/spec/codec/app/authorization/impl/AuthorizationHttpImplCodec.d.ts +5 -0
  12. package/dist/xiot/core/spec/codec/app/authorization/impl/AuthorizationHttpImplCodec.js +15 -0
  13. package/dist/xiot/core/spec/codec/app/authorization/impl/AuthorizationJwtImplCodec.d.ts +5 -0
  14. package/dist/xiot/core/spec/codec/app/authorization/impl/AuthorizationJwtImplCodec.js +14 -0
  15. package/dist/xiot/core/spec/codec/app/event/EventReceiverCodec.d.ts +5 -0
  16. package/dist/xiot/core/spec/codec/app/event/EventReceiverCodec.js +41 -0
  17. package/dist/xiot/core/spec/codec/app/event/impl/EventReceiverEventbusImplCodec.d.ts +5 -0
  18. package/dist/xiot/core/spec/codec/app/event/impl/EventReceiverEventbusImplCodec.js +15 -0
  19. package/dist/xiot/core/spec/codec/app/event/impl/EventReceiverHttpImplCodec.d.ts +5 -0
  20. package/dist/xiot/core/spec/codec/app/event/impl/EventReceiverHttpImplCodec.js +15 -0
  21. package/dist/xiot/core/spec/codec/app/event/impl/EventReceiverKafkaImplCodec.d.ts +5 -0
  22. package/dist/xiot/core/spec/codec/app/event/impl/EventReceiverKafkaImplCodec.js +18 -0
  23. package/dist/xiot/core/spec/codec/definition/ActionDefinitionCodec.d.ts +7 -0
  24. package/dist/xiot/core/spec/codec/definition/ActionDefinitionCodec.js +43 -0
  25. package/dist/xiot/core/spec/codec/definition/ArgumentDefinitionCodec.d.ts +8 -0
  26. package/dist/xiot/core/spec/codec/definition/ArgumentDefinitionCodec.js +48 -0
  27. package/dist/xiot/core/spec/codec/definition/CategoryDefinitionCodec.d.ts +7 -0
  28. package/dist/xiot/core/spec/codec/definition/CategoryDefinitionCodec.js +32 -0
  29. package/dist/xiot/core/spec/codec/definition/DescriptionCodec.d.ts +4 -0
  30. package/dist/xiot/core/spec/codec/definition/DescriptionCodec.js +32 -0
  31. package/dist/xiot/core/spec/codec/definition/DeviceDefinitionCodec.d.ts +7 -0
  32. package/dist/xiot/core/spec/codec/definition/DeviceDefinitionCodec.js +38 -0
  33. package/dist/xiot/core/spec/codec/definition/EventDefinitionCodec.d.ts +7 -0
  34. package/dist/xiot/core/spec/codec/definition/EventDefinitionCodec.js +39 -0
  35. package/dist/xiot/core/spec/codec/definition/FormatDefinitionCodec.d.ts +7 -0
  36. package/dist/xiot/core/spec/codec/definition/FormatDefinitionCodec.js +34 -0
  37. package/dist/xiot/core/spec/codec/definition/NamespaceDefinitionCodec.d.ts +7 -0
  38. package/dist/xiot/core/spec/codec/definition/NamespaceDefinitionCodec.js +32 -0
  39. package/dist/xiot/core/spec/codec/definition/PropertyDefinitionCodec.d.ts +9 -0
  40. package/dist/xiot/core/spec/codec/definition/PropertyDefinitionCodec.js +95 -0
  41. package/dist/xiot/core/spec/codec/definition/ServiceDefinitionCodec.d.ts +7 -0
  42. package/dist/xiot/core/spec/codec/definition/ServiceDefinitionCodec.js +71 -0
  43. package/dist/xiot/core/spec/codec/definition/UnitDefinitionCodec.d.ts +7 -0
  44. package/dist/xiot/core/spec/codec/definition/UnitDefinitionCodec.js +34 -0
  45. package/dist/xiot/core/spec/codec/definition/ValueListCodec.d.ts +6 -0
  46. package/dist/xiot/core/spec/codec/definition/ValueListCodec.js +31 -0
  47. package/dist/xiot/core/spec/codec/definition/ValueRangeCodec.d.ts +6 -0
  48. package/dist/xiot/core/spec/codec/definition/ValueRangeCodec.js +13 -0
  49. package/dist/xiot/core/spec/codec/definition/type/ActionTypeCodec.d.ts +5 -0
  50. package/dist/xiot/core/spec/codec/definition/type/ActionTypeCodec.js +28 -0
  51. package/dist/xiot/core/spec/codec/definition/type/EventTypeCodec.d.ts +5 -0
  52. package/dist/xiot/core/spec/codec/definition/type/EventTypeCodec.js +28 -0
  53. package/dist/xiot/core/spec/codec/definition/type/GroupTypeCodec.d.ts +5 -0
  54. package/dist/xiot/core/spec/codec/definition/type/GroupTypeCodec.js +28 -0
  55. package/dist/xiot/core/spec/codec/definition/type/PropertyTypeCodec.d.ts +5 -0
  56. package/dist/xiot/core/spec/codec/definition/type/PropertyTypeCodec.js +28 -0
  57. package/dist/xiot/core/spec/codec/definition/type/ServiceTypeCodec.d.ts +5 -0
  58. package/dist/xiot/core/spec/codec/definition/type/ServiceTypeCodec.js +28 -0
  59. package/dist/xiot/core/spec/codec/device/DeviceCodec.d.ts +7 -0
  60. package/dist/xiot/core/spec/codec/device/DeviceCodec.js +51 -0
  61. package/dist/xiot/core/spec/codec/image/ActionImageCodec.d.ts +4 -0
  62. package/dist/xiot/core/spec/codec/image/ActionImageCodec.js +25 -0
  63. package/dist/xiot/core/spec/codec/image/ArgumentImageCodec.d.ts +8 -0
  64. package/dist/xiot/core/spec/codec/image/ArgumentImageCodec.js +44 -0
  65. package/dist/xiot/core/spec/codec/image/DeviceImageCodec.d.ts +4 -0
  66. package/dist/xiot/core/spec/codec/image/DeviceImageCodec.js +17 -0
  67. package/dist/xiot/core/spec/codec/image/EventImageCodec.d.ts +4 -0
  68. package/dist/xiot/core/spec/codec/image/EventImageCodec.js +27 -0
  69. package/dist/xiot/core/spec/codec/image/PropertyImageCodec.d.ts +4 -0
  70. package/dist/xiot/core/spec/codec/image/PropertyImageCodec.js +18 -0
  71. package/dist/xiot/core/spec/codec/image/ServiceImageCodec.d.ts +4 -0
  72. package/dist/xiot/core/spec/codec/image/ServiceImageCodec.js +42 -0
  73. package/dist/xiot/core/spec/codec/instance/ActionCodec.d.ts +7 -0
  74. package/dist/xiot/core/spec/codec/instance/ActionCodec.js +49 -0
  75. package/dist/xiot/core/spec/codec/instance/ArgumentCodec.d.ts +7 -0
  76. package/dist/xiot/core/spec/codec/instance/ArgumentCodec.js +44 -0
  77. package/dist/xiot/core/spec/codec/instance/DeviceInstanceCodec.d.ts +5 -0
  78. package/dist/xiot/core/spec/codec/instance/DeviceInstanceCodec.js +25 -0
  79. package/dist/xiot/core/spec/codec/instance/EventCodec.d.ts +7 -0
  80. package/dist/xiot/core/spec/codec/instance/EventCodec.js +45 -0
  81. package/dist/xiot/core/spec/codec/instance/PropertyCodec.d.ts +7 -0
  82. package/dist/xiot/core/spec/codec/instance/PropertyCodec.js +98 -0
  83. package/dist/xiot/core/spec/codec/instance/ServiceCodec.d.ts +7 -0
  84. package/dist/xiot/core/spec/codec/instance/ServiceCodec.js +55 -0
  85. package/dist/xiot/core/spec/codec/jwt/JwtCodec.d.ts +5 -0
  86. package/dist/xiot/core/spec/codec/jwt/JwtCodec.js +41 -0
  87. package/dist/xiot/core/spec/codec/jwt/impl/JwtEsImplCodec.d.ts +5 -0
  88. package/dist/xiot/core/spec/codec/jwt/impl/JwtEsImplCodec.js +26 -0
  89. package/dist/xiot/core/spec/codec/jwt/impl/JwtRsaImplCodec.d.ts +5 -0
  90. package/dist/xiot/core/spec/codec/jwt/impl/JwtRsaImplCodec.js +26 -0
  91. package/dist/xiot/core/spec/codec/jwt/impl/JwtSecretsImplCodec.d.ts +5 -0
  92. package/dist/xiot/core/spec/codec/jwt/impl/JwtSecretsImplCodec.js +24 -0
  93. package/dist/xiot/core/spec/codec/key/AccessKeyCodec.d.ts +5 -0
  94. package/dist/xiot/core/spec/codec/key/AccessKeyCodec.js +18 -0
  95. package/dist/xiot/core/spec/codec/key/DeviceCertCodec.d.ts +7 -0
  96. package/dist/xiot/core/spec/codec/key/DeviceCertCodec.js +36 -0
  97. package/dist/xiot/core/spec/codec/key/DeviceKeyCodec.d.ts +5 -0
  98. package/dist/xiot/core/spec/codec/key/DeviceKeyCodec.js +24 -0
  99. package/dist/xiot/core/spec/codec/lifecycle/app/ApplicationWithLifecycleCodec.d.ts +11 -0
  100. package/dist/xiot/core/spec/codec/lifecycle/app/ApplicationWithLifecycleCodec.js +38 -0
  101. package/dist/xiot/core/spec/codec/lifecycle/definition/ActionDefinitionWithLifecycleCodec.d.ts +11 -0
  102. package/dist/xiot/core/spec/codec/lifecycle/definition/ActionDefinitionWithLifecycleCodec.js +38 -0
  103. package/dist/xiot/core/spec/codec/lifecycle/definition/DeviceDefinitionWithLifecycleCodec.d.ts +11 -0
  104. package/dist/xiot/core/spec/codec/lifecycle/definition/DeviceDefinitionWithLifecycleCodec.js +38 -0
  105. package/dist/xiot/core/spec/codec/lifecycle/definition/EventDefinitionWithLifecycleCodec.d.ts +11 -0
  106. package/dist/xiot/core/spec/codec/lifecycle/definition/EventDefinitionWithLifecycleCodec.js +38 -0
  107. package/dist/xiot/core/spec/codec/lifecycle/definition/FormatDefinitionWithLifecycleCodec.d.ts +11 -0
  108. package/dist/xiot/core/spec/codec/lifecycle/definition/FormatDefinitionWithLifecycleCodec.js +38 -0
  109. package/dist/xiot/core/spec/codec/lifecycle/definition/PropertyDefinitionWithLifecycleCodec.d.ts +8 -0
  110. package/dist/xiot/core/spec/codec/lifecycle/definition/PropertyDefinitionWithLifecycleCodec.js +38 -0
  111. package/dist/xiot/core/spec/codec/lifecycle/definition/ServiceDefinitionWithLifecycleCodec.d.ts +11 -0
  112. package/dist/xiot/core/spec/codec/lifecycle/definition/ServiceDefinitionWithLifecycleCodec.js +38 -0
  113. package/dist/xiot/core/spec/codec/lifecycle/definition/UnitDefinitionWithLifecycleCodec.d.ts +11 -0
  114. package/dist/xiot/core/spec/codec/lifecycle/definition/UnitDefinitionWithLifecycleCodec.js +38 -0
  115. package/dist/xiot/core/spec/codec/lifecycle/instance/DeviceInstanceWithLifecycleCodec.d.ts +11 -0
  116. package/dist/xiot/core/spec/codec/lifecycle/instance/DeviceInstanceWithLifecycleCodec.js +38 -0
  117. package/dist/xiot/core/spec/codec/lifecycle/product/VersionWithLifecycleCodec.d.ts +10 -0
  118. package/dist/xiot/core/spec/codec/lifecycle/product/VersionWithLifecycleCodec.js +42 -0
  119. package/dist/xiot/core/spec/codec/lifecycle/template/DeviceTemplateWithLifecycleCodec.d.ts +11 -0
  120. package/dist/xiot/core/spec/codec/lifecycle/template/DeviceTemplateWithLifecycleCodec.js +38 -0
  121. package/dist/xiot/core/spec/codec/lifecycle/type/DeviceTypeWithLifecycleCodec.d.ts +12 -0
  122. package/dist/xiot/core/spec/codec/lifecycle/type/DeviceTypeWithLifecycleCodec.js +36 -0
  123. package/dist/xiot/core/spec/codec/notice/DeviceNoticeCodec.d.ts +8 -0
  124. package/dist/xiot/core/spec/codec/notice/DeviceNoticeCodec.js +122 -0
  125. package/dist/xiot/core/spec/codec/notice/OwnerNoticeCodec.d.ts +8 -0
  126. package/dist/xiot/core/spec/codec/notice/OwnerNoticeCodec.js +220 -0
  127. package/dist/xiot/core/spec/codec/notice/device/DeviceAccessKeyChangedCodec.d.ts +5 -0
  128. package/dist/xiot/core/spec/codec/notice/device/DeviceAccessKeyChangedCodec.js +19 -0
  129. package/dist/xiot/core/spec/codec/notice/device/DeviceChildrenAddedCodec.d.ts +5 -0
  130. package/dist/xiot/core/spec/codec/notice/device/DeviceChildrenAddedCodec.js +20 -0
  131. package/dist/xiot/core/spec/codec/notice/device/DeviceChildrenRemovedCodec.d.ts +5 -0
  132. package/dist/xiot/core/spec/codec/notice/device/DeviceChildrenRemovedCodec.js +19 -0
  133. package/dist/xiot/core/spec/codec/notice/device/DeviceEventOccurredCodec.d.ts +5 -0
  134. package/dist/xiot/core/spec/codec/notice/device/DeviceEventOccurredCodec.js +18 -0
  135. package/dist/xiot/core/spec/codec/notice/device/DevicePropertiesChangedCodec.d.ts +5 -0
  136. package/dist/xiot/core/spec/codec/notice/device/DevicePropertiesChangedCodec.js +18 -0
  137. package/dist/xiot/core/spec/codec/notice/device/DevicePropertyChangedCodec.d.ts +5 -0
  138. package/dist/xiot/core/spec/codec/notice/device/DevicePropertyChangedCodec.js +18 -0
  139. package/dist/xiot/core/spec/codec/notice/device/DeviceRootActiveCodec.d.ts +5 -0
  140. package/dist/xiot/core/spec/codec/notice/device/DeviceRootActiveCodec.js +20 -0
  141. package/dist/xiot/core/spec/codec/notice/device/DeviceRootInactiveCodec.d.ts +5 -0
  142. package/dist/xiot/core/spec/codec/notice/device/DeviceRootInactiveCodec.js +16 -0
  143. package/dist/xiot/core/spec/codec/notice/device/DeviceSummaryChangedCodec.d.ts +5 -0
  144. package/dist/xiot/core/spec/codec/notice/device/DeviceSummaryChangedCodec.js +20 -0
  145. package/dist/xiot/core/spec/codec/notice/owner/OwnerDeviceAddedCodec.d.ts +5 -0
  146. package/dist/xiot/core/spec/codec/notice/owner/OwnerDeviceAddedCodec.js +23 -0
  147. package/dist/xiot/core/spec/codec/notice/owner/OwnerDeviceRemovedCodec.d.ts +5 -0
  148. package/dist/xiot/core/spec/codec/notice/owner/OwnerDeviceRemovedCodec.js +19 -0
  149. package/dist/xiot/core/spec/codec/notice/owner/OwnerDeviceSomewhereChangedCodec.d.ts +5 -0
  150. package/dist/xiot/core/spec/codec/notice/owner/OwnerDeviceSomewhereChangedCodec.js +26 -0
  151. package/dist/xiot/core/spec/codec/notice/owner/OwnerDeviceSummaryChangedCodec.d.ts +5 -0
  152. package/dist/xiot/core/spec/codec/notice/owner/OwnerDeviceSummaryChangedCodec.js +26 -0
  153. package/dist/xiot/core/spec/codec/notice/owner/OwnerEventOccurredCodec.d.ts +5 -0
  154. package/dist/xiot/core/spec/codec/notice/owner/OwnerEventOccurredCodec.js +20 -0
  155. package/dist/xiot/core/spec/codec/notice/owner/OwnerPropertiesChangedCodec.d.ts +5 -0
  156. package/dist/xiot/core/spec/codec/notice/owner/OwnerPropertiesChangedCodec.js +21 -0
  157. package/dist/xiot/core/spec/codec/notice/owner/OwnerRuleAddedCodec.d.ts +5 -0
  158. package/dist/xiot/core/spec/codec/notice/owner/OwnerRuleAddedCodec.js +24 -0
  159. package/dist/xiot/core/spec/codec/notice/owner/OwnerRuleChangedCodec.d.ts +5 -0
  160. package/dist/xiot/core/spec/codec/notice/owner/OwnerRuleChangedCodec.js +24 -0
  161. package/dist/xiot/core/spec/codec/notice/owner/OwnerRuleExecutedCodec.d.ts +5 -0
  162. package/dist/xiot/core/spec/codec/notice/owner/OwnerRuleExecutedCodec.js +47 -0
  163. package/dist/xiot/core/spec/codec/notice/owner/OwnerRuleRemovedCodec.d.ts +5 -0
  164. package/dist/xiot/core/spec/codec/notice/owner/OwnerRuleRemovedCodec.js +23 -0
  165. package/dist/xiot/core/spec/codec/notice/owner/OwnerRuleTriggeredCodec.d.ts +5 -0
  166. package/dist/xiot/core/spec/codec/notice/owner/OwnerRuleTriggeredCodec.js +23 -0
  167. package/dist/xiot/core/spec/codec/notice/owner/OwnershipDisclaimedCodec.d.ts +5 -0
  168. package/dist/xiot/core/spec/codec/notice/owner/OwnershipDisclaimedCodec.js +19 -0
  169. package/dist/xiot/core/spec/codec/notice/owner/OwnershipTakenCodec.d.ts +5 -0
  170. package/dist/xiot/core/spec/codec/notice/owner/OwnershipTakenCodec.js +19 -0
  171. package/dist/xiot/core/spec/codec/notice/owner/home/OwnerHomeAddedCodec.d.ts +5 -0
  172. package/dist/xiot/core/spec/codec/notice/owner/home/OwnerHomeAddedCodec.js +24 -0
  173. package/dist/xiot/core/spec/codec/notice/owner/home/OwnerHomeChangedCodec.d.ts +5 -0
  174. package/dist/xiot/core/spec/codec/notice/owner/home/OwnerHomeChangedCodec.js +24 -0
  175. package/dist/xiot/core/spec/codec/notice/owner/home/OwnerHomeRemovedCodec.d.ts +5 -0
  176. package/dist/xiot/core/spec/codec/notice/owner/home/OwnerHomeRemovedCodec.js +23 -0
  177. package/dist/xiot/core/spec/codec/notice/owner/space/OwnerSpaceAddedCodec.d.ts +5 -0
  178. package/dist/xiot/core/spec/codec/notice/owner/space/OwnerSpaceAddedCodec.js +24 -0
  179. package/dist/xiot/core/spec/codec/notice/owner/space/OwnerSpaceChangedCodec.d.ts +5 -0
  180. package/dist/xiot/core/spec/codec/notice/owner/space/OwnerSpaceChangedCodec.js +24 -0
  181. package/dist/xiot/core/spec/codec/notice/owner/space/OwnerSpaceRemovedCodec.d.ts +5 -0
  182. package/dist/xiot/core/spec/codec/notice/owner/space/OwnerSpaceRemovedCodec.js +23 -0
  183. package/dist/xiot/core/spec/codec/oauth2/Oauth2ConfigurationCodec.d.ts +7 -0
  184. package/dist/xiot/core/spec/codec/oauth2/Oauth2ConfigurationCodec.js +49 -0
  185. package/dist/xiot/core/spec/codec/operation/AbstractOperationCodec.d.ts +10 -0
  186. package/dist/xiot/core/spec/codec/operation/AbstractOperationCodec.js +27 -0
  187. package/dist/xiot/core/spec/codec/operation/ActionOperationCodec.d.ts +14 -0
  188. package/dist/xiot/core/spec/codec/operation/ActionOperationCodec.js +84 -0
  189. package/dist/xiot/core/spec/codec/operation/ArgumentOperationCodec.d.ts +10 -0
  190. package/dist/xiot/core/spec/codec/operation/ArgumentOperationCodec.js +65 -0
  191. package/dist/xiot/core/spec/codec/operation/CombinationValueCodec.d.ts +6 -0
  192. package/dist/xiot/core/spec/codec/operation/CombinationValueCodec.js +70 -0
  193. package/dist/xiot/core/spec/codec/operation/EventOperationCodec.d.ts +14 -0
  194. package/dist/xiot/core/spec/codec/operation/EventOperationCodec.js +63 -0
  195. package/dist/xiot/core/spec/codec/operation/PropertyOperationCodec.d.ts +31 -0
  196. package/dist/xiot/core/spec/codec/operation/PropertyOperationCodec.js +151 -0
  197. package/dist/xiot/core/spec/codec/operation/RuleOperationCodec.d.ts +14 -0
  198. package/dist/xiot/core/spec/codec/operation/RuleOperationCodec.js +43 -0
  199. package/dist/xiot/core/spec/codec/ownership/DeviceOwnerCodec.d.ts +7 -0
  200. package/dist/xiot/core/spec/codec/ownership/DeviceOwnerCodec.js +37 -0
  201. package/dist/xiot/core/spec/codec/ownership/OwnershipCodec.d.ts +7 -0
  202. package/dist/xiot/core/spec/codec/ownership/OwnershipCodec.js +62 -0
  203. package/dist/xiot/core/spec/codec/product/ProductCodec.d.ts +7 -0
  204. package/dist/xiot/core/spec/codec/product/ProductCodec.js +76 -0
  205. package/dist/xiot/core/spec/codec/product/ProductVersionCodec.d.ts +7 -0
  206. package/dist/xiot/core/spec/codec/product/ProductVersionCodec.js +69 -0
  207. package/dist/xiot/core/spec/codec/product/resource/ProductResourceCodec.d.ts +7 -0
  208. package/dist/xiot/core/spec/codec/product/resource/ProductResourceCodec.js +45 -0
  209. package/dist/xiot/core/spec/codec/product/resource/ProductResourceVersionCodec.d.ts +7 -0
  210. package/dist/xiot/core/spec/codec/product/resource/ProductResourceVersionCodec.js +69 -0
  211. package/dist/xiot/core/spec/codec/product/resource/ResourceVersionCodec.d.ts +7 -0
  212. package/dist/xiot/core/spec/codec/product/resource/ResourceVersionCodec.js +65 -0
  213. package/dist/xiot/core/spec/codec/rbac/PermissionCodec.d.ts +7 -0
  214. package/dist/xiot/core/spec/codec/rbac/PermissionCodec.js +35 -0
  215. package/dist/xiot/core/spec/codec/rbac/RoleCodec.d.ts +7 -0
  216. package/dist/xiot/core/spec/codec/rbac/RoleCodec.js +34 -0
  217. package/dist/xiot/core/spec/codec/rbac/account/AccountCodec.d.ts +7 -0
  218. package/dist/xiot/core/spec/codec/rbac/account/AccountCodec.js +38 -0
  219. package/dist/xiot/core/spec/codec/rbac/organization/MemberCodec.d.ts +7 -0
  220. package/dist/xiot/core/spec/codec/rbac/organization/MemberCodec.js +34 -0
  221. package/dist/xiot/core/spec/codec/rbac/organization/OrganizationCodec.d.ts +7 -0
  222. package/dist/xiot/core/spec/codec/rbac/organization/OrganizationCodec.js +33 -0
  223. package/dist/xiot/core/spec/codec/rule/RuleCodec.d.ts +7 -0
  224. package/dist/xiot/core/spec/codec/rule/RuleCodec.js +74 -0
  225. package/dist/xiot/core/spec/codec/shadow/DeviceShadowCodec.d.ts +7 -0
  226. package/dist/xiot/core/spec/codec/shadow/DeviceShadowCodec.js +38 -0
  227. package/dist/xiot/core/spec/codec/shadow/ShadowCodec.d.ts +7 -0
  228. package/dist/xiot/core/spec/codec/shadow/ShadowCodec.js +51 -0
  229. package/dist/xiot/core/spec/codec/somewhere/SomewhereCodec.d.ts +7 -0
  230. package/dist/xiot/core/spec/codec/somewhere/SomewhereCodec.js +50 -0
  231. package/dist/xiot/core/spec/codec/space/SpaceCodec.d.ts +7 -0
  232. package/dist/xiot/core/spec/codec/space/SpaceCodec.js +45 -0
  233. package/dist/xiot/core/spec/codec/summary/SummaryCodec.d.ts +7 -0
  234. package/dist/xiot/core/spec/codec/summary/SummaryCodec.js +82 -0
  235. package/dist/xiot/core/spec/codec/template/ActionTemplateCodec.d.ts +7 -0
  236. package/dist/xiot/core/spec/codec/template/ActionTemplateCodec.js +55 -0
  237. package/dist/xiot/core/spec/codec/template/DeviceTemplateCodec.d.ts +5 -0
  238. package/dist/xiot/core/spec/codec/template/DeviceTemplateCodec.js +24 -0
  239. package/dist/xiot/core/spec/codec/template/EventTemplateCodec.d.ts +7 -0
  240. package/dist/xiot/core/spec/codec/template/EventTemplateCodec.js +51 -0
  241. package/dist/xiot/core/spec/codec/template/PropertyTemplateCodec.d.ts +7 -0
  242. package/dist/xiot/core/spec/codec/template/PropertyTemplateCodec.js +78 -0
  243. package/dist/xiot/core/spec/codec/template/ServiceTemplateCodec.d.ts +7 -0
  244. package/dist/xiot/core/spec/codec/template/ServiceTemplateCodec.js +67 -0
  245. package/dist/xiot/core/spec/typedef/app/Application.d.ts +11 -0
  246. package/dist/xiot/core/spec/typedef/app/Application.js +13 -0
  247. package/dist/xiot/core/spec/typedef/app/authorization/Authorization.d.ts +5 -0
  248. package/dist/xiot/core/spec/typedef/app/authorization/Authorization.js +9 -0
  249. package/dist/xiot/core/spec/typedef/app/authorization/AuthorizationType.d.ts +8 -0
  250. package/dist/xiot/core/spec/typedef/app/authorization/AuthorizationType.js +25 -0
  251. package/dist/xiot/core/spec/typedef/app/authorization/impl/AuthorizationEventbusImpl.d.ts +5 -0
  252. package/dist/xiot/core/spec/typedef/app/authorization/impl/AuthorizationEventbusImpl.js +12 -0
  253. package/dist/xiot/core/spec/typedef/app/authorization/impl/AuthorizationHttpImpl.d.ts +5 -0
  254. package/dist/xiot/core/spec/typedef/app/authorization/impl/AuthorizationHttpImpl.js +12 -0
  255. package/dist/xiot/core/spec/typedef/app/authorization/impl/AuthorizationJwtImpl.d.ts +6 -0
  256. package/dist/xiot/core/spec/typedef/app/authorization/impl/AuthorizationJwtImpl.js +12 -0
  257. package/dist/xiot/core/spec/typedef/app/event/EventReceiver.d.ts +5 -0
  258. package/dist/xiot/core/spec/typedef/app/event/EventReceiver.js +9 -0
  259. package/dist/xiot/core/spec/typedef/app/event/EventReceiverType.d.ts +8 -0
  260. package/dist/xiot/core/spec/typedef/app/event/EventReceiverType.js +25 -0
  261. package/dist/xiot/core/spec/typedef/app/event/impl/EventReceiverEventbusImpl.d.ts +5 -0
  262. package/dist/xiot/core/spec/typedef/app/event/impl/EventReceiverEventbusImpl.js +12 -0
  263. package/dist/xiot/core/spec/typedef/app/event/impl/EventReceiverHttpImpl.d.ts +5 -0
  264. package/dist/xiot/core/spec/typedef/app/event/impl/EventReceiverHttpImpl.js +12 -0
  265. package/dist/xiot/core/spec/typedef/app/event/impl/EventReceiverKafkaImpl.d.ts +6 -0
  266. package/dist/xiot/core/spec/typedef/app/event/impl/EventReceiverKafkaImpl.js +13 -0
  267. package/dist/xiot/core/spec/typedef/constant/Spec.d.ts +48 -0
  268. package/dist/xiot/core/spec/typedef/constant/Spec.js +52 -0
  269. package/dist/xiot/core/spec/typedef/definition/ActionDefinition.d.ts +9 -0
  270. package/dist/xiot/core/spec/typedef/definition/ActionDefinition.js +21 -0
  271. package/dist/xiot/core/spec/typedef/definition/ArgumentDefinition.d.ts +7 -0
  272. package/dist/xiot/core/spec/typedef/definition/ArgumentDefinition.js +11 -0
  273. package/dist/xiot/core/spec/typedef/definition/CategoryDefinition.d.ts +5 -0
  274. package/dist/xiot/core/spec/typedef/definition/CategoryDefinition.js +12 -0
  275. package/dist/xiot/core/spec/typedef/definition/DeviceDefinition.d.ts +7 -0
  276. package/dist/xiot/core/spec/typedef/definition/DeviceDefinition.js +14 -0
  277. package/dist/xiot/core/spec/typedef/definition/EventDefinition.d.ts +8 -0
  278. package/dist/xiot/core/spec/typedef/definition/EventDefinition.js +17 -0
  279. package/dist/xiot/core/spec/typedef/definition/FormatDefinition.d.ts +6 -0
  280. package/dist/xiot/core/spec/typedef/definition/FormatDefinition.js +11 -0
  281. package/dist/xiot/core/spec/typedef/definition/NamespaceDefinition.d.ts +5 -0
  282. package/dist/xiot/core/spec/typedef/definition/NamespaceDefinition.js +12 -0
  283. package/dist/xiot/core/spec/typedef/definition/PropertyDefinition.d.ts +24 -0
  284. package/dist/xiot/core/spec/typedef/definition/PropertyDefinition.js +71 -0
  285. package/dist/xiot/core/spec/typedef/definition/ServiceDefinition.d.ts +15 -0
  286. package/dist/xiot/core/spec/typedef/definition/ServiceDefinition.js +37 -0
  287. package/dist/xiot/core/spec/typedef/definition/UnitDefinition.d.ts +6 -0
  288. package/dist/xiot/core/spec/typedef/definition/UnitDefinition.js +11 -0
  289. package/dist/xiot/core/spec/typedef/definition/property/Access.d.ts +11 -0
  290. package/dist/xiot/core/spec/typedef/definition/property/Access.js +87 -0
  291. package/dist/xiot/core/spec/typedef/definition/property/ConstraintValue.d.ts +4 -0
  292. package/dist/xiot/core/spec/typedef/definition/property/ConstraintValue.js +2 -0
  293. package/dist/xiot/core/spec/typedef/definition/property/ValueDefinition.d.ts +7 -0
  294. package/dist/xiot/core/spec/typedef/definition/property/ValueDefinition.js +12 -0
  295. package/dist/xiot/core/spec/typedef/definition/property/ValueList.d.ts +8 -0
  296. package/dist/xiot/core/spec/typedef/definition/property/ValueList.js +21 -0
  297. package/dist/xiot/core/spec/typedef/definition/property/ValueRange.d.ts +18 -0
  298. package/dist/xiot/core/spec/typedef/definition/property/ValueRange.js +103 -0
  299. package/dist/xiot/core/spec/typedef/definition/property/data/DataFormat.d.ts +23 -0
  300. package/dist/xiot/core/spec/typedef/definition/property/data/DataFormat.js +96 -0
  301. package/dist/xiot/core/spec/typedef/definition/property/data/DataValue.d.ts +8 -0
  302. package/dist/xiot/core/spec/typedef/definition/property/data/DataValue.js +2 -0
  303. package/dist/xiot/core/spec/typedef/definition/property/data/DataValueFactory.d.ts +7 -0
  304. package/dist/xiot/core/spec/typedef/definition/property/data/DataValueFactory.js +115 -0
  305. package/dist/xiot/core/spec/typedef/definition/property/data/value/Vbool.d.ts +12 -0
  306. package/dist/xiot/core/spec/typedef/definition/property/data/value/Vbool.js +53 -0
  307. package/dist/xiot/core/spec/typedef/definition/property/data/value/Vcombination.d.ts +11 -0
  308. package/dist/xiot/core/spec/typedef/definition/property/data/value/Vcombination.js +33 -0
  309. package/dist/xiot/core/spec/typedef/definition/property/data/value/Vfloat.d.ts +14 -0
  310. package/dist/xiot/core/spec/typedef/definition/property/data/value/Vfloat.js +67 -0
  311. package/dist/xiot/core/spec/typedef/definition/property/data/value/Vhex.d.ts +14 -0
  312. package/dist/xiot/core/spec/typedef/definition/property/data/value/Vhex.js +80 -0
  313. package/dist/xiot/core/spec/typedef/definition/property/data/value/Vint16.d.ts +14 -0
  314. package/dist/xiot/core/spec/typedef/definition/property/data/value/Vint16.js +65 -0
  315. package/dist/xiot/core/spec/typedef/definition/property/data/value/Vint32.d.ts +14 -0
  316. package/dist/xiot/core/spec/typedef/definition/property/data/value/Vint32.js +65 -0
  317. package/dist/xiot/core/spec/typedef/definition/property/data/value/Vint64.d.ts +14 -0
  318. package/dist/xiot/core/spec/typedef/definition/property/data/value/Vint64.js +65 -0
  319. package/dist/xiot/core/spec/typedef/definition/property/data/value/Vint8.d.ts +14 -0
  320. package/dist/xiot/core/spec/typedef/definition/property/data/value/Vint8.js +65 -0
  321. package/dist/xiot/core/spec/typedef/definition/property/data/value/Vstring.d.ts +11 -0
  322. package/dist/xiot/core/spec/typedef/definition/property/data/value/Vstring.js +36 -0
  323. package/dist/xiot/core/spec/typedef/definition/property/data/value/Vtlv8.d.ts +12 -0
  324. package/dist/xiot/core/spec/typedef/definition/property/data/value/Vtlv8.js +39 -0
  325. package/dist/xiot/core/spec/typedef/definition/property/data/value/Vuint16.d.ts +14 -0
  326. package/dist/xiot/core/spec/typedef/definition/property/data/value/Vuint16.js +71 -0
  327. package/dist/xiot/core/spec/typedef/definition/property/data/value/Vuint32.d.ts +14 -0
  328. package/dist/xiot/core/spec/typedef/definition/property/data/value/Vuint32.js +65 -0
  329. package/dist/xiot/core/spec/typedef/definition/property/data/value/Vuint8.d.ts +14 -0
  330. package/dist/xiot/core/spec/typedef/definition/property/data/value/Vuint8.js +65 -0
  331. package/dist/xiot/core/spec/typedef/definition/urn/ActionType.d.ts +5 -0
  332. package/dist/xiot/core/spec/typedef/definition/urn/ActionType.js +14 -0
  333. package/dist/xiot/core/spec/typedef/definition/urn/DeviceType.d.ts +5 -0
  334. package/dist/xiot/core/spec/typedef/definition/urn/DeviceType.js +14 -0
  335. package/dist/xiot/core/spec/typedef/definition/urn/EventType.d.ts +5 -0
  336. package/dist/xiot/core/spec/typedef/definition/urn/EventType.js +14 -0
  337. package/dist/xiot/core/spec/typedef/definition/urn/Extendable.d.ts +11 -0
  338. package/dist/xiot/core/spec/typedef/definition/urn/Extendable.js +18 -0
  339. package/dist/xiot/core/spec/typedef/definition/urn/FormatType.d.ts +5 -0
  340. package/dist/xiot/core/spec/typedef/definition/urn/FormatType.js +14 -0
  341. package/dist/xiot/core/spec/typedef/definition/urn/GroupType.d.ts +5 -0
  342. package/dist/xiot/core/spec/typedef/definition/urn/GroupType.js +14 -0
  343. package/dist/xiot/core/spec/typedef/definition/urn/PropertyType.d.ts +5 -0
  344. package/dist/xiot/core/spec/typedef/definition/urn/PropertyType.js +14 -0
  345. package/dist/xiot/core/spec/typedef/definition/urn/ServiceType.d.ts +5 -0
  346. package/dist/xiot/core/spec/typedef/definition/urn/ServiceType.js +14 -0
  347. package/dist/xiot/core/spec/typedef/definition/urn/UnitType.d.ts +5 -0
  348. package/dist/xiot/core/spec/typedef/definition/urn/UnitType.js +14 -0
  349. package/dist/xiot/core/spec/typedef/definition/urn/Urn.d.ts +24 -0
  350. package/dist/xiot/core/spec/typedef/definition/urn/Urn.js +146 -0
  351. package/dist/xiot/core/spec/typedef/definition/urn/UrnStyle.d.ts +7 -0
  352. package/dist/xiot/core/spec/typedef/definition/urn/UrnStyle.js +11 -0
  353. package/dist/xiot/core/spec/typedef/definition/urn/UrnType.d.ts +13 -0
  354. package/dist/xiot/core/spec/typedef/definition/urn/UrnType.js +30 -0
  355. package/dist/xiot/core/spec/typedef/device/Device.d.ts +9 -0
  356. package/dist/xiot/core/spec/typedef/device/Device.js +9 -0
  357. package/dist/xiot/core/spec/typedef/error/IotError.d.ts +5 -0
  358. package/dist/xiot/core/spec/typedef/error/IotError.js +13 -0
  359. package/dist/xiot/core/spec/typedef/image/ActionImage.d.ts +13 -0
  360. package/dist/xiot/core/spec/typedef/image/ActionImage.js +76 -0
  361. package/dist/xiot/core/spec/typedef/image/ArgumentImage.d.ts +8 -0
  362. package/dist/xiot/core/spec/typedef/image/ArgumentImage.js +30 -0
  363. package/dist/xiot/core/spec/typedef/image/DeviceImage.d.ts +31 -0
  364. package/dist/xiot/core/spec/typedef/image/DeviceImage.js +283 -0
  365. package/dist/xiot/core/spec/typedef/image/EventImage.d.ts +11 -0
  366. package/dist/xiot/core/spec/typedef/image/EventImage.js +48 -0
  367. package/dist/xiot/core/spec/typedef/image/PropertyImage.d.ts +22 -0
  368. package/dist/xiot/core/spec/typedef/image/PropertyImage.js +73 -0
  369. package/dist/xiot/core/spec/typedef/image/ServiceImage.d.ts +21 -0
  370. package/dist/xiot/core/spec/typedef/image/ServiceImage.js +172 -0
  371. package/dist/xiot/core/spec/typedef/instance/Action.d.ts +14 -0
  372. package/dist/xiot/core/spec/typedef/instance/Action.js +33 -0
  373. package/dist/xiot/core/spec/typedef/instance/Argument.d.ts +8 -0
  374. package/dist/xiot/core/spec/typedef/instance/Argument.js +18 -0
  375. package/dist/xiot/core/spec/typedef/instance/DeviceInstance.d.ts +9 -0
  376. package/dist/xiot/core/spec/typedef/instance/DeviceInstance.js +17 -0
  377. package/dist/xiot/core/spec/typedef/instance/Event.d.ts +11 -0
  378. package/dist/xiot/core/spec/typedef/instance/Event.js +23 -0
  379. package/dist/xiot/core/spec/typedef/instance/Property.d.ts +56 -0
  380. package/dist/xiot/core/spec/typedef/instance/Property.js +244 -0
  381. package/dist/xiot/core/spec/typedef/instance/PropertyValue.d.ts +16 -0
  382. package/dist/xiot/core/spec/typedef/instance/PropertyValue.js +81 -0
  383. package/dist/xiot/core/spec/typedef/instance/Service.d.ts +19 -0
  384. package/dist/xiot/core/spec/typedef/instance/Service.js +48 -0
  385. package/dist/xiot/core/spec/typedef/jwt/Jwt.d.ts +10 -0
  386. package/dist/xiot/core/spec/typedef/jwt/Jwt.js +16 -0
  387. package/dist/xiot/core/spec/typedef/jwt/JwtType.d.ts +8 -0
  388. package/dist/xiot/core/spec/typedef/jwt/JwtType.js +25 -0
  389. package/dist/xiot/core/spec/typedef/jwt/impl/JwtEsImpl.d.ts +6 -0
  390. package/dist/xiot/core/spec/typedef/jwt/impl/JwtEsImpl.js +15 -0
  391. package/dist/xiot/core/spec/typedef/jwt/impl/JwtRsaImpl.d.ts +6 -0
  392. package/dist/xiot/core/spec/typedef/jwt/impl/JwtRsaImpl.js +15 -0
  393. package/dist/xiot/core/spec/typedef/jwt/impl/JwtSecretsImpl.d.ts +5 -0
  394. package/dist/xiot/core/spec/typedef/jwt/impl/JwtSecretsImpl.js +13 -0
  395. package/dist/xiot/core/spec/typedef/key/AccessKey.d.ts +5 -0
  396. package/dist/xiot/core/spec/typedef/key/AccessKey.js +10 -0
  397. package/dist/xiot/core/spec/typedef/key/DeviceCert.d.ts +7 -0
  398. package/dist/xiot/core/spec/typedef/key/DeviceCert.js +12 -0
  399. package/dist/xiot/core/spec/typedef/key/DeviceKey.d.ts +8 -0
  400. package/dist/xiot/core/spec/typedef/key/DeviceKey.js +13 -0
  401. package/dist/xiot/core/spec/typedef/lifecycle/Lifecycle.d.ts +8 -0
  402. package/dist/xiot/core/spec/typedef/lifecycle/Lifecycle.js +25 -0
  403. package/dist/xiot/core/spec/typedef/lifecycle/ObjectWithLifecycle.d.ts +6 -0
  404. package/dist/xiot/core/spec/typedef/lifecycle/ObjectWithLifecycle.js +10 -0
  405. package/dist/xiot/core/spec/typedef/notice/Notice.d.ts +6 -0
  406. package/dist/xiot/core/spec/typedef/notice/Notice.js +9 -0
  407. package/dist/xiot/core/spec/typedef/notice/NoticeCodec.d.ts +27 -0
  408. package/dist/xiot/core/spec/typedef/notice/NoticeCodec.js +6 -0
  409. package/dist/xiot/core/spec/typedef/notice/device/DeviceNotice.d.ts +6 -0
  410. package/dist/xiot/core/spec/typedef/notice/device/DeviceNotice.js +13 -0
  411. package/dist/xiot/core/spec/typedef/notice/device/DeviceNoticeType.d.ts +14 -0
  412. package/dist/xiot/core/spec/typedef/notice/device/DeviceNoticeType.js +31 -0
  413. package/dist/xiot/core/spec/typedef/notice/device/impl/DeviceAccessKeyChanged.d.ts +7 -0
  414. package/dist/xiot/core/spec/typedef/notice/device/impl/DeviceAccessKeyChanged.js +16 -0
  415. package/dist/xiot/core/spec/typedef/notice/device/impl/DeviceChildrenAdded.d.ts +8 -0
  416. package/dist/xiot/core/spec/typedef/notice/device/impl/DeviceChildrenAdded.js +16 -0
  417. package/dist/xiot/core/spec/typedef/notice/device/impl/DeviceChildrenRemoved.d.ts +7 -0
  418. package/dist/xiot/core/spec/typedef/notice/device/impl/DeviceChildrenRemoved.js +16 -0
  419. package/dist/xiot/core/spec/typedef/notice/device/impl/DeviceEventOccurred.d.ts +7 -0
  420. package/dist/xiot/core/spec/typedef/notice/device/impl/DeviceEventOccurred.js +15 -0
  421. package/dist/xiot/core/spec/typedef/notice/device/impl/DevicePropertiesChanged.d.ts +7 -0
  422. package/dist/xiot/core/spec/typedef/notice/device/impl/DevicePropertiesChanged.js +16 -0
  423. package/dist/xiot/core/spec/typedef/notice/device/impl/DevicePropertyChanged.d.ts +7 -0
  424. package/dist/xiot/core/spec/typedef/notice/device/impl/DevicePropertyChanged.js +17 -0
  425. package/dist/xiot/core/spec/typedef/notice/device/impl/DeviceRootActive.d.ts +8 -0
  426. package/dist/xiot/core/spec/typedef/notice/device/impl/DeviceRootActive.js +16 -0
  427. package/dist/xiot/core/spec/typedef/notice/device/impl/DeviceRootInactive.d.ts +6 -0
  428. package/dist/xiot/core/spec/typedef/notice/device/impl/DeviceRootInactive.js +15 -0
  429. package/dist/xiot/core/spec/typedef/notice/device/impl/DeviceSummaryChanged.d.ts +8 -0
  430. package/dist/xiot/core/spec/typedef/notice/device/impl/DeviceSummaryChanged.js +17 -0
  431. package/dist/xiot/core/spec/typedef/notice/owner/OwnerNotice.d.ts +9 -0
  432. package/dist/xiot/core/spec/typedef/notice/owner/OwnerNotice.js +16 -0
  433. package/dist/xiot/core/spec/typedef/notice/owner/OwnerNoticeType.d.ts +42 -0
  434. package/dist/xiot/core/spec/typedef/notice/owner/OwnerNoticeType.js +59 -0
  435. package/dist/xiot/core/spec/typedef/notice/owner/impl/OwnerDeviceAdded.d.ts +10 -0
  436. package/dist/xiot/core/spec/typedef/notice/owner/impl/OwnerDeviceAdded.js +17 -0
  437. package/dist/xiot/core/spec/typedef/notice/owner/impl/OwnerDeviceRemoved.d.ts +6 -0
  438. package/dist/xiot/core/spec/typedef/notice/owner/impl/OwnerDeviceRemoved.js +15 -0
  439. package/dist/xiot/core/spec/typedef/notice/owner/impl/OwnerDeviceSomewhereChanged.d.ts +8 -0
  440. package/dist/xiot/core/spec/typedef/notice/owner/impl/OwnerDeviceSomewhereChanged.js +16 -0
  441. package/dist/xiot/core/spec/typedef/notice/owner/impl/OwnerDeviceSummaryChanged.d.ts +8 -0
  442. package/dist/xiot/core/spec/typedef/notice/owner/impl/OwnerDeviceSummaryChanged.js +16 -0
  443. package/dist/xiot/core/spec/typedef/notice/owner/impl/OwnerEventOccurred.d.ts +7 -0
  444. package/dist/xiot/core/spec/typedef/notice/owner/impl/OwnerEventOccurred.js +15 -0
  445. package/dist/xiot/core/spec/typedef/notice/owner/impl/OwnerPropertiesChanged.d.ts +7 -0
  446. package/dist/xiot/core/spec/typedef/notice/owner/impl/OwnerPropertiesChanged.js +15 -0
  447. package/dist/xiot/core/spec/typedef/notice/owner/impl/OwnerRuleAdded.d.ts +7 -0
  448. package/dist/xiot/core/spec/typedef/notice/owner/impl/OwnerRuleAdded.js +15 -0
  449. package/dist/xiot/core/spec/typedef/notice/owner/impl/OwnerRuleChanged.d.ts +7 -0
  450. package/dist/xiot/core/spec/typedef/notice/owner/impl/OwnerRuleChanged.js +15 -0
  451. package/dist/xiot/core/spec/typedef/notice/owner/impl/OwnerRuleExecuted.d.ts +8 -0
  452. package/dist/xiot/core/spec/typedef/notice/owner/impl/OwnerRuleExecuted.js +16 -0
  453. package/dist/xiot/core/spec/typedef/notice/owner/impl/OwnerRuleRemoved.d.ts +6 -0
  454. package/dist/xiot/core/spec/typedef/notice/owner/impl/OwnerRuleRemoved.js +15 -0
  455. package/dist/xiot/core/spec/typedef/notice/owner/impl/OwnerRuleTriggered.d.ts +6 -0
  456. package/dist/xiot/core/spec/typedef/notice/owner/impl/OwnerRuleTriggered.js +15 -0
  457. package/dist/xiot/core/spec/typedef/notice/owner/impl/OwnershipDisclaimed.d.ts +6 -0
  458. package/dist/xiot/core/spec/typedef/notice/owner/impl/OwnershipDisclaimed.js +15 -0
  459. package/dist/xiot/core/spec/typedef/notice/owner/impl/OwnershipTaken.d.ts +6 -0
  460. package/dist/xiot/core/spec/typedef/notice/owner/impl/OwnershipTaken.js +15 -0
  461. package/dist/xiot/core/spec/typedef/notice/owner/impl/home/OwnerHomeAdded.d.ts +7 -0
  462. package/dist/xiot/core/spec/typedef/notice/owner/impl/home/OwnerHomeAdded.js +15 -0
  463. package/dist/xiot/core/spec/typedef/notice/owner/impl/home/OwnerHomeChanged.d.ts +7 -0
  464. package/dist/xiot/core/spec/typedef/notice/owner/impl/home/OwnerHomeChanged.js +15 -0
  465. package/dist/xiot/core/spec/typedef/notice/owner/impl/home/OwnerHomeRemoved.d.ts +6 -0
  466. package/dist/xiot/core/spec/typedef/notice/owner/impl/home/OwnerHomeRemoved.js +15 -0
  467. package/dist/xiot/core/spec/typedef/notice/owner/impl/space/OwnerSpaceAdded.d.ts +7 -0
  468. package/dist/xiot/core/spec/typedef/notice/owner/impl/space/OwnerSpaceAdded.js +15 -0
  469. package/dist/xiot/core/spec/typedef/notice/owner/impl/space/OwnerSpaceChanged.d.ts +7 -0
  470. package/dist/xiot/core/spec/typedef/notice/owner/impl/space/OwnerSpaceChanged.js +15 -0
  471. package/dist/xiot/core/spec/typedef/notice/owner/impl/space/OwnerSpaceRemoved.d.ts +6 -0
  472. package/dist/xiot/core/spec/typedef/notice/owner/impl/space/OwnerSpaceRemoved.js +15 -0
  473. package/dist/xiot/core/spec/typedef/oauth2/Oauth2Configuration.d.ts +13 -0
  474. package/dist/xiot/core/spec/typedef/oauth2/Oauth2Configuration.js +19 -0
  475. package/dist/xiot/core/spec/typedef/operation/AbstractOperation.d.ts +9 -0
  476. package/dist/xiot/core/spec/typedef/operation/AbstractOperation.js +21 -0
  477. package/dist/xiot/core/spec/typedef/operation/ActionOperation.d.ts +17 -0
  478. package/dist/xiot/core/spec/typedef/operation/ActionOperation.js +50 -0
  479. package/dist/xiot/core/spec/typedef/operation/ArgumentOperation.d.ts +7 -0
  480. package/dist/xiot/core/spec/typedef/operation/ArgumentOperation.js +52 -0
  481. package/dist/xiot/core/spec/typedef/operation/EventOperation.d.ts +16 -0
  482. package/dist/xiot/core/spec/typedef/operation/EventOperation.js +58 -0
  483. package/dist/xiot/core/spec/typedef/operation/PropertyOperation.d.ts +13 -0
  484. package/dist/xiot/core/spec/typedef/operation/PropertyOperation.js +53 -0
  485. package/dist/xiot/core/spec/typedef/operation/RemindOperation.d.ts +7 -0
  486. package/dist/xiot/core/spec/typedef/operation/RemindOperation.js +25 -0
  487. package/dist/xiot/core/spec/typedef/operation/RuleOperation.d.ts +8 -0
  488. package/dist/xiot/core/spec/typedef/operation/RuleOperation.js +25 -0
  489. package/dist/xiot/core/spec/typedef/operation/SleepOperation.d.ts +7 -0
  490. package/dist/xiot/core/spec/typedef/operation/SleepOperation.js +25 -0
  491. package/dist/xiot/core/spec/typedef/operation/value/AnyValue.d.ts +3 -0
  492. package/dist/xiot/core/spec/typedef/operation/value/AnyValue.js +9 -0
  493. package/dist/xiot/core/spec/typedef/operation/value/AutoscalingValue.d.ts +3 -0
  494. package/dist/xiot/core/spec/typedef/operation/value/AutoscalingValue.js +9 -0
  495. package/dist/xiot/core/spec/typedef/operation/value/ReverseValue.d.ts +3 -0
  496. package/dist/xiot/core/spec/typedef/operation/value/ReverseValue.js +9 -0
  497. package/dist/xiot/core/spec/typedef/ownership/DeviceOwner.d.ts +4 -0
  498. package/dist/xiot/core/spec/typedef/ownership/DeviceOwner.js +10 -0
  499. package/dist/xiot/core/spec/typedef/ownership/Ownership.d.ts +12 -0
  500. package/dist/xiot/core/spec/typedef/ownership/Ownership.js +26 -0
  501. package/dist/xiot/core/spec/typedef/product/Product.d.ts +22 -0
  502. package/dist/xiot/core/spec/typedef/product/Product.js +25 -0
  503. package/dist/xiot/core/spec/typedef/product/ProductVersion.d.ts +17 -0
  504. package/dist/xiot/core/spec/typedef/product/ProductVersion.js +24 -0
  505. package/dist/xiot/core/spec/typedef/product/resource/ProductResource.d.ts +8 -0
  506. package/dist/xiot/core/spec/typedef/product/resource/ProductResource.js +13 -0
  507. package/dist/xiot/core/spec/typedef/product/resource/ProductResourceVersion.d.ts +5 -0
  508. package/dist/xiot/core/spec/typedef/product/resource/ProductResourceVersion.js +12 -0
  509. package/dist/xiot/core/spec/typedef/product/resource/ResourceVersion.d.ts +16 -0
  510. package/dist/xiot/core/spec/typedef/product/resource/ResourceVersion.js +30 -0
  511. package/dist/xiot/core/spec/typedef/rbac/Permission.d.ts +8 -0
  512. package/dist/xiot/core/spec/typedef/rbac/Permission.js +13 -0
  513. package/dist/xiot/core/spec/typedef/rbac/Role.d.ts +7 -0
  514. package/dist/xiot/core/spec/typedef/rbac/Role.js +12 -0
  515. package/dist/xiot/core/spec/typedef/rbac/account/Account.d.ts +11 -0
  516. package/dist/xiot/core/spec/typedef/rbac/account/Account.js +16 -0
  517. package/dist/xiot/core/spec/typedef/rbac/organization/Member.d.ts +12 -0
  518. package/dist/xiot/core/spec/typedef/rbac/organization/Member.js +22 -0
  519. package/dist/xiot/core/spec/typedef/rbac/organization/Organization.d.ts +8 -0
  520. package/dist/xiot/core/spec/typedef/rbac/organization/Organization.js +12 -0
  521. package/dist/xiot/core/spec/typedef/registry/DeviceRegistry.d.ts +6 -0
  522. package/dist/xiot/core/spec/typedef/registry/DeviceRegistry.js +7 -0
  523. package/dist/xiot/core/spec/typedef/registry/accesspoint/AccessPoint.d.ts +4 -0
  524. package/dist/xiot/core/spec/typedef/registry/accesspoint/AccessPoint.js +10 -0
  525. package/dist/xiot/core/spec/typedef/registry/accesspoint/AccessPointType.d.ts +7 -0
  526. package/dist/xiot/core/spec/typedef/registry/accesspoint/AccessPointType.js +24 -0
  527. package/dist/xiot/core/spec/typedef/registry/accesspoint/impl/AccessPointEventbus.d.ts +5 -0
  528. package/dist/xiot/core/spec/typedef/registry/accesspoint/impl/AccessPointEventbus.js +12 -0
  529. package/dist/xiot/core/spec/typedef/registry/accesspoint/impl/AccessPointHttp.d.ts +6 -0
  530. package/dist/xiot/core/spec/typedef/registry/accesspoint/impl/AccessPointHttp.js +13 -0
  531. package/dist/xiot/core/spec/typedef/rule/Rule.d.ts +44 -0
  532. package/dist/xiot/core/spec/typedef/rule/Rule.js +174 -0
  533. package/dist/xiot/core/spec/typedef/rule/RuleContent.d.ts +16 -0
  534. package/dist/xiot/core/spec/typedef/rule/RuleContent.js +56 -0
  535. package/dist/xiot/core/spec/typedef/rule/RuleType.d.ts +7 -0
  536. package/dist/xiot/core/spec/typedef/rule/RuleType.js +11 -0
  537. package/dist/xiot/core/spec/typedef/rule/condition/AbstractCondition.d.ts +7 -0
  538. package/dist/xiot/core/spec/typedef/rule/condition/AbstractCondition.js +12 -0
  539. package/dist/xiot/core/spec/typedef/rule/condition/ComplexCondition.d.ts +17 -0
  540. package/dist/xiot/core/spec/typedef/rule/condition/ComplexCondition.js +57 -0
  541. package/dist/xiot/core/spec/typedef/rule/condition/EventCondition.d.ts +16 -0
  542. package/dist/xiot/core/spec/typedef/rule/condition/EventCondition.js +59 -0
  543. package/dist/xiot/core/spec/typedef/rule/condition/ExternalCondition.d.ts +19 -0
  544. package/dist/xiot/core/spec/typedef/rule/condition/ExternalCondition.js +43 -0
  545. package/dist/xiot/core/spec/typedef/rule/condition/ExternalType.d.ts +5 -0
  546. package/dist/xiot/core/spec/typedef/rule/condition/ExternalType.js +9 -0
  547. package/dist/xiot/core/spec/typedef/rule/condition/NowCondition.d.ts +5 -0
  548. package/dist/xiot/core/spec/typedef/rule/condition/NowCondition.js +15 -0
  549. package/dist/xiot/core/spec/typedef/rule/condition/PropertyCondition.d.ts +19 -0
  550. package/dist/xiot/core/spec/typedef/rule/condition/PropertyCondition.js +48 -0
  551. package/dist/xiot/core/spec/typedef/rule/condition/TimeCondition.d.ts +14 -0
  552. package/dist/xiot/core/spec/typedef/rule/condition/TimeCondition.js +85 -0
  553. package/dist/xiot/core/spec/typedef/rule/condition/operator/ComparisonOperator.d.ts +10 -0
  554. package/dist/xiot/core/spec/typedef/rule/condition/operator/ComparisonOperator.js +32 -0
  555. package/dist/xiot/core/spec/typedef/rule/condition/operator/LogicalOperator.d.ts +6 -0
  556. package/dist/xiot/core/spec/typedef/rule/condition/operator/LogicalOperator.js +22 -0
  557. package/dist/xiot/core/spec/typedef/rule/condition/operator/compare/Comparator.d.ts +2 -0
  558. package/dist/xiot/core/spec/typedef/rule/condition/operator/compare/Comparator.js +20 -0
  559. package/dist/xiot/core/spec/typedef/rule/condition/operator/compare/Compare.d.ts +21 -0
  560. package/dist/xiot/core/spec/typedef/rule/condition/operator/compare/Compare.js +67 -0
  561. package/dist/xiot/core/spec/typedef/rule/condition/operator/logical/Logic.d.ts +2 -0
  562. package/dist/xiot/core/spec/typedef/rule/condition/operator/logical/Logic.js +16 -0
  563. package/dist/xiot/core/spec/typedef/rule/condition/operator/logical/Logical.d.ts +9 -0
  564. package/dist/xiot/core/spec/typedef/rule/condition/operator/logical/Logical.js +15 -0
  565. package/dist/xiot/core/spec/typedef/rule/cron/CronExp.d.ts +31 -0
  566. package/dist/xiot/core/spec/typedef/rule/cron/CronExp.js +102 -0
  567. package/dist/xiot/core/spec/typedef/rule/listener/RuleExecutionListener.d.ts +5 -0
  568. package/dist/xiot/core/spec/typedef/rule/listener/RuleExecutionListener.js +2 -0
  569. package/dist/xiot/core/spec/typedef/rule/parser/RuleContentParser.d.ts +13 -0
  570. package/dist/xiot/core/spec/typedef/rule/parser/RuleContentParser.js +70 -0
  571. package/dist/xiot/core/spec/typedef/rule/parser/condition/ConditionParser.d.ts +17 -0
  572. package/dist/xiot/core/spec/typedef/rule/parser/condition/ConditionParser.js +72 -0
  573. package/dist/xiot/core/spec/typedef/rule/parser/condition/parser0/Parser0.d.ts +28 -0
  574. package/dist/xiot/core/spec/typedef/rule/parser/condition/parser0/Parser0.js +148 -0
  575. package/dist/xiot/core/spec/typedef/rule/parser/condition/parser1/Parser1.d.ts +16 -0
  576. package/dist/xiot/core/spec/typedef/rule/parser/condition/parser1/Parser1.js +90 -0
  577. package/dist/xiot/core/spec/typedef/rule/parser/condition/parser2/Parser2.d.ts +31 -0
  578. package/dist/xiot/core/spec/typedef/rule/parser/condition/parser2/Parser2.js +289 -0
  579. package/dist/xiot/core/spec/typedef/rule/parser/condition/parser2/ParserState2.d.ts +13 -0
  580. package/dist/xiot/core/spec/typedef/rule/parser/condition/parser2/ParserState2.js +17 -0
  581. package/dist/xiot/core/spec/typedef/rule/parser/condition/parser2/Token2.d.ts +22 -0
  582. package/dist/xiot/core/spec/typedef/rule/parser/condition/parser2/Token2.js +68 -0
  583. package/dist/xiot/core/spec/typedef/rule/parser/operation/OperationParser.d.ts +31 -0
  584. package/dist/xiot/core/spec/typedef/rule/parser/operation/OperationParser.js +331 -0
  585. package/dist/xiot/core/spec/typedef/rule/parser/operation/OperationState.d.ts +19 -0
  586. package/dist/xiot/core/spec/typedef/rule/parser/operation/OperationState.js +23 -0
  587. package/dist/xiot/core/spec/typedef/rule/parser/token/Token.d.ts +91 -0
  588. package/dist/xiot/core/spec/typedef/rule/parser/token/Token.js +269 -0
  589. package/dist/xiot/core/spec/typedef/rule/parser/token/Tokenizer.d.ts +29 -0
  590. package/dist/xiot/core/spec/typedef/rule/parser/token/Tokenizer.js +483 -0
  591. package/dist/xiot/core/spec/typedef/shadow/DeviceShadow.d.ts +5 -0
  592. package/dist/xiot/core/spec/typedef/shadow/DeviceShadow.js +10 -0
  593. package/dist/xiot/core/spec/typedef/shadow/Shadow.d.ts +7 -0
  594. package/dist/xiot/core/spec/typedef/shadow/Shadow.js +13 -0
  595. package/dist/xiot/core/spec/typedef/somewhere/Somewhere.d.ts +11 -0
  596. package/dist/xiot/core/spec/typedef/somewhere/Somewhere.js +45 -0
  597. package/dist/xiot/core/spec/typedef/somewhere/Where.d.ts +9 -0
  598. package/dist/xiot/core/spec/typedef/somewhere/Where.js +26 -0
  599. package/dist/xiot/core/spec/typedef/space/Space.d.ts +9 -0
  600. package/dist/xiot/core/spec/typedef/space/Space.js +20 -0
  601. package/dist/xiot/core/spec/typedef/status/AbstractStatus.d.ts +8 -0
  602. package/dist/xiot/core/spec/typedef/status/AbstractStatus.js +23 -0
  603. package/dist/xiot/core/spec/typedef/status/Status.d.ts +50 -0
  604. package/dist/xiot/core/spec/typedef/status/Status.js +54 -0
  605. package/dist/xiot/core/spec/typedef/summary/Summary.d.ts +24 -0
  606. package/dist/xiot/core/spec/typedef/summary/Summary.js +120 -0
  607. package/dist/xiot/core/spec/typedef/template/ActionTemplate.d.ts +17 -0
  608. package/dist/xiot/core/spec/typedef/template/ActionTemplate.js +33 -0
  609. package/dist/xiot/core/spec/typedef/template/DeviceTemplate.d.ts +12 -0
  610. package/dist/xiot/core/spec/typedef/template/DeviceTemplate.js +23 -0
  611. package/dist/xiot/core/spec/typedef/template/EventTemplate.d.ts +15 -0
  612. package/dist/xiot/core/spec/typedef/template/EventTemplate.js +26 -0
  613. package/dist/xiot/core/spec/typedef/template/PropertyTemplate.d.ts +10 -0
  614. package/dist/xiot/core/spec/typedef/template/PropertyTemplate.js +16 -0
  615. package/dist/xiot/core/spec/typedef/template/ServiceTemplate.d.ts +24 -0
  616. package/dist/xiot/core/spec/typedef/template/ServiceTemplate.js +46 -0
  617. package/dist/xiot/core/spec/typedef/utils/Stack.d.ts +10 -0
  618. package/dist/xiot/core/spec/typedef/utils/Stack.js +35 -0
  619. package/dist/xiot/core/spec/typedef/utils/StringUtils.d.ts +3 -0
  620. package/dist/xiot/core/spec/typedef/utils/StringUtils.js +14 -0
  621. package/dist/xiot/core/spec/typedef/utils/TemplateHelper.d.ts +30 -0
  622. package/dist/xiot/core/spec/typedef/utils/TemplateHelper.js +285 -0
  623. package/dist/xiot/core/spec/typedef/version/Version.d.ts +9 -0
  624. package/dist/xiot/core/spec/typedef/version/Version.js +40 -0
  625. package/dist/xiot/core/spec/typedef/xid/ActionID.d.ts +13 -0
  626. package/dist/xiot/core/spec/typedef/xid/ActionID.js +27 -0
  627. package/dist/xiot/core/spec/typedef/xid/EventID.d.ts +6 -0
  628. package/dist/xiot/core/spec/typedef/xid/EventID.js +20 -0
  629. package/dist/xiot/core/spec/typedef/xid/PropertyID.d.ts +6 -0
  630. package/dist/xiot/core/spec/typedef/xid/PropertyID.js +20 -0
  631. package/dist/xiot/core/spec/typedef/xid/XID3.d.ts +10 -0
  632. package/dist/xiot/core/spec/typedef/xid/XID3.js +41 -0
  633. package/dist/xiot/core/support/codegen/codec/controlled/ActionControlledCodec.d.ts +3 -0
  634. package/dist/xiot/core/support/codegen/codec/controlled/ActionControlledCodec.js +8 -0
  635. package/dist/xiot/core/support/codegen/codec/controlled/DeviceControlledCodec.d.ts +3 -0
  636. package/dist/xiot/core/support/codegen/codec/controlled/DeviceControlledCodec.js +8 -0
  637. package/dist/xiot/core/support/codegen/codec/controlled/EventControlledCodec.d.ts +3 -0
  638. package/dist/xiot/core/support/codegen/codec/controlled/EventControlledCodec.js +8 -0
  639. package/dist/xiot/core/support/codegen/codec/controlled/PropertyControlledCodec.d.ts +3 -0
  640. package/dist/xiot/core/support/codegen/codec/controlled/PropertyControlledCodec.js +8 -0
  641. package/dist/xiot/core/support/codegen/codec/controlled/ServiceControlledCodec.d.ts +2 -0
  642. package/dist/xiot/core/support/codegen/codec/controlled/ServiceControlledCodec.js +6 -0
  643. package/dist/xiot/core/support/codegen/codec/controller/ActionControllerCodec.d.ts +6 -0
  644. package/dist/xiot/core/support/codegen/codec/controller/ActionControllerCodec.js +30 -0
  645. package/dist/xiot/core/support/codegen/codec/controller/DeviceControllerCodec.d.ts +5 -0
  646. package/dist/xiot/core/support/codegen/codec/controller/DeviceControllerCodec.js +20 -0
  647. package/dist/xiot/core/support/codegen/codec/controller/EventControllerCodec.d.ts +6 -0
  648. package/dist/xiot/core/support/codegen/codec/controller/EventControllerCodec.js +29 -0
  649. package/dist/xiot/core/support/codegen/codec/controller/PropertyControllerCodec.d.ts +7 -0
  650. package/dist/xiot/core/support/codegen/codec/controller/PropertyControllerCodec.js +25 -0
  651. package/dist/xiot/core/support/codegen/codec/controller/ServiceControllerCodec.d.ts +5 -0
  652. package/dist/xiot/core/support/codegen/codec/controller/ServiceControllerCodec.js +31 -0
  653. package/dist/xiot/core/support/codegen/typedef/controlled/ActionControlled.d.ts +9 -0
  654. package/dist/xiot/core/support/codegen/typedef/controlled/ActionControlled.js +25 -0
  655. package/dist/xiot/core/support/codegen/typedef/controlled/DeviceControlled.d.ts +3 -0
  656. package/dist/xiot/core/support/codegen/typedef/controlled/DeviceControlled.js +7 -0
  657. package/dist/xiot/core/support/codegen/typedef/controlled/EventControlled.d.ts +12 -0
  658. package/dist/xiot/core/support/codegen/typedef/controlled/EventControlled.js +20 -0
  659. package/dist/xiot/core/support/codegen/typedef/controlled/PropertyControlled.d.ts +18 -0
  660. package/dist/xiot/core/support/codegen/typedef/controlled/PropertyControlled.js +122 -0
  661. package/dist/xiot/core/support/codegen/typedef/controlled/ServiceControlled.d.ts +8 -0
  662. package/dist/xiot/core/support/codegen/typedef/controlled/ServiceControlled.js +10 -0
  663. package/dist/xiot/core/support/codegen/typedef/controller/ActionController.d.ts +10 -0
  664. package/dist/xiot/core/support/codegen/typedef/controller/ActionController.js +15 -0
  665. package/dist/xiot/core/support/codegen/typedef/controller/DeviceController.d.ts +23 -0
  666. package/dist/xiot/core/support/codegen/typedef/controller/DeviceController.js +86 -0
  667. package/dist/xiot/core/support/codegen/typedef/controller/EventController.d.ts +8 -0
  668. package/dist/xiot/core/support/codegen/typedef/controller/EventController.js +12 -0
  669. package/dist/xiot/core/support/codegen/typedef/controller/PropertyController.d.ts +27 -0
  670. package/dist/xiot/core/support/codegen/typedef/controller/PropertyController.js +144 -0
  671. package/dist/xiot/core/support/codegen/typedef/controller/ServiceController.d.ts +15 -0
  672. package/dist/xiot/core/support/codegen/typedef/controller/ServiceController.js +70 -0
  673. package/dist/xiot/core/support/codegen/typedef/controller/SomewhereController.d.ts +7 -0
  674. package/dist/xiot/core/support/codegen/typedef/controller/SomewhereController.js +32 -0
  675. package/dist/xiot/core/support/codegen/typedef/controller/SummaryController.d.ts +7 -0
  676. package/dist/xiot/core/support/codegen/typedef/controller/SummaryController.js +55 -0
  677. package/dist/xiot/core/support/codegen/typedef/controller/operator/ActionInvokerWrapper.d.ts +9 -0
  678. package/dist/xiot/core/support/codegen/typedef/controller/operator/ActionInvokerWrapper.js +27 -0
  679. package/dist/xiot/core/support/codegen/typedef/controller/operator/PropertySetterWrapper.d.ts +8 -0
  680. package/dist/xiot/core/support/codegen/typedef/controller/operator/PropertySetterWrapper.js +27 -0
  681. package/dist/xiot/core/support/codegen/typedef/result/Result.d.ts +9 -0
  682. package/dist/xiot/core/support/codegen/typedef/result/Result.js +15 -0
  683. package/dist/xiot/core/support/codegen/typedef/rule/RuleController.d.ts +7 -0
  684. package/dist/xiot/core/support/codegen/typedef/rule/RuleController.js +14 -0
  685. package/dist/xiot/core/support/codegen/typedef/rule/status/RuleStatus.d.ts +2 -0
  686. package/dist/xiot/core/support/codegen/typedef/rule/status/RuleStatus.js +2 -0
  687. package/dist/xiot/core/support/codegen/typedef/rule/status/impl/RuleExecuted.d.ts +8 -0
  688. package/dist/xiot/core/support/codegen/typedef/rule/status/impl/RuleExecuted.js +11 -0
  689. package/dist/xiot/core/support/codegen/typedef/rule/status/impl/RuleReady.d.ts +3 -0
  690. package/dist/xiot/core/support/codegen/typedef/rule/status/impl/RuleReady.js +6 -0
  691. package/dist/xiot/core/support/codegen/typedef/rule/status/impl/RuleTriggered.d.ts +6 -0
  692. package/dist/xiot/core/support/codegen/typedef/rule/status/impl/RuleTriggered.js +10 -0
  693. package/package.json +62 -0
package/dist/index.js ADDED
@@ -0,0 +1,331 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./xiot/core/spec/typedef/app/Application"), exports);
18
+ __exportStar(require("./xiot/core/spec/typedef/app/authorization/Authorization"), exports);
19
+ __exportStar(require("./xiot/core/spec/typedef/app/authorization/AuthorizationType"), exports);
20
+ __exportStar(require("./xiot/core/spec/typedef/app/authorization/impl/AuthorizationEventbusImpl"), exports);
21
+ __exportStar(require("./xiot/core/spec/typedef/app/authorization/impl/AuthorizationHttpImpl"), exports);
22
+ __exportStar(require("./xiot/core/spec/typedef/app/authorization/impl/AuthorizationJwtImpl"), exports);
23
+ __exportStar(require("./xiot/core/spec/typedef/app/event/EventReceiver"), exports);
24
+ __exportStar(require("./xiot/core/spec/typedef/app/event/EventReceiverType"), exports);
25
+ __exportStar(require("./xiot/core/spec/typedef/app/event/impl/EventReceiverEventbusImpl"), exports);
26
+ __exportStar(require("./xiot/core/spec/typedef/app/event/impl/EventReceiverHttpImpl"), exports);
27
+ __exportStar(require("./xiot/core/spec/typedef/app/event/impl/EventReceiverKafkaImpl"), exports);
28
+ __exportStar(require("./xiot/core/spec/typedef/constant/Spec"), exports);
29
+ __exportStar(require("./xiot/core/spec/typedef/definition/ActionDefinition"), exports);
30
+ __exportStar(require("./xiot/core/spec/typedef/definition/ArgumentDefinition"), exports);
31
+ __exportStar(require("./xiot/core/spec/typedef/definition/DeviceDefinition"), exports);
32
+ __exportStar(require("./xiot/core/spec/typedef/definition/EventDefinition"), exports);
33
+ __exportStar(require("./xiot/core/spec/typedef/definition/PropertyDefinition"), exports);
34
+ __exportStar(require("./xiot/core/spec/typedef/definition/ServiceDefinition"), exports);
35
+ __exportStar(require("./xiot/core/spec/typedef/definition/UnitDefinition"), exports);
36
+ __exportStar(require("./xiot/core/spec/typedef/definition/FormatDefinition"), exports);
37
+ __exportStar(require("./xiot/core/spec/typedef/definition/NamespaceDefinition"), exports);
38
+ __exportStar(require("./xiot/core/spec/typedef/definition/urn/ActionType"), exports);
39
+ __exportStar(require("./xiot/core/spec/typedef/definition/urn/DeviceType"), exports);
40
+ __exportStar(require("./xiot/core/spec/typedef/definition/urn/GroupType"), exports);
41
+ __exportStar(require("./xiot/core/spec/typedef/definition/urn/EventType"), exports);
42
+ __exportStar(require("./xiot/core/spec/typedef/definition/urn/Extendable"), exports);
43
+ __exportStar(require("./xiot/core/spec/typedef/definition/urn/PropertyType"), exports);
44
+ __exportStar(require("./xiot/core/spec/typedef/definition/urn/ServiceType"), exports);
45
+ __exportStar(require("./xiot/core/spec/typedef/definition/urn/FormatType"), exports);
46
+ __exportStar(require("./xiot/core/spec/typedef/definition/urn/UnitType"), exports);
47
+ __exportStar(require("./xiot/core/spec/typedef/definition/urn/Urn"), exports);
48
+ __exportStar(require("./xiot/core/spec/typedef/definition/urn/UrnStyle"), exports);
49
+ __exportStar(require("./xiot/core/spec/typedef/definition/urn/UrnType"), exports);
50
+ __exportStar(require("./xiot/core/spec/typedef/definition/property/Access"), exports);
51
+ __exportStar(require("./xiot/core/spec/typedef/definition/property/ConstraintValue"), exports);
52
+ __exportStar(require("./xiot/core/spec/typedef/definition/property/ValueDefinition"), exports);
53
+ __exportStar(require("./xiot/core/spec/typedef/definition/property/ValueList"), exports);
54
+ __exportStar(require("./xiot/core/spec/typedef/definition/property/ValueRange"), exports);
55
+ __exportStar(require("./xiot/core/spec/typedef/definition/property/data/DataFormat"), exports);
56
+ __exportStar(require("./xiot/core/spec/typedef/definition/property/data/DataValue"), exports);
57
+ __exportStar(require("./xiot/core/spec/typedef/definition/property/data/DataValueFactory"), exports);
58
+ __exportStar(require("./xiot/core/spec/typedef/definition/property/data/value/Vbool"), exports);
59
+ __exportStar(require("./xiot/core/spec/typedef/definition/property/data/value/Vfloat"), exports);
60
+ __exportStar(require("./xiot/core/spec/typedef/definition/property/data/value/Vint8"), exports);
61
+ __exportStar(require("./xiot/core/spec/typedef/definition/property/data/value/Vint16"), exports);
62
+ __exportStar(require("./xiot/core/spec/typedef/definition/property/data/value/Vint32"), exports);
63
+ __exportStar(require("./xiot/core/spec/typedef/definition/property/data/value/Vint64"), exports);
64
+ __exportStar(require("./xiot/core/spec/typedef/definition/property/data/value/Vstring"), exports);
65
+ __exportStar(require("./xiot/core/spec/typedef/definition/property/data/value/Vuint8"), exports);
66
+ __exportStar(require("./xiot/core/spec/typedef/definition/property/data/value/Vuint16"), exports);
67
+ __exportStar(require("./xiot/core/spec/typedef/definition/property/data/value/Vuint32"), exports);
68
+ __exportStar(require("./xiot/core/spec/typedef/device/Device"), exports);
69
+ __exportStar(require("./xiot/core/spec/typedef/error/IotError"), exports);
70
+ __exportStar(require("./xiot/core/spec/typedef/image/ActionImage"), exports);
71
+ __exportStar(require("./xiot/core/spec/typedef/image/ArgumentImage"), exports);
72
+ __exportStar(require("./xiot/core/spec/typedef/image/DeviceImage"), exports);
73
+ __exportStar(require("./xiot/core/spec/typedef/image/EventImage"), exports);
74
+ __exportStar(require("./xiot/core/spec/typedef/image/PropertyImage"), exports);
75
+ __exportStar(require("./xiot/core/spec/typedef/image/ServiceImage"), exports);
76
+ __exportStar(require("./xiot/core/spec/typedef/instance/Action"), exports);
77
+ __exportStar(require("./xiot/core/spec/typedef/instance/Argument"), exports);
78
+ __exportStar(require("./xiot/core/spec/typedef/instance/DeviceInstance"), exports);
79
+ __exportStar(require("./xiot/core/spec/typedef/instance/Event"), exports);
80
+ __exportStar(require("./xiot/core/spec/typedef/instance/Property"), exports);
81
+ __exportStar(require("./xiot/core/spec/typedef/instance/PropertyValue"), exports);
82
+ __exportStar(require("./xiot/core/spec/typedef/instance/Service"), exports);
83
+ __exportStar(require("./xiot/core/spec/typedef/jwt/Jwt"), exports);
84
+ __exportStar(require("./xiot/core/spec/typedef/jwt/JwtType"), exports);
85
+ __exportStar(require("./xiot/core/spec/typedef/jwt/impl/JwtEsImpl"), exports);
86
+ __exportStar(require("./xiot/core/spec/typedef/jwt/impl/JwtRsaImpl"), exports);
87
+ __exportStar(require("./xiot/core/spec/typedef/jwt/impl/JwtSecretsImpl"), exports);
88
+ __exportStar(require("./xiot/core/spec/typedef/key/AccessKey"), exports);
89
+ __exportStar(require("./xiot/core/spec/typedef/key/DeviceKey"), exports);
90
+ __exportStar(require("./xiot/core/spec/typedef/key/DeviceCert"), exports);
91
+ __exportStar(require("./xiot/core/spec/typedef/lifecycle/Lifecycle"), exports);
92
+ __exportStar(require("./xiot/core/spec/typedef/lifecycle/ObjectWithLifecycle"), exports);
93
+ __exportStar(require("./xiot/core/spec/typedef/notice/device/impl/DeviceAccessKeyChanged"), exports);
94
+ __exportStar(require("./xiot/core/spec/typedef/notice/device/impl/DeviceChildrenAdded"), exports);
95
+ __exportStar(require("./xiot/core/spec/typedef/notice/device/impl/DeviceChildrenRemoved"), exports);
96
+ __exportStar(require("./xiot/core/spec/typedef/notice/device/impl/DeviceSummaryChanged"), exports);
97
+ __exportStar(require("./xiot/core/spec/typedef/notice/device/impl/DeviceEventOccurred"), exports);
98
+ __exportStar(require("./xiot/core/spec/typedef/notice/device/impl/DevicePropertiesChanged"), exports);
99
+ __exportStar(require("./xiot/core/spec/typedef/notice/device/impl/DevicePropertyChanged"), exports);
100
+ __exportStar(require("./xiot/core/spec/typedef/notice/device/impl/DeviceRootActive"), exports);
101
+ __exportStar(require("./xiot/core/spec/typedef/notice/device/impl/DeviceRootInactive"), exports);
102
+ __exportStar(require("./xiot/core/spec/typedef/notice/owner/impl/OwnerDeviceAdded"), exports);
103
+ __exportStar(require("./xiot/core/spec/typedef/notice/owner/impl/OwnerDeviceRemoved"), exports);
104
+ __exportStar(require("./xiot/core/spec/typedef/notice/owner/impl/OwnerDeviceSummaryChanged"), exports);
105
+ __exportStar(require("./xiot/core/spec/typedef/notice/owner/impl/OwnerDeviceSomewhereChanged"), exports);
106
+ __exportStar(require("./xiot/core/spec/typedef/notice/owner/impl/OwnerEventOccurred"), exports);
107
+ __exportStar(require("./xiot/core/spec/typedef/notice/owner/impl/OwnerPropertiesChanged"), exports);
108
+ __exportStar(require("./xiot/core/spec/typedef/notice/owner/impl/OwnerRuleAdded"), exports);
109
+ __exportStar(require("./xiot/core/spec/typedef/notice/owner/impl/OwnerRuleChanged"), exports);
110
+ __exportStar(require("./xiot/core/spec/typedef/notice/owner/impl/OwnerRuleExecuted"), exports);
111
+ __exportStar(require("./xiot/core/spec/typedef/notice/owner/impl/OwnerRuleRemoved"), exports);
112
+ __exportStar(require("./xiot/core/spec/typedef/notice/owner/impl/OwnerRuleTriggered"), exports);
113
+ __exportStar(require("./xiot/core/spec/typedef/notice/owner/impl/OwnershipDisclaimed"), exports);
114
+ __exportStar(require("./xiot/core/spec/typedef/notice/owner/impl/OwnershipTaken"), exports);
115
+ __exportStar(require("./xiot/core/spec/typedef/notice/owner/impl/home/OwnerHomeAdded"), exports);
116
+ __exportStar(require("./xiot/core/spec/typedef/notice/owner/impl/home/OwnerHomeChanged"), exports);
117
+ __exportStar(require("./xiot/core/spec/typedef/notice/owner/impl/home/OwnerHomeRemoved"), exports);
118
+ __exportStar(require("./xiot/core/spec/typedef/notice/owner/impl/space/OwnerSpaceAdded"), exports);
119
+ __exportStar(require("./xiot/core/spec/typedef/notice/owner/impl/space/OwnerSpaceChanged"), exports);
120
+ __exportStar(require("./xiot/core/spec/typedef/notice/owner/impl/space/OwnerSpaceRemoved"), exports);
121
+ __exportStar(require("./xiot/core/spec/typedef/notice/device/DeviceNotice"), exports);
122
+ __exportStar(require("./xiot/core/spec/typedef/notice/device/DeviceNoticeType"), exports);
123
+ __exportStar(require("./xiot/core/spec/typedef/notice/owner/OwnerNotice"), exports);
124
+ __exportStar(require("./xiot/core/spec/typedef/notice/owner/OwnerNoticeType"), exports);
125
+ __exportStar(require("./xiot/core/spec/typedef/notice/Notice"), exports);
126
+ __exportStar(require("./xiot/core/spec/typedef/notice/NoticeCodec"), exports);
127
+ __exportStar(require("./xiot/core/spec/typedef/oauth2/Oauth2Configuration"), exports);
128
+ __exportStar(require("./xiot/core/spec/typedef/operation/value/AnyValue"), exports);
129
+ __exportStar(require("./xiot/core/spec/typedef/operation/value/AutoscalingValue"), exports);
130
+ __exportStar(require("./xiot/core/spec/typedef/operation/value/ReverseValue"), exports);
131
+ __exportStar(require("./xiot/core/spec/typedef/operation/AbstractOperation"), exports);
132
+ __exportStar(require("./xiot/core/spec/typedef/operation/ActionOperation"), exports);
133
+ __exportStar(require("./xiot/core/spec/typedef/operation/ArgumentOperation"), exports);
134
+ __exportStar(require("./xiot/core/spec/typedef/operation/EventOperation"), exports);
135
+ __exportStar(require("./xiot/core/spec/typedef/operation/PropertyOperation"), exports);
136
+ __exportStar(require("./xiot/core/spec/typedef/operation/RemindOperation"), exports);
137
+ __exportStar(require("./xiot/core/spec/typedef/operation/RuleOperation"), exports);
138
+ __exportStar(require("./xiot/core/spec/typedef/operation/SleepOperation"), exports);
139
+ __exportStar(require("./xiot/core/spec/typedef/ownership/Ownership"), exports);
140
+ __exportStar(require("./xiot/core/spec/typedef/ownership/DeviceOwner"), exports);
141
+ __exportStar(require("./xiot/core/spec/typedef/product/Product"), exports);
142
+ __exportStar(require("./xiot/core/spec/typedef/product/ProductVersion"), exports);
143
+ __exportStar(require("./xiot/core/spec/typedef/product/resource/ProductResource"), exports);
144
+ __exportStar(require("./xiot/core/spec/typedef/product/resource/ProductResourceVersion"), exports);
145
+ __exportStar(require("./xiot/core/spec/typedef/product/resource/ResourceVersion"), exports);
146
+ __exportStar(require("./xiot/core/spec/typedef/rbac/Permission"), exports);
147
+ __exportStar(require("./xiot/core/spec/typedef/rbac/Role"), exports);
148
+ __exportStar(require("./xiot/core/spec/typedef/rbac/account/Account"), exports);
149
+ __exportStar(require("./xiot/core/spec/typedef/rbac/organization/Organization"), exports);
150
+ __exportStar(require("./xiot/core/spec/typedef/rbac/organization/Member"), exports);
151
+ __exportStar(require("./xiot/core/spec/typedef/registry/DeviceRegistry"), exports);
152
+ __exportStar(require("./xiot/core/spec/typedef/registry/accesspoint/AccessPoint"), exports);
153
+ __exportStar(require("./xiot/core/spec/typedef/registry/accesspoint/AccessPointType"), exports);
154
+ __exportStar(require("./xiot/core/spec/typedef/registry/accesspoint/impl/AccessPointEventbus"), exports);
155
+ __exportStar(require("./xiot/core/spec/typedef/registry/accesspoint/impl/AccessPointHttp"), exports);
156
+ __exportStar(require("./xiot/core/spec/typedef/registry/accesspoint/impl/AccessPointHttp"), exports);
157
+ __exportStar(require("./xiot/core/spec/typedef/rule/condition/operator/LogicalOperator"), exports);
158
+ __exportStar(require("./xiot/core/spec/typedef/rule/condition/operator/ComparisonOperator"), exports);
159
+ __exportStar(require("./xiot/core/spec/typedef/rule/condition/operator/logical/Logical"), exports);
160
+ __exportStar(require("./xiot/core/spec/typedef/rule/condition/operator/logical/Logic"), exports);
161
+ __exportStar(require("./xiot/core/spec/typedef/rule/condition/operator/compare/Compare"), exports);
162
+ __exportStar(require("./xiot/core/spec/typedef/rule/condition/operator/compare/Comparator"), exports);
163
+ __exportStar(require("./xiot/core/spec/typedef/rule/condition/AbstractCondition"), exports);
164
+ __exportStar(require("./xiot/core/spec/typedef/rule/condition/ComplexCondition"), exports);
165
+ __exportStar(require("./xiot/core/spec/typedef/rule/condition/EventCondition"), exports);
166
+ __exportStar(require("./xiot/core/spec/typedef/rule/condition/ExternalCondition"), exports);
167
+ __exportStar(require("./xiot/core/spec/typedef/rule/condition/ExternalType"), exports);
168
+ __exportStar(require("./xiot/core/spec/typedef/rule/condition/NowCondition"), exports);
169
+ __exportStar(require("./xiot/core/spec/typedef/rule/condition/PropertyCondition"), exports);
170
+ __exportStar(require("./xiot/core/spec/typedef/rule/condition/TimeCondition"), exports);
171
+ __exportStar(require("./xiot/core/spec/typedef/rule/cron/CronExp"), exports);
172
+ __exportStar(require("./xiot/core/spec/typedef/rule/listener/RuleExecutionListener"), exports);
173
+ __exportStar(require("./xiot/core/spec/typedef/rule/parser/condition/parser0/Parser0"), exports);
174
+ __exportStar(require("./xiot/core/spec/typedef/rule/parser/condition/parser1/Parser1"), exports);
175
+ __exportStar(require("./xiot/core/spec/typedef/rule/parser/condition/parser2/Parser2"), exports);
176
+ __exportStar(require("./xiot/core/spec/typedef/rule/parser/condition/parser2/ParserState2"), exports);
177
+ __exportStar(require("./xiot/core/spec/typedef/rule/parser/condition/parser2/Token2"), exports);
178
+ __exportStar(require("./xiot/core/spec/typedef/rule/parser/condition/ConditionParser"), exports);
179
+ __exportStar(require("./xiot/core/spec/typedef/rule/parser/operation/OperationParser"), exports);
180
+ __exportStar(require("./xiot/core/spec/typedef/rule/parser/operation/OperationState"), exports);
181
+ __exportStar(require("./xiot/core/spec/typedef/rule/parser/token/Token"), exports);
182
+ __exportStar(require("./xiot/core/spec/typedef/rule/parser/token/Tokenizer"), exports);
183
+ __exportStar(require("./xiot/core/spec/typedef/rule/parser/RuleContentParser"), exports);
184
+ __exportStar(require("./xiot/core/spec/typedef/rule/Rule"), exports);
185
+ __exportStar(require("./xiot/core/spec/typedef/rule/RuleContent"), exports);
186
+ __exportStar(require("./xiot/core/spec/typedef/rule/RuleType"), exports);
187
+ __exportStar(require("./xiot/core/spec/typedef/shadow/Shadow"), exports);
188
+ __exportStar(require("./xiot/core/spec/typedef/shadow/DeviceShadow"), exports);
189
+ __exportStar(require("./xiot/core/spec/typedef/space/Space"), exports);
190
+ __exportStar(require("./xiot/core/spec/typedef/status/AbstractStatus"), exports);
191
+ __exportStar(require("./xiot/core/spec/typedef/status/Status"), exports);
192
+ __exportStar(require("./xiot/core/spec/typedef/summary/Summary"), exports);
193
+ __exportStar(require("./xiot/core/spec/typedef/template/ActionTemplate"), exports);
194
+ __exportStar(require("./xiot/core/spec/typedef/template/DeviceTemplate"), exports);
195
+ __exportStar(require("./xiot/core/spec/typedef/template/EventTemplate"), exports);
196
+ __exportStar(require("./xiot/core/spec/typedef/template/PropertyTemplate"), exports);
197
+ __exportStar(require("./xiot/core/spec/typedef/template/ServiceTemplate"), exports);
198
+ __exportStar(require("./xiot/core/spec/typedef/utils/TemplateHelper"), exports);
199
+ __exportStar(require("./xiot/core/spec/typedef/utils/Stack"), exports);
200
+ __exportStar(require("./xiot/core/spec/typedef/version/Version"), exports);
201
+ __exportStar(require("./xiot/core/spec/typedef/somewhere/Somewhere"), exports);
202
+ __exportStar(require("./xiot/core/spec/typedef/somewhere/Where"), exports);
203
+ __exportStar(require("./xiot/core/spec/typedef/xid/ActionID"), exports);
204
+ __exportStar(require("./xiot/core/spec/typedef/xid/EventID"), exports);
205
+ __exportStar(require("./xiot/core/spec/typedef/xid/PropertyID"), exports);
206
+ __exportStar(require("./xiot/core/spec/codec/app/ApplicationCodec"), exports);
207
+ __exportStar(require("./xiot/core/spec/codec/definition/type/ActionTypeCodec"), exports);
208
+ __exportStar(require("./xiot/core/spec/codec/definition/type/EventTypeCodec"), exports);
209
+ __exportStar(require("./xiot/core/spec/codec/definition/type/GroupTypeCodec"), exports);
210
+ __exportStar(require("./xiot/core/spec/codec/definition/type/PropertyTypeCodec"), exports);
211
+ __exportStar(require("./xiot/core/spec/codec/definition/type/ServiceTypeCodec"), exports);
212
+ __exportStar(require("./xiot/core/spec/codec/definition/ActionDefinitionCodec"), exports);
213
+ __exportStar(require("./xiot/core/spec/codec/definition/ArgumentDefinitionCodec"), exports);
214
+ __exportStar(require("./xiot/core/spec/codec/definition/CategoryDefinitionCodec"), exports);
215
+ __exportStar(require("./xiot/core/spec/codec/definition/DescriptionCodec"), exports);
216
+ __exportStar(require("./xiot/core/spec/codec/definition/DeviceDefinitionCodec"), exports);
217
+ __exportStar(require("./xiot/core/spec/codec/definition/EventDefinitionCodec"), exports);
218
+ __exportStar(require("./xiot/core/spec/codec/definition/FormatDefinitionCodec"), exports);
219
+ __exportStar(require("./xiot/core/spec/codec/definition/NamespaceDefinitionCodec"), exports);
220
+ __exportStar(require("./xiot/core/spec/codec/definition/PropertyDefinitionCodec"), exports);
221
+ __exportStar(require("./xiot/core/spec/codec/definition/ServiceDefinitionCodec"), exports);
222
+ __exportStar(require("./xiot/core/spec/codec/definition/UnitDefinitionCodec"), exports);
223
+ __exportStar(require("./xiot/core/spec/codec/definition/ValueListCodec"), exports);
224
+ __exportStar(require("./xiot/core/spec/codec/definition/ValueRangeCodec"), exports);
225
+ __exportStar(require("./xiot/core/spec/codec/device/DeviceCodec"), exports);
226
+ __exportStar(require("./xiot/core/spec/codec/image/ActionImageCodec"), exports);
227
+ __exportStar(require("./xiot/core/spec/codec/image/ArgumentImageCodec"), exports);
228
+ __exportStar(require("./xiot/core/spec/codec/image/DeviceImageCodec"), exports);
229
+ __exportStar(require("./xiot/core/spec/codec/image/EventImageCodec"), exports);
230
+ __exportStar(require("./xiot/core/spec/codec/image/PropertyImageCodec"), exports);
231
+ __exportStar(require("./xiot/core/spec/codec/image/ServiceImageCodec"), exports);
232
+ __exportStar(require("./xiot/core/spec/codec/instance/ActionCodec"), exports);
233
+ __exportStar(require("./xiot/core/spec/codec/instance/ArgumentCodec"), exports);
234
+ __exportStar(require("./xiot/core/spec/codec/instance/DeviceInstanceCodec"), exports);
235
+ __exportStar(require("./xiot/core/spec/codec/instance/EventCodec"), exports);
236
+ __exportStar(require("./xiot/core/spec/codec/instance/PropertyCodec"), exports);
237
+ __exportStar(require("./xiot/core/spec/codec/instance/ServiceCodec"), exports);
238
+ __exportStar(require("./xiot/core/spec/codec/jwt/JwtCodec"), exports);
239
+ __exportStar(require("./xiot/core/spec/codec/key/AccessKeyCodec"), exports);
240
+ __exportStar(require("./xiot/core/spec/codec/key/DeviceKeyCodec"), exports);
241
+ __exportStar(require("./xiot/core/spec/codec/key/DeviceCertCodec"), exports);
242
+ __exportStar(require("./xiot/core/spec/codec/lifecycle/app/ApplicationWithLifecycleCodec"), exports);
243
+ __exportStar(require("./xiot/core/spec/codec/lifecycle/definition/ActionDefinitionWithLifecycleCodec"), exports);
244
+ __exportStar(require("./xiot/core/spec/codec/lifecycle/definition/DeviceDefinitionWithLifecycleCodec"), exports);
245
+ __exportStar(require("./xiot/core/spec/codec/lifecycle/definition/EventDefinitionWithLifecycleCodec"), exports);
246
+ __exportStar(require("./xiot/core/spec/codec/lifecycle/definition/FormatDefinitionWithLifecycleCodec"), exports);
247
+ __exportStar(require("./xiot/core/spec/codec/lifecycle/definition/PropertyDefinitionWithLifecycleCodec"), exports);
248
+ __exportStar(require("./xiot/core/spec/codec/lifecycle/definition/ServiceDefinitionWithLifecycleCodec"), exports);
249
+ __exportStar(require("./xiot/core/spec/codec/lifecycle/definition/UnitDefinitionWithLifecycleCodec"), exports);
250
+ __exportStar(require("./xiot/core/spec/codec/lifecycle/instance/DeviceInstanceWithLifecycleCodec"), exports);
251
+ __exportStar(require("./xiot/core/spec/codec/lifecycle/product/VersionWithLifecycleCodec"), exports);
252
+ __exportStar(require("./xiot/core/spec/codec/lifecycle/template/DeviceTemplateWithLifecycleCodec"), exports);
253
+ __exportStar(require("./xiot/core/spec/codec/lifecycle/type/DeviceTypeWithLifecycleCodec"), exports);
254
+ __exportStar(require("./xiot/core/spec/codec/notice/DeviceNoticeCodec"), exports);
255
+ __exportStar(require("./xiot/core/spec/codec/notice/device/DeviceAccessKeyChangedCodec"), exports);
256
+ __exportStar(require("./xiot/core/spec/codec/notice/device/DeviceChildrenAddedCodec"), exports);
257
+ __exportStar(require("./xiot/core/spec/codec/notice/device/DeviceChildrenRemovedCodec"), exports);
258
+ __exportStar(require("./xiot/core/spec/codec/notice/device/DeviceEventOccurredCodec"), exports);
259
+ __exportStar(require("./xiot/core/spec/codec/notice/device/DeviceSummaryChangedCodec"), exports);
260
+ __exportStar(require("./xiot/core/spec/codec/notice/device/DevicePropertiesChangedCodec"), exports);
261
+ __exportStar(require("./xiot/core/spec/codec/notice/device/DeviceRootActiveCodec"), exports);
262
+ __exportStar(require("./xiot/core/spec/codec/notice/OwnerNoticeCodec"), exports);
263
+ __exportStar(require("./xiot/core/spec/codec/notice/owner/OwnerDeviceAddedCodec"), exports);
264
+ __exportStar(require("./xiot/core/spec/codec/notice/owner/OwnerDeviceRemovedCodec"), exports);
265
+ __exportStar(require("./xiot/core/spec/codec/notice/owner/OwnerDeviceSummaryChangedCodec"), exports);
266
+ __exportStar(require("./xiot/core/spec/codec/notice/owner/OwnerDeviceSomewhereChangedCodec"), exports);
267
+ __exportStar(require("./xiot/core/spec/codec/notice/owner/OwnerEventOccurredCodec"), exports);
268
+ __exportStar(require("./xiot/core/spec/codec/notice/owner/OwnerPropertiesChangedCodec"), exports);
269
+ __exportStar(require("./xiot/core/spec/codec/notice/owner/OwnerRuleAddedCodec"), exports);
270
+ __exportStar(require("./xiot/core/spec/codec/notice/owner/OwnerRuleChangedCodec"), exports);
271
+ __exportStar(require("./xiot/core/spec/codec/notice/owner/OwnerRuleExecutedCodec"), exports);
272
+ __exportStar(require("./xiot/core/spec/codec/notice/owner/OwnerRuleRemovedCodec"), exports);
273
+ __exportStar(require("./xiot/core/spec/codec/notice/owner/OwnerRuleTriggeredCodec"), exports);
274
+ __exportStar(require("./xiot/core/spec/codec/notice/owner/OwnershipDisclaimedCodec"), exports);
275
+ __exportStar(require("./xiot/core/spec/codec/notice/owner/OwnershipTakenCodec"), exports);
276
+ __exportStar(require("./xiot/core/spec/codec/notice/owner/home/OwnerHomeAddedCodec"), exports);
277
+ __exportStar(require("./xiot/core/spec/codec/notice/owner/home/OwnerHomeChangedCodec"), exports);
278
+ __exportStar(require("./xiot/core/spec/codec/notice/owner/home/OwnerHomeRemovedCodec"), exports);
279
+ __exportStar(require("./xiot/core/spec/codec/notice/owner/space/OwnerSpaceAddedCodec"), exports);
280
+ __exportStar(require("./xiot/core/spec/codec/notice/owner/space/OwnerSpaceChangedCodec"), exports);
281
+ __exportStar(require("./xiot/core/spec/codec/notice/owner/space/OwnerSpaceRemovedCodec"), exports);
282
+ __exportStar(require("./xiot/core/spec/codec/oauth2/Oauth2ConfigurationCodec"), exports);
283
+ __exportStar(require("./xiot/core/spec/codec/operation/ActionOperationCodec"), exports);
284
+ __exportStar(require("./xiot/core/spec/codec/operation/ArgumentOperationCodec"), exports);
285
+ __exportStar(require("./xiot/core/spec/codec/operation/EventOperationCodec"), exports);
286
+ __exportStar(require("./xiot/core/spec/codec/operation/PropertyOperationCodec"), exports);
287
+ __exportStar(require("./xiot/core/spec/codec/operation/CombinationValueCodec"), exports);
288
+ __exportStar(require("./xiot/core/spec/codec/operation/RuleOperationCodec"), exports);
289
+ __exportStar(require("./xiot/core/spec/codec/ownership/OwnershipCodec"), exports);
290
+ __exportStar(require("./xiot/core/spec/codec/ownership/DeviceOwnerCodec"), exports);
291
+ __exportStar(require("./xiot/core/spec/codec/product/ProductCodec"), exports);
292
+ __exportStar(require("./xiot/core/spec/codec/product/ProductVersionCodec"), exports);
293
+ __exportStar(require("./xiot/core/spec/codec/product/resource/ProductResourceCodec"), exports);
294
+ __exportStar(require("./xiot/core/spec/codec/product/resource/ProductResourceVersionCodec"), exports);
295
+ __exportStar(require("./xiot/core/spec/codec/product/resource/ResourceVersionCodec"), exports);
296
+ __exportStar(require("./xiot/core/spec/codec/rbac/PermissionCodec"), exports);
297
+ __exportStar(require("./xiot/core/spec/codec/rbac/RoleCodec"), exports);
298
+ __exportStar(require("./xiot/core/spec/codec/rbac/account/AccountCodec"), exports);
299
+ __exportStar(require("./xiot/core/spec/codec/rbac/organization/OrganizationCodec"), exports);
300
+ __exportStar(require("./xiot/core/spec/codec/rbac/organization/MemberCodec"), exports);
301
+ __exportStar(require("./xiot/core/spec/codec/rule/RuleCodec"), exports);
302
+ __exportStar(require("./xiot/core/spec/codec/shadow/ShadowCodec"), exports);
303
+ __exportStar(require("./xiot/core/spec/codec/shadow/DeviceShadowCodec"), exports);
304
+ __exportStar(require("./xiot/core/spec/codec/space/SpaceCodec"), exports);
305
+ __exportStar(require("./xiot/core/spec/codec/summary/SummaryCodec"), exports);
306
+ __exportStar(require("./xiot/core/spec/codec/somewhere/SomewhereCodec"), exports);
307
+ __exportStar(require("./xiot/core/spec/codec/template/ActionTemplateCodec"), exports);
308
+ __exportStar(require("./xiot/core/spec/codec/template/DeviceTemplateCodec"), exports);
309
+ __exportStar(require("./xiot/core/spec/codec/template/ServiceTemplateCodec"), exports);
310
+ __exportStar(require("./xiot/core/spec/codec/template/EventTemplateCodec"), exports);
311
+ __exportStar(require("./xiot/core/spec/codec/template/PropertyTemplateCodec"), exports);
312
+ __exportStar(require("./xiot/core/support/codegen/codec/controller/ActionControllerCodec"), exports);
313
+ __exportStar(require("./xiot/core/support/codegen/codec/controller/DeviceControllerCodec"), exports);
314
+ __exportStar(require("./xiot/core/support/codegen/codec/controller/EventControllerCodec"), exports);
315
+ __exportStar(require("./xiot/core/support/codegen/codec/controller/PropertyControllerCodec"), exports);
316
+ __exportStar(require("./xiot/core/support/codegen/codec/controller/ServiceControllerCodec"), exports);
317
+ __exportStar(require("./xiot/core/support/codegen/typedef/controller/operator/PropertySetterWrapper"), exports);
318
+ __exportStar(require("./xiot/core/support/codegen/typedef/controller/operator/ActionInvokerWrapper"), exports);
319
+ __exportStar(require("./xiot/core/support/codegen/typedef/controller/ActionController"), exports);
320
+ __exportStar(require("./xiot/core/support/codegen/typedef/controller/DeviceController"), exports);
321
+ __exportStar(require("./xiot/core/support/codegen/typedef/controller/EventController"), exports);
322
+ __exportStar(require("./xiot/core/support/codegen/typedef/controller/PropertyController"), exports);
323
+ __exportStar(require("./xiot/core/support/codegen/typedef/controller/ServiceController"), exports);
324
+ __exportStar(require("./xiot/core/support/codegen/typedef/controller/SummaryController"), exports);
325
+ __exportStar(require("./xiot/core/support/codegen/typedef/controller/SomewhereController"), exports);
326
+ __exportStar(require("./xiot/core/support/codegen/typedef/result/Result"), exports);
327
+ __exportStar(require("./xiot/core/support/codegen/typedef/rule/RuleController"), exports);
328
+ __exportStar(require("./xiot/core/support/codegen/typedef/rule/status/RuleStatus"), exports);
329
+ __exportStar(require("./xiot/core/support/codegen/typedef/rule/status/impl/RuleReady"), exports);
330
+ __exportStar(require("./xiot/core/support/codegen/typedef/rule/status/impl/RuleExecuted"), exports);
331
+ __exportStar(require("./xiot/core/support/codegen/typedef/rule/status/impl/RuleTriggered"), exports);
@@ -0,0 +1,7 @@
1
+ import { Application } from '../../typedef/app/Application';
2
+ export declare class ApplicationCodec {
3
+ static decodeArray(array: any[]): Application[];
4
+ static decode(o: any): Application;
5
+ static encode(x: Application): any;
6
+ static encodeArray(children: Application[]): any[];
7
+ }
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ApplicationCodec = void 0;
4
+ const Application_1 = require("../../typedef/app/Application");
5
+ const EventReceiverCodec_1 = require("./event/EventReceiverCodec");
6
+ const AuthorizationCodec_1 = require("./authorization/AuthorizationCodec");
7
+ class ApplicationCodec {
8
+ static decodeArray(array) {
9
+ return array
10
+ ? array.map(x => {
11
+ return ApplicationCodec.decode(x);
12
+ })
13
+ : [];
14
+ }
15
+ static decode(o) {
16
+ const app = new Application_1.Application();
17
+ app.appId = o.appId;
18
+ app.name = o.name;
19
+ app.organization = o.organization;
20
+ app.eventReceiver = EventReceiverCodec_1.EventReceiverCodec.decode(o.event);
21
+ app.authorization = AuthorizationCodec_1.AuthorizationCodec.decode(o.authorization);
22
+ app.createBy = o.createBy;
23
+ app.createAt = o.createAt;
24
+ return app;
25
+ }
26
+ static encode(x) {
27
+ const o = {
28
+ appId: x.appId,
29
+ name: x.name,
30
+ organization: x.organization,
31
+ createBy: x.createBy,
32
+ createAt: x.createAt
33
+ };
34
+ if (x.authorization != null) {
35
+ o.authorization = AuthorizationCodec_1.AuthorizationCodec.encode(x.authorization);
36
+ }
37
+ if (x.eventReceiver != null) {
38
+ o.event = EventReceiverCodec_1.EventReceiverCodec.encode(x.eventReceiver);
39
+ }
40
+ return o;
41
+ }
42
+ static encodeArray(children) {
43
+ return children != null
44
+ ? children.map(s => {
45
+ return ApplicationCodec.encode(s);
46
+ })
47
+ : [];
48
+ }
49
+ }
50
+ exports.ApplicationCodec = ApplicationCodec;
@@ -0,0 +1,5 @@
1
+ import { Authorization } from '../../../typedef/app/authorization/Authorization';
2
+ export declare class AuthorizationCodec {
3
+ static decode(o: any): Authorization;
4
+ static encode(x: Authorization): any;
5
+ }
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AuthorizationCodec = void 0;
4
+ const AuthorizationType_1 = require("../../../typedef/app/authorization/AuthorizationType");
5
+ const AuthorizationEventbusImplCodec_1 = require("./impl/AuthorizationEventbusImplCodec");
6
+ const AuthorizationHttpImplCodec_1 = require("./impl/AuthorizationHttpImplCodec");
7
+ const AuthorizationJwtImplCodec_1 = require("./impl/AuthorizationJwtImplCodec");
8
+ const AuthorizationEventbusImpl_1 = require("../../../typedef/app/authorization/impl/AuthorizationEventbusImpl");
9
+ const AuthorizationHttpImpl_1 = require("../../../typedef/app/authorization/impl/AuthorizationHttpImpl");
10
+ const AuthorizationJwtImpl_1 = require("../../../typedef/app/authorization/impl/AuthorizationJwtImpl");
11
+ class AuthorizationCodec {
12
+ static decode(o) {
13
+ const type = (0, AuthorizationType_1.AuthorizationTypeFromString)(o.type);
14
+ switch (type) {
15
+ case AuthorizationType_1.AuthorizationType.EVENTBUS:
16
+ return AuthorizationEventbusImplCodec_1.AuthorizationEventbusImplCodec.decode(o['eventbus']);
17
+ case AuthorizationType_1.AuthorizationType.HTTP:
18
+ return AuthorizationHttpImplCodec_1.AuthorizationHttpImplCodec.decode(o['http']);
19
+ case AuthorizationType_1.AuthorizationType.JWT:
20
+ return AuthorizationJwtImplCodec_1.AuthorizationJwtImplCodec.decode(o['jwt']);
21
+ default:
22
+ throw new Error('Authorization Invalid: ' + o);
23
+ }
24
+ }
25
+ static encode(x) {
26
+ const o = {
27
+ type: x.type.toString()
28
+ };
29
+ if (x instanceof AuthorizationEventbusImpl_1.AuthorizationEventbusImpl) {
30
+ o.eventbus = AuthorizationEventbusImplCodec_1.AuthorizationEventbusImplCodec.encode(x);
31
+ }
32
+ else if (x instanceof AuthorizationHttpImpl_1.AuthorizationHttpImpl) {
33
+ o.http = AuthorizationHttpImplCodec_1.AuthorizationHttpImplCodec.encode(x);
34
+ }
35
+ else if (x instanceof AuthorizationJwtImpl_1.AuthorizationJwtImpl) {
36
+ o.jwt = AuthorizationJwtImplCodec_1.AuthorizationJwtImplCodec.encode(x);
37
+ }
38
+ return o;
39
+ }
40
+ }
41
+ exports.AuthorizationCodec = AuthorizationCodec;
@@ -0,0 +1,5 @@
1
+ import { AuthorizationEventbusImpl } from '../../../../typedef/app/authorization/impl/AuthorizationEventbusImpl';
2
+ export declare class AuthorizationEventbusImplCodec {
3
+ static encode(x: AuthorizationEventbusImpl): any;
4
+ static decode(o: any): AuthorizationEventbusImpl;
5
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AuthorizationEventbusImplCodec = void 0;
4
+ const AuthorizationEventbusImpl_1 = require("../../../../typedef/app/authorization/impl/AuthorizationEventbusImpl");
5
+ class AuthorizationEventbusImplCodec {
6
+ static encode(x) {
7
+ return {
8
+ address: x.address,
9
+ };
10
+ }
11
+ static decode(o) {
12
+ return new AuthorizationEventbusImpl_1.AuthorizationEventbusImpl(o['address']);
13
+ }
14
+ }
15
+ exports.AuthorizationEventbusImplCodec = AuthorizationEventbusImplCodec;
@@ -0,0 +1,5 @@
1
+ import { AuthorizationHttpImpl } from '../../../../typedef/app/authorization/impl/AuthorizationHttpImpl';
2
+ export declare class AuthorizationHttpImplCodec {
3
+ static encode(x: AuthorizationHttpImpl): any;
4
+ static decode(o: any): AuthorizationHttpImpl;
5
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AuthorizationHttpImplCodec = void 0;
4
+ const AuthorizationHttpImpl_1 = require("../../../../typedef/app/authorization/impl/AuthorizationHttpImpl");
5
+ class AuthorizationHttpImplCodec {
6
+ static encode(x) {
7
+ return {
8
+ url: x.url
9
+ };
10
+ }
11
+ static decode(o) {
12
+ return new AuthorizationHttpImpl_1.AuthorizationHttpImpl(o['url']);
13
+ }
14
+ }
15
+ exports.AuthorizationHttpImplCodec = AuthorizationHttpImplCodec;
@@ -0,0 +1,5 @@
1
+ import { AuthorizationJwtImpl } from '../../../../typedef/app/authorization/impl/AuthorizationJwtImpl';
2
+ export declare class AuthorizationJwtImplCodec {
3
+ static encode(x: AuthorizationJwtImpl): any;
4
+ static decode(o: any): AuthorizationJwtImpl;
5
+ }
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AuthorizationJwtImplCodec = void 0;
4
+ const AuthorizationJwtImpl_1 = require("../../../../typedef/app/authorization/impl/AuthorizationJwtImpl");
5
+ const JwtCodec_1 = require("../../../jwt/JwtCodec");
6
+ class AuthorizationJwtImplCodec {
7
+ static encode(x) {
8
+ return JwtCodec_1.JwtCodec.encode(x.jwt);
9
+ }
10
+ static decode(o) {
11
+ return new AuthorizationJwtImpl_1.AuthorizationJwtImpl(JwtCodec_1.JwtCodec.decode(o));
12
+ }
13
+ }
14
+ exports.AuthorizationJwtImplCodec = AuthorizationJwtImplCodec;
@@ -0,0 +1,5 @@
1
+ import { EventReceiver } from '../../../typedef/app/event/EventReceiver';
2
+ export declare class EventReceiverCodec {
3
+ static decode(o: any): EventReceiver;
4
+ static encode(x: EventReceiver): any;
5
+ }
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EventReceiverCodec = void 0;
4
+ const EventReceiverType_1 = require("../../../typedef/app/event/EventReceiverType");
5
+ const EventReceiverEventbusImplCodec_1 = require("./impl/EventReceiverEventbusImplCodec");
6
+ const EventReceiverHttpImplCodec_1 = require("./impl/EventReceiverHttpImplCodec");
7
+ const EventReceiverKafkaImplCodec_1 = require("./impl/EventReceiverKafkaImplCodec");
8
+ const EventReceiverEventbusImpl_1 = require("../../../typedef/app/event/impl/EventReceiverEventbusImpl");
9
+ const EventReceiverHttpImpl_1 = require("../../../typedef/app/event/impl/EventReceiverHttpImpl");
10
+ const EventReceiverKafkaImpl_1 = require("../../../typedef/app/event/impl/EventReceiverKafkaImpl");
11
+ class EventReceiverCodec {
12
+ static decode(o) {
13
+ const type = (0, EventReceiverType_1.EventReceiverTypeFromString)(o.type);
14
+ switch (type) {
15
+ case EventReceiverType_1.EventReceiverType.EVENTBUS:
16
+ return EventReceiverEventbusImplCodec_1.EventReceiverEventbusImplCodec.decode(o['eventbus']);
17
+ case EventReceiverType_1.EventReceiverType.HTTP:
18
+ return EventReceiverHttpImplCodec_1.EventReceiverHttpImplCodec.decode(o['http']);
19
+ case EventReceiverType_1.EventReceiverType.KAFKA:
20
+ return EventReceiverKafkaImplCodec_1.EventReceiverKafkaImplCodec.decode(o['kafka']);
21
+ default:
22
+ throw new Error('EventReceiver Invalid: ' + o);
23
+ }
24
+ }
25
+ static encode(x) {
26
+ const o = {
27
+ type: x.type.toString()
28
+ };
29
+ if (x instanceof EventReceiverEventbusImpl_1.EventReceiverEventbusImpl) {
30
+ o.eventbus = EventReceiverEventbusImplCodec_1.EventReceiverEventbusImplCodec.encode(x);
31
+ }
32
+ else if (x instanceof EventReceiverHttpImpl_1.EventReceiverHttpImpl) {
33
+ o.http = EventReceiverHttpImplCodec_1.EventReceiverHttpImplCodec.encode(x);
34
+ }
35
+ else if (x instanceof EventReceiverKafkaImpl_1.EventReceiverKafkaImpl) {
36
+ o.kafka = EventReceiverKafkaImplCodec_1.EventReceiverKafkaImplCodec.encode(x);
37
+ }
38
+ return o;
39
+ }
40
+ }
41
+ exports.EventReceiverCodec = EventReceiverCodec;
@@ -0,0 +1,5 @@
1
+ import { EventReceiverEventbusImpl } from '../../../../typedef/app/event/impl/EventReceiverEventbusImpl';
2
+ export declare class EventReceiverEventbusImplCodec {
3
+ static encode(x: EventReceiverEventbusImpl): any;
4
+ static decode(o: any): EventReceiverEventbusImpl;
5
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EventReceiverEventbusImplCodec = void 0;
4
+ const EventReceiverEventbusImpl_1 = require("../../../../typedef/app/event/impl/EventReceiverEventbusImpl");
5
+ class EventReceiverEventbusImplCodec {
6
+ static encode(x) {
7
+ return {
8
+ address: x.address,
9
+ };
10
+ }
11
+ static decode(o) {
12
+ return new EventReceiverEventbusImpl_1.EventReceiverEventbusImpl(o['address']);
13
+ }
14
+ }
15
+ exports.EventReceiverEventbusImplCodec = EventReceiverEventbusImplCodec;
@@ -0,0 +1,5 @@
1
+ import { EventReceiverHttpImpl } from '../../../../typedef/app/event/impl/EventReceiverHttpImpl';
2
+ export declare class EventReceiverHttpImplCodec {
3
+ static encode(x: EventReceiverHttpImpl): any;
4
+ static decode(o: any): EventReceiverHttpImpl;
5
+ }