@dcl/protocol 1.0.0-10043247792.commit-428d1eb

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 (473) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +69 -0
  3. package/out-js/about.gen.d.ts +1 -0
  4. package/out-js/about.gen.js +6 -0
  5. package/out-js/about.gen.js.map +1 -0
  6. package/out-js/comms.gen.d.ts +1 -0
  7. package/out-js/comms.gen.js +6 -0
  8. package/out-js/comms.gen.js.map +1 -0
  9. package/out-js/decentraland/common/border_rect.gen.d.ts +49 -0
  10. package/out-js/decentraland/common/border_rect.gen.js +201 -0
  11. package/out-js/decentraland/common/border_rect.gen.js.map +1 -0
  12. package/out-js/decentraland/common/colors.gen.d.ts +46 -0
  13. package/out-js/decentraland/common/colors.gen.js +189 -0
  14. package/out-js/decentraland/common/colors.gen.js.map +1 -0
  15. package/out-js/decentraland/common/content_mapping.gen.d.ts +31 -0
  16. package/out-js/decentraland/common/content_mapping.gen.js +80 -0
  17. package/out-js/decentraland/common/content_mapping.gen.js.map +1 -0
  18. package/out-js/decentraland/common/sdk/user_data.gen.d.ts +63 -0
  19. package/out-js/decentraland/common/sdk/user_data.gen.js +330 -0
  20. package/out-js/decentraland/common/sdk/user_data.gen.js.map +1 -0
  21. package/out-js/decentraland/common/texture.gen.d.ts +100 -0
  22. package/out-js/decentraland/common/texture.gen.js +446 -0
  23. package/out-js/decentraland/common/texture.gen.js.map +1 -0
  24. package/out-js/decentraland/common/vectors.gen.d.ts +71 -0
  25. package/out-js/decentraland/common/vectors.gen.js +338 -0
  26. package/out-js/decentraland/common/vectors.gen.js.map +1 -0
  27. package/out-js/decentraland/kernel/apis/comms_api.gen.d.ts +76 -0
  28. package/out-js/decentraland/kernel/apis/comms_api.gen.js +257 -0
  29. package/out-js/decentraland/kernel/apis/comms_api.gen.js.map +1 -0
  30. package/out-js/decentraland/kernel/apis/communications_controller.gen.d.ts +89 -0
  31. package/out-js/decentraland/kernel/apis/communications_controller.gen.js +301 -0
  32. package/out-js/decentraland/kernel/apis/communications_controller.gen.js.map +1 -0
  33. package/out-js/decentraland/kernel/apis/dev_tools.gen.d.ts +58 -0
  34. package/out-js/decentraland/kernel/apis/dev_tools.gen.js +142 -0
  35. package/out-js/decentraland/kernel/apis/dev_tools.gen.js.map +1 -0
  36. package/out-js/decentraland/kernel/apis/engine_api.gen.d.ts +338 -0
  37. package/out-js/decentraland/kernel/apis/engine_api.gen.js +1452 -0
  38. package/out-js/decentraland/kernel/apis/engine_api.gen.js.map +1 -0
  39. package/out-js/decentraland/kernel/apis/environment_api.gen.d.ts +283 -0
  40. package/out-js/decentraland/kernel/apis/environment_api.gen.js +1122 -0
  41. package/out-js/decentraland/kernel/apis/environment_api.gen.js.map +1 -0
  42. package/out-js/decentraland/kernel/apis/ethereum_controller.gen.d.ts +225 -0
  43. package/out-js/decentraland/kernel/apis/ethereum_controller.gen.js +878 -0
  44. package/out-js/decentraland/kernel/apis/ethereum_controller.gen.js.map +1 -0
  45. package/out-js/decentraland/kernel/apis/parcel_identity.gen.d.ts +146 -0
  46. package/out-js/decentraland/kernel/apis/parcel_identity.gen.js +557 -0
  47. package/out-js/decentraland/kernel/apis/parcel_identity.gen.js.map +1 -0
  48. package/out-js/decentraland/kernel/apis/permissions.gen.d.ts +100 -0
  49. package/out-js/decentraland/kernel/apis/permissions.gen.js +360 -0
  50. package/out-js/decentraland/kernel/apis/permissions.gen.js.map +1 -0
  51. package/out-js/decentraland/kernel/apis/players.gen.d.ts +127 -0
  52. package/out-js/decentraland/kernel/apis/players.gen.js +372 -0
  53. package/out-js/decentraland/kernel/apis/players.gen.js.map +1 -0
  54. package/out-js/decentraland/kernel/apis/portable_experiences.gen.d.ts +178 -0
  55. package/out-js/decentraland/kernel/apis/portable_experiences.gen.js +607 -0
  56. package/out-js/decentraland/kernel/apis/portable_experiences.gen.js.map +1 -0
  57. package/out-js/decentraland/kernel/apis/restricted_actions.gen.d.ts +244 -0
  58. package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +824 -0
  59. package/out-js/decentraland/kernel/apis/restricted_actions.gen.js.map +1 -0
  60. package/out-js/decentraland/kernel/apis/runtime.gen.d.ts +217 -0
  61. package/out-js/decentraland/kernel/apis/runtime.gen.js +801 -0
  62. package/out-js/decentraland/kernel/apis/runtime.gen.js.map +1 -0
  63. package/out-js/decentraland/kernel/apis/scene.gen.d.ts +59 -0
  64. package/out-js/decentraland/kernel/apis/scene.gen.js +171 -0
  65. package/out-js/decentraland/kernel/apis/scene.gen.js.map +1 -0
  66. package/out-js/decentraland/kernel/apis/signed_fetch.gen.d.ts +139 -0
  67. package/out-js/decentraland/kernel/apis/signed_fetch.gen.js +615 -0
  68. package/out-js/decentraland/kernel/apis/signed_fetch.gen.js.map +1 -0
  69. package/out-js/decentraland/kernel/apis/social_controller.gen.d.ts +72 -0
  70. package/out-js/decentraland/kernel/apis/social_controller.gen.js +207 -0
  71. package/out-js/decentraland/kernel/apis/social_controller.gen.js.map +1 -0
  72. package/out-js/decentraland/kernel/apis/testing.gen.d.ts +249 -0
  73. package/out-js/decentraland/kernel/apis/testing.gen.js +1073 -0
  74. package/out-js/decentraland/kernel/apis/testing.gen.js.map +1 -0
  75. package/out-js/decentraland/kernel/apis/user_action_module.gen.d.ts +56 -0
  76. package/out-js/decentraland/kernel/apis/user_action_module.gen.js +128 -0
  77. package/out-js/decentraland/kernel/apis/user_action_module.gen.js.map +1 -0
  78. package/out-js/decentraland/kernel/apis/user_identity.gen.d.ts +86 -0
  79. package/out-js/decentraland/kernel/apis/user_identity.gen.js +236 -0
  80. package/out-js/decentraland/kernel/apis/user_identity.gen.js.map +1 -0
  81. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.d.ts +213 -0
  82. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js +1282 -0
  83. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js.map +1 -0
  84. package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.d.ts +183 -0
  85. package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js +906 -0
  86. package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js.map +1 -0
  87. package/out-js/decentraland/kernel/comms/v3/archipelago.gen.d.ts +224 -0
  88. package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js +1204 -0
  89. package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js.map +1 -0
  90. package/out-js/decentraland/quests/definitions.gen.d.ts +541 -0
  91. package/out-js/decentraland/quests/definitions.gen.js +2728 -0
  92. package/out-js/decentraland/quests/definitions.gen.js.map +1 -0
  93. package/out-js/decentraland/realm/about.gen.d.ts +150 -0
  94. package/out-js/decentraland/realm/about.gen.js +914 -0
  95. package/out-js/decentraland/realm/about.gen.js.map +1 -0
  96. package/out-js/decentraland/sdk/components/animator.gen.d.ts +62 -0
  97. package/out-js/decentraland/sdk/components/animator.gen.js +192 -0
  98. package/out-js/decentraland/sdk/components/animator.gen.js.map +1 -0
  99. package/out-js/decentraland/sdk/components/audio_source.gen.d.ts +61 -0
  100. package/out-js/decentraland/sdk/components/audio_source.gen.js +151 -0
  101. package/out-js/decentraland/sdk/components/audio_source.gen.js.map +1 -0
  102. package/out-js/decentraland/sdk/components/audio_stream.gen.d.ts +40 -0
  103. package/out-js/decentraland/sdk/components/audio_stream.gen.js +95 -0
  104. package/out-js/decentraland/sdk/components/audio_stream.gen.js.map +1 -0
  105. package/out-js/decentraland/sdk/components/avatar_attach.gen.d.ts +76 -0
  106. package/out-js/decentraland/sdk/components/avatar_attach.gen.js +262 -0
  107. package/out-js/decentraland/sdk/components/avatar_attach.gen.js.map +1 -0
  108. package/out-js/decentraland/sdk/components/avatar_base.gen.d.ts +36 -0
  109. package/out-js/decentraland/sdk/components/avatar_base.gen.js +129 -0
  110. package/out-js/decentraland/sdk/components/avatar_base.gen.js.map +1 -0
  111. package/out-js/decentraland/sdk/components/avatar_emote_command.gen.d.ts +37 -0
  112. package/out-js/decentraland/sdk/components/avatar_emote_command.gen.js +95 -0
  113. package/out-js/decentraland/sdk/components/avatar_emote_command.gen.js.map +1 -0
  114. package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.d.ts +36 -0
  115. package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js +90 -0
  116. package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js.map +1 -0
  117. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.d.ts +60 -0
  118. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js +153 -0
  119. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js.map +1 -0
  120. package/out-js/decentraland/sdk/components/avatar_shape.gen.d.ts +72 -0
  121. package/out-js/decentraland/sdk/components/avatar_shape.gen.js +251 -0
  122. package/out-js/decentraland/sdk/components/avatar_shape.gen.js.map +1 -0
  123. package/out-js/decentraland/sdk/components/billboard.gen.d.ts +54 -0
  124. package/out-js/decentraland/sdk/components/billboard.gen.js +128 -0
  125. package/out-js/decentraland/sdk/components/billboard.gen.js.map +1 -0
  126. package/out-js/decentraland/sdk/components/camera_mode.gen.d.ts +36 -0
  127. package/out-js/decentraland/sdk/components/camera_mode.gen.js +70 -0
  128. package/out-js/decentraland/sdk/components/camera_mode.gen.js.map +1 -0
  129. package/out-js/decentraland/sdk/components/camera_mode_area.gen.d.ts +48 -0
  130. package/out-js/decentraland/sdk/components/camera_mode_area.gen.js +85 -0
  131. package/out-js/decentraland/sdk/components/camera_mode_area.gen.js.map +1 -0
  132. package/out-js/decentraland/sdk/components/common/camera_type.gen.d.ts +10 -0
  133. package/out-js/decentraland/sdk/components/common/camera_type.gen.js +46 -0
  134. package/out-js/decentraland/sdk/components/common/camera_type.gen.js.map +1 -0
  135. package/out-js/decentraland/sdk/components/common/id.gen.d.ts +1 -0
  136. package/out-js/decentraland/sdk/components/common/id.gen.js +6 -0
  137. package/out-js/decentraland/sdk/components/common/id.gen.js.map +1 -0
  138. package/out-js/decentraland/sdk/components/common/input_action.gen.d.ts +30 -0
  139. package/out-js/decentraland/sdk/components/common/input_action.gen.js +157 -0
  140. package/out-js/decentraland/sdk/components/common/input_action.gen.js.map +1 -0
  141. package/out-js/decentraland/sdk/components/common/loading_state.gen.d.ts +11 -0
  142. package/out-js/decentraland/sdk/components/common/loading_state.gen.js +57 -0
  143. package/out-js/decentraland/sdk/components/common/loading_state.gen.js.map +1 -0
  144. package/out-js/decentraland/sdk/components/common/raycast_hit.gen.d.ts +45 -0
  145. package/out-js/decentraland/sdk/components/common/raycast_hit.gen.js +163 -0
  146. package/out-js/decentraland/sdk/components/common/raycast_hit.gen.js.map +1 -0
  147. package/out-js/decentraland/sdk/components/common/texts.gen.d.ts +23 -0
  148. package/out-js/decentraland/sdk/components/common/texts.gen.js +120 -0
  149. package/out-js/decentraland/sdk/components/common/texts.gen.js.map +1 -0
  150. package/out-js/decentraland/sdk/components/engine_info.gen.d.ts +41 -0
  151. package/out-js/decentraland/sdk/components/engine_info.gen.js +95 -0
  152. package/out-js/decentraland/sdk/components/engine_info.gen.js.map +1 -0
  153. package/out-js/decentraland/sdk/components/gltf_container.gen.d.ts +41 -0
  154. package/out-js/decentraland/sdk/components/gltf_container.gen.js +101 -0
  155. package/out-js/decentraland/sdk/components/gltf_container.gen.js.map +1 -0
  156. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.d.ts +35 -0
  157. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js +70 -0
  158. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js.map +1 -0
  159. package/out-js/decentraland/sdk/components/material.gen.d.ts +106 -0
  160. package/out-js/decentraland/sdk/components/material.gen.js +515 -0
  161. package/out-js/decentraland/sdk/components/material.gen.js.map +1 -0
  162. package/out-js/decentraland/sdk/components/mesh_collider.gen.d.ts +128 -0
  163. package/out-js/decentraland/sdk/components/mesh_collider.gen.js +469 -0
  164. package/out-js/decentraland/sdk/components/mesh_collider.gen.js.map +1 -0
  165. package/out-js/decentraland/sdk/components/mesh_renderer.gen.d.ts +104 -0
  166. package/out-js/decentraland/sdk/components/mesh_renderer.gen.js +382 -0
  167. package/out-js/decentraland/sdk/components/mesh_renderer.gen.js.map +1 -0
  168. package/out-js/decentraland/sdk/components/nft_shape.gen.d.ts +74 -0
  169. package/out-js/decentraland/sdk/components/nft_shape.gen.js +259 -0
  170. package/out-js/decentraland/sdk/components/nft_shape.gen.js.map +1 -0
  171. package/out-js/decentraland/sdk/components/player_identity_data.gen.d.ts +37 -0
  172. package/out-js/decentraland/sdk/components/player_identity_data.gen.js +83 -0
  173. package/out-js/decentraland/sdk/components/player_identity_data.gen.js.map +1 -0
  174. package/out-js/decentraland/sdk/components/pointer_events.gen.d.ts +79 -0
  175. package/out-js/decentraland/sdk/components/pointer_events.gen.js +247 -0
  176. package/out-js/decentraland/sdk/components/pointer_events.gen.js.map +1 -0
  177. package/out-js/decentraland/sdk/components/pointer_events_result.gen.d.ts +42 -0
  178. package/out-js/decentraland/sdk/components/pointer_events_result.gen.js +133 -0
  179. package/out-js/decentraland/sdk/components/pointer_events_result.gen.js.map +1 -0
  180. package/out-js/decentraland/sdk/components/pointer_lock.gen.d.ts +35 -0
  181. package/out-js/decentraland/sdk/components/pointer_lock.gen.js +69 -0
  182. package/out-js/decentraland/sdk/components/pointer_lock.gen.js.map +1 -0
  183. package/out-js/decentraland/sdk/components/raycast.gen.d.ts +79 -0
  184. package/out-js/decentraland/sdk/components/raycast.gen.js +274 -0
  185. package/out-js/decentraland/sdk/components/raycast.gen.js.map +1 -0
  186. package/out-js/decentraland/sdk/components/raycast_result.gen.d.ts +48 -0
  187. package/out-js/decentraland/sdk/components/raycast_result.gen.js +132 -0
  188. package/out-js/decentraland/sdk/components/raycast_result.gen.js.map +1 -0
  189. package/out-js/decentraland/sdk/components/realm_info.gen.d.ts +35 -0
  190. package/out-js/decentraland/sdk/components/realm_info.gen.js +131 -0
  191. package/out-js/decentraland/sdk/components/realm_info.gen.js.map +1 -0
  192. package/out-js/decentraland/sdk/components/text_shape.gen.d.ts +81 -0
  193. package/out-js/decentraland/sdk/components/text_shape.gen.js +345 -0
  194. package/out-js/decentraland/sdk/components/text_shape.gen.js.map +1 -0
  195. package/out-js/decentraland/sdk/components/tween.gen.d.ts +125 -0
  196. package/out-js/decentraland/sdk/components/tween.gen.js +598 -0
  197. package/out-js/decentraland/sdk/components/tween.gen.js.map +1 -0
  198. package/out-js/decentraland/sdk/components/tween_sequence.gen.d.ts +39 -0
  199. package/out-js/decentraland/sdk/components/tween_sequence.gen.js +122 -0
  200. package/out-js/decentraland/sdk/components/tween_sequence.gen.js.map +1 -0
  201. package/out-js/decentraland/sdk/components/tween_state.gen.d.ts +40 -0
  202. package/out-js/decentraland/sdk/components/tween_state.gen.js +122 -0
  203. package/out-js/decentraland/sdk/components/tween_state.gen.js.map +1 -0
  204. package/out-js/decentraland/sdk/components/ui_background.gen.d.ts +63 -0
  205. package/out-js/decentraland/sdk/components/ui_background.gen.js +197 -0
  206. package/out-js/decentraland/sdk/components/ui_background.gen.js.map +1 -0
  207. package/out-js/decentraland/sdk/components/ui_dropdown.gen.d.ts +45 -0
  208. package/out-js/decentraland/sdk/components/ui_dropdown.gen.js +187 -0
  209. package/out-js/decentraland/sdk/components/ui_dropdown.gen.js.map +1 -0
  210. package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.d.ts +30 -0
  211. package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js +69 -0
  212. package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js.map +1 -0
  213. package/out-js/decentraland/sdk/components/ui_input.gen.d.ts +44 -0
  214. package/out-js/decentraland/sdk/components/ui_input.gen.js +172 -0
  215. package/out-js/decentraland/sdk/components/ui_input.gen.js.map +1 -0
  216. package/out-js/decentraland/sdk/components/ui_input_result.gen.d.ts +32 -0
  217. package/out-js/decentraland/sdk/components/ui_input_result.gen.js +83 -0
  218. package/out-js/decentraland/sdk/components/ui_input_result.gen.js.map +1 -0
  219. package/out-js/decentraland/sdk/components/ui_text.gen.d.ts +50 -0
  220. package/out-js/decentraland/sdk/components/ui_text.gen.js +177 -0
  221. package/out-js/decentraland/sdk/components/ui_text.gen.js.map +1 -0
  222. package/out-js/decentraland/sdk/components/ui_transform.gen.d.ts +204 -0
  223. package/out-js/decentraland/sdk/components/ui_transform.gen.js +1210 -0
  224. package/out-js/decentraland/sdk/components/ui_transform.gen.js.map +1 -0
  225. package/out-js/decentraland/sdk/components/video_player.gen.d.ts +41 -0
  226. package/out-js/decentraland/sdk/components/video_player.gen.js +138 -0
  227. package/out-js/decentraland/sdk/components/video_player.gen.js.map +1 -0
  228. package/out-js/decentraland/sdk/components/visibility_component.gen.d.ts +31 -0
  229. package/out-js/decentraland/sdk/components/visibility_component.gen.js +69 -0
  230. package/out-js/decentraland/sdk/components/visibility_component.gen.js.map +1 -0
  231. package/out-js/decentraland/sdk/development/local_development.gen.d.ts +70 -0
  232. package/out-js/decentraland/sdk/development/local_development.gen.js +283 -0
  233. package/out-js/decentraland/sdk/development/local_development.gen.js.map +1 -0
  234. package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.d.ts +1005 -0
  235. package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.js +7842 -0
  236. package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.js.map +1 -0
  237. package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.d.ts +398 -0
  238. package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.js +2512 -0
  239. package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.js.map +1 -0
  240. package/out-js/decentraland/social/friendships/friendships.gen.d.ts +500 -0
  241. package/out-js/decentraland/social/friendships/friendships.gen.js +2517 -0
  242. package/out-js/decentraland/social/friendships/friendships.gen.js.map +1 -0
  243. package/out-js/decentraland/social_service_v2/social_service.gen.d.ts +357 -0
  244. package/out-js/decentraland/social_service_v2/social_service.gen.js +1554 -0
  245. package/out-js/decentraland/social_service_v2/social_service.gen.js.map +1 -0
  246. package/out-js/google/protobuf/descriptor.gen.d.ts +436 -0
  247. package/out-js/google/protobuf/descriptor.gen.js +3173 -0
  248. package/out-js/google/protobuf/descriptor.gen.js.map +1 -0
  249. package/out-js/google/protobuf/empty.gen.d.ts +38 -0
  250. package/out-js/google/protobuf/empty.gen.js +54 -0
  251. package/out-js/google/protobuf/empty.gen.js.map +1 -0
  252. package/out-js/quests.gen.d.ts +1 -0
  253. package/out-js/quests.gen.js +6 -0
  254. package/out-js/quests.gen.js.map +1 -0
  255. package/out-js/sdk-apis.gen.d.ts +1 -0
  256. package/out-js/sdk-apis.gen.js +6 -0
  257. package/out-js/sdk-apis.gen.js.map +1 -0
  258. package/out-js/sdk-components.gen.d.ts +1 -0
  259. package/out-js/sdk-components.gen.js +6 -0
  260. package/out-js/sdk-components.gen.js.map +1 -0
  261. package/out-js/sdk-development.gen.d.ts +1 -0
  262. package/out-js/sdk-development.gen.js +6 -0
  263. package/out-js/sdk-development.gen.js.map +1 -0
  264. package/out-js/social.gen.d.ts +1 -0
  265. package/out-js/social.gen.js +6 -0
  266. package/out-js/social.gen.js.map +1 -0
  267. package/out-js/social_service_v2.gen.d.ts +1 -0
  268. package/out-js/social_service_v2.gen.js +6 -0
  269. package/out-js/social_service_v2.gen.js.map +1 -0
  270. package/out-ts/about.gen.ts +3 -0
  271. package/out-ts/comms.gen.ts +3 -0
  272. package/out-ts/decentraland/common/border_rect.gen.ts +230 -0
  273. package/out-ts/decentraland/common/colors.gen.ts +214 -0
  274. package/out-ts/decentraland/common/content_mapping.gen.ts +93 -0
  275. package/out-ts/decentraland/common/sdk/user_data.gen.ts +370 -0
  276. package/out-ts/decentraland/common/texture.gen.ts +500 -0
  277. package/out-ts/decentraland/common/vectors.gen.ts +377 -0
  278. package/out-ts/decentraland/kernel/apis/comms_api.gen.ts +295 -0
  279. package/out-ts/decentraland/kernel/apis/communications_controller.gen.ts +327 -0
  280. package/out-ts/decentraland/kernel/apis/dev_tools.gen.ts +161 -0
  281. package/out-ts/decentraland/kernel/apis/engine_api.gen.ts +1587 -0
  282. package/out-ts/decentraland/kernel/apis/environment_api.gen.ts +1264 -0
  283. package/out-ts/decentraland/kernel/apis/ethereum_controller.gen.ts +982 -0
  284. package/out-ts/decentraland/kernel/apis/parcel_identity.gen.ts +608 -0
  285. package/out-ts/decentraland/kernel/apis/permissions.gen.ts +397 -0
  286. package/out-ts/decentraland/kernel/apis/players.gen.ts +415 -0
  287. package/out-ts/decentraland/kernel/apis/portable_experiences.gen.ts +668 -0
  288. package/out-ts/decentraland/kernel/apis/restricted_actions.gen.ts +895 -0
  289. package/out-ts/decentraland/kernel/apis/runtime.gen.ts +911 -0
  290. package/out-ts/decentraland/kernel/apis/scene.gen.ts +192 -0
  291. package/out-ts/decentraland/kernel/apis/signed_fetch.gen.ts +691 -0
  292. package/out-ts/decentraland/kernel/apis/social_controller.gen.ts +230 -0
  293. package/out-ts/decentraland/kernel/apis/testing.gen.ts +1270 -0
  294. package/out-ts/decentraland/kernel/apis/user_action_module.gen.ts +146 -0
  295. package/out-ts/decentraland/kernel/apis/user_identity.gen.ts +264 -0
  296. package/out-ts/decentraland/kernel/comms/rfc4/comms.gen.ts +1440 -0
  297. package/out-ts/decentraland/kernel/comms/rfc5/ws_comms.gen.ts +1029 -0
  298. package/out-ts/decentraland/kernel/comms/v3/archipelago.gen.ts +1338 -0
  299. package/out-ts/decentraland/quests/definitions.gen.ts +3020 -0
  300. package/out-ts/decentraland/realm/about.gen.ts +1062 -0
  301. package/out-ts/decentraland/sdk/components/animator.gen.ts +240 -0
  302. package/out-ts/decentraland/sdk/components/audio_source.gen.ts +209 -0
  303. package/out-ts/decentraland/sdk/components/audio_stream.gen.ts +122 -0
  304. package/out-ts/decentraland/sdk/components/avatar_attach.gen.ts +289 -0
  305. package/out-ts/decentraland/sdk/components/avatar_base.gen.ts +149 -0
  306. package/out-ts/decentraland/sdk/components/avatar_emote_command.gen.ts +115 -0
  307. package/out-ts/decentraland/sdk/components/avatar_equipped_data.gen.ts +105 -0
  308. package/out-ts/decentraland/sdk/components/avatar_modifier_area.gen.ts +188 -0
  309. package/out-ts/decentraland/sdk/components/avatar_shape.gen.ts +333 -0
  310. package/out-ts/decentraland/sdk/components/billboard.gen.ts +148 -0
  311. package/out-ts/decentraland/sdk/components/camera_mode.gen.ts +86 -0
  312. package/out-ts/decentraland/sdk/components/camera_mode_area.gen.ts +115 -0
  313. package/out-ts/decentraland/sdk/components/common/camera_type.gen.ts +43 -0
  314. package/out-ts/decentraland/sdk/components/common/id.gen.ts +3 -0
  315. package/out-ts/decentraland/sdk/components/common/input_action.gen.ts +154 -0
  316. package/out-ts/decentraland/sdk/components/common/loading_state.gen.ts +54 -0
  317. package/out-ts/decentraland/sdk/components/common/raycast_hit.gen.ts +204 -0
  318. package/out-ts/decentraland/sdk/components/common/texts.gen.ts +117 -0
  319. package/out-ts/decentraland/sdk/components/engine_info.gen.ts +119 -0
  320. package/out-ts/decentraland/sdk/components/gltf_container.gen.ts +127 -0
  321. package/out-ts/decentraland/sdk/components/gltf_container_loading_state.gen.ts +89 -0
  322. package/out-ts/decentraland/sdk/components/material.gen.ts +629 -0
  323. package/out-ts/decentraland/sdk/components/mesh_collider.gen.ts +534 -0
  324. package/out-ts/decentraland/sdk/components/mesh_renderer.gen.ts +454 -0
  325. package/out-ts/decentraland/sdk/components/nft_shape.gen.ts +288 -0
  326. package/out-ts/decentraland/sdk/components/player_identity_data.gen.ts +102 -0
  327. package/out-ts/decentraland/sdk/components/pointer_events.gen.ts +310 -0
  328. package/out-ts/decentraland/sdk/components/pointer_events_result.gen.ts +170 -0
  329. package/out-ts/decentraland/sdk/components/pointer_lock.gen.ts +85 -0
  330. package/out-ts/decentraland/sdk/components/raycast.gen.ts +333 -0
  331. package/out-ts/decentraland/sdk/components/raycast_result.gen.ts +168 -0
  332. package/out-ts/decentraland/sdk/components/realm_info.gen.ts +152 -0
  333. package/out-ts/decentraland/sdk/components/text_shape.gen.ts +470 -0
  334. package/out-ts/decentraland/sdk/components/tween.gen.ts +648 -0
  335. package/out-ts/decentraland/sdk/components/tween_sequence.gen.ts +134 -0
  336. package/out-ts/decentraland/sdk/components/tween_state.gen.ts +136 -0
  337. package/out-ts/decentraland/sdk/components/ui_background.gen.ts +223 -0
  338. package/out-ts/decentraland/sdk/components/ui_dropdown.gen.ts +231 -0
  339. package/out-ts/decentraland/sdk/components/ui_dropdown_result.gen.ts +80 -0
  340. package/out-ts/decentraland/sdk/components/ui_input.gen.ts +215 -0
  341. package/out-ts/decentraland/sdk/components/ui_input_result.gen.ts +97 -0
  342. package/out-ts/decentraland/sdk/components/ui_text.gen.ts +219 -0
  343. package/out-ts/decentraland/sdk/components/ui_transform.gen.ts +1361 -0
  344. package/out-ts/decentraland/sdk/components/video_player.gen.ts +173 -0
  345. package/out-ts/decentraland/sdk/components/visibility_component.gen.ts +83 -0
  346. package/out-ts/decentraland/sdk/development/local_development.gen.ts +316 -0
  347. package/out-ts/decentraland/sdk/ecs6/components_ecs6.gen.ts +8957 -0
  348. package/out-ts/decentraland/sdk/ecs6/engine_interface_ecs6.gen.ts +2886 -0
  349. package/out-ts/decentraland/social/friendships/friendships.gen.ts +2798 -0
  350. package/out-ts/decentraland/social_service_v2/social_service.gen.ts +1709 -0
  351. package/out-ts/google/protobuf/descriptor.gen.ts +3470 -0
  352. package/out-ts/google/protobuf/empty.gen.ts +72 -0
  353. package/out-ts/quests.gen.ts +3 -0
  354. package/out-ts/sdk-apis.gen.ts +3 -0
  355. package/out-ts/sdk-components.gen.ts +3 -0
  356. package/out-ts/sdk-development.gen.ts +3 -0
  357. package/out-ts/social.gen.ts +3 -0
  358. package/out-ts/social_service_v2.gen.ts +3 -0
  359. package/package.json +33 -0
  360. package/proto/buf.yaml +47 -0
  361. package/proto/decentraland/common/border_rect.proto +18 -0
  362. package/proto/decentraland/common/colors.proto +15 -0
  363. package/proto/decentraland/common/content_mapping.proto +7 -0
  364. package/proto/decentraland/common/entity.proto +13 -0
  365. package/proto/decentraland/common/sdk/user_data.proto +25 -0
  366. package/proto/decentraland/common/texture.proto +40 -0
  367. package/proto/decentraland/common/vectors.proto +26 -0
  368. package/proto/decentraland/kernel/apis/comms_api.proto +25 -0
  369. package/proto/decentraland/kernel/apis/communications_controller.proto +23 -0
  370. package/proto/decentraland/kernel/apis/dev_tools.proto +15 -0
  371. package/proto/decentraland/kernel/apis/engine_api.proto +118 -0
  372. package/proto/decentraland/kernel/apis/environment_api.proto +76 -0
  373. package/proto/decentraland/kernel/apis/ethereum_controller.proto +64 -0
  374. package/proto/decentraland/kernel/apis/parcel_identity.proto +43 -0
  375. package/proto/decentraland/kernel/apis/permissions.proto +36 -0
  376. package/proto/decentraland/kernel/apis/players.proto +35 -0
  377. package/proto/decentraland/kernel/apis/portable_experiences.proto +55 -0
  378. package/proto/decentraland/kernel/apis/restricted_actions.proto +78 -0
  379. package/proto/decentraland/kernel/apis/runtime.proto +71 -0
  380. package/proto/decentraland/kernel/apis/scene.proto +16 -0
  381. package/proto/decentraland/kernel/apis/signed_fetch.proto +33 -0
  382. package/proto/decentraland/kernel/apis/social_controller.proto +19 -0
  383. package/proto/decentraland/kernel/apis/testing.proto +100 -0
  384. package/proto/decentraland/kernel/apis/user_action_module.proto +13 -0
  385. package/proto/decentraland/kernel/apis/user_identity.proto +22 -0
  386. package/proto/decentraland/kernel/comms/rfc4/comms.proto +110 -0
  387. package/proto/decentraland/kernel/comms/rfc5/ws_comms.proto +104 -0
  388. package/proto/decentraland/kernel/comms/v1/broker.proto +114 -0
  389. package/proto/decentraland/kernel/comms/v1/comms.proto +68 -0
  390. package/proto/decentraland/kernel/comms/v2/comms.proto +61 -0
  391. package/proto/decentraland/kernel/comms/v3/archipelago.proto +86 -0
  392. package/proto/decentraland/kernel/comms/v3/comms.proto +64 -0
  393. package/proto/decentraland/quests/definitions.proto +185 -0
  394. package/proto/decentraland/realm/about.proto +73 -0
  395. package/proto/decentraland/sdk/components/README.md +32 -0
  396. package/proto/decentraland/sdk/components/Transform.md +25 -0
  397. package/proto/decentraland/sdk/components/animator.proto +31 -0
  398. package/proto/decentraland/sdk/components/audio_event.proto +12 -0
  399. package/proto/decentraland/sdk/components/audio_source.proto +31 -0
  400. package/proto/decentraland/sdk/components/audio_stream.proto +14 -0
  401. package/proto/decentraland/sdk/components/avatar_attach.proto +51 -0
  402. package/proto/decentraland/sdk/components/avatar_base.proto +15 -0
  403. package/proto/decentraland/sdk/components/avatar_emote_command.proto +13 -0
  404. package/proto/decentraland/sdk/components/avatar_equipped_data.proto +13 -0
  405. package/proto/decentraland/sdk/components/avatar_modifier_area.proto +32 -0
  406. package/proto/decentraland/sdk/components/avatar_shape.proto +42 -0
  407. package/proto/decentraland/sdk/components/billboard.proto +29 -0
  408. package/proto/decentraland/sdk/components/camera_mode.proto +12 -0
  409. package/proto/decentraland/sdk/components/camera_mode_area.proto +25 -0
  410. package/proto/decentraland/sdk/components/common/camera_type.proto +9 -0
  411. package/proto/decentraland/sdk/components/common/id.md +2 -0
  412. package/proto/decentraland/sdk/components/common/id.proto +8 -0
  413. package/proto/decentraland/sdk/components/common/input_action.proto +28 -0
  414. package/proto/decentraland/sdk/components/common/loading_state.proto +10 -0
  415. package/proto/decentraland/sdk/components/common/media_state.proto +13 -0
  416. package/proto/decentraland/sdk/components/common/raycast_hit.proto +16 -0
  417. package/proto/decentraland/sdk/components/common/texts.proto +21 -0
  418. package/proto/decentraland/sdk/components/engine_info.proto +15 -0
  419. package/proto/decentraland/sdk/components/gltf_container.proto +19 -0
  420. package/proto/decentraland/sdk/components/gltf_container_loading_state.proto +13 -0
  421. package/proto/decentraland/sdk/components/material.proto +57 -0
  422. package/proto/decentraland/sdk/components/mesh_collider.proto +62 -0
  423. package/proto/decentraland/sdk/components/mesh_renderer.proto +43 -0
  424. package/proto/decentraland/sdk/components/nft_shape.proto +48 -0
  425. package/proto/decentraland/sdk/components/player_identity_data.proto +13 -0
  426. package/proto/decentraland/sdk/components/pointer_events.proto +37 -0
  427. package/proto/decentraland/sdk/components/pointer_events_result.proto +19 -0
  428. package/proto/decentraland/sdk/components/pointer_lock.proto +11 -0
  429. package/proto/decentraland/sdk/components/raycast.proto +58 -0
  430. package/proto/decentraland/sdk/components/raycast_result.proto +21 -0
  431. package/proto/decentraland/sdk/components/realm_info.proto +14 -0
  432. package/proto/decentraland/sdk/components/text_shape.proto +45 -0
  433. package/proto/decentraland/sdk/components/tween.proto +74 -0
  434. package/proto/decentraland/sdk/components/tween_sequence.proto +18 -0
  435. package/proto/decentraland/sdk/components/tween_state.proto +18 -0
  436. package/proto/decentraland/sdk/components/ui_background.proto +34 -0
  437. package/proto/decentraland/sdk/components/ui_canvas_information.proto +24 -0
  438. package/proto/decentraland/sdk/components/ui_dropdown.proto +22 -0
  439. package/proto/decentraland/sdk/components/ui_dropdown_result.proto +11 -0
  440. package/proto/decentraland/sdk/components/ui_input.proto +20 -0
  441. package/proto/decentraland/sdk/components/ui_input_result.proto +12 -0
  442. package/proto/decentraland/sdk/components/ui_text.proto +26 -0
  443. package/proto/decentraland/sdk/components/ui_transform.proto +148 -0
  444. package/proto/decentraland/sdk/components/video_event.proto +25 -0
  445. package/proto/decentraland/sdk/components/video_player.proto +16 -0
  446. package/proto/decentraland/sdk/components/visibility_component.proto +9 -0
  447. package/proto/decentraland/sdk/development/local_development.proto +29 -0
  448. package/proto/decentraland/sdk/ecs6/components_ecs6.proto +678 -0
  449. package/proto/decentraland/sdk/ecs6/engine_interface_ecs6.proto +151 -0
  450. package/proto/decentraland/social/friendships/friendships.proto +162 -0
  451. package/proto/decentraland/social_service_v2/social_service.proto +111 -0
  452. package/proto/google/LICENSE +27 -0
  453. package/proto/google/README.md +1 -0
  454. package/proto/google/api/annotations.json +83 -0
  455. package/proto/google/api/annotations.proto +11 -0
  456. package/proto/google/api/http.json +86 -0
  457. package/proto/google/api/http.proto +31 -0
  458. package/proto/google/protobuf/api.json +118 -0
  459. package/proto/google/protobuf/api.proto +34 -0
  460. package/proto/google/protobuf/descriptor.json +739 -0
  461. package/proto/google/protobuf/descriptor.proto +286 -0
  462. package/proto/google/protobuf/source_context.json +20 -0
  463. package/proto/google/protobuf/source_context.proto +7 -0
  464. package/proto/google/protobuf/type.json +202 -0
  465. package/proto/google/protobuf/type.proto +89 -0
  466. package/public/about.proto +5 -0
  467. package/public/comms.proto +5 -0
  468. package/public/quests.proto +5 -0
  469. package/public/sdk-apis.proto +25 -0
  470. package/public/sdk-components.proto +42 -0
  471. package/public/sdk-development.proto +5 -0
  472. package/public/social.proto +4 -0
  473. package/public/social_service_v2.proto +4 -0
@@ -0,0 +1,1122 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.EnvironmentApiServiceDefinition = exports.GetDecentralandTimeRequest = exports.GetExplorerConfigurationRequest = exports.GetCurrentRealmRequest = exports.AreUnsafeRequestAllowedRequest = exports.GetPlatformRequest = exports.IsPreviewModeRequest = exports.GetBootstrapDataRequest = exports.GetDecentralandTimeResponse = exports.GetExplorerConfigurationResponse_ConfigurationsEntry = exports.GetExplorerConfigurationResponse = exports.GetCurrentRealmResponse = exports.EnvironmentRealm = exports.GetPlatformResponse = exports.AreUnsafeRequestAllowedResponse = exports.PreviewModeResponse = exports.BootstrapDataResponse = exports.MinimalRunnableEntity = exports.protobufPackage = void 0;
7
+ /* eslint-disable */
8
+ const minimal_1 = __importDefault(require("protobufjs/minimal"));
9
+ const content_mapping_gen_1 = require("../../common/content_mapping.gen");
10
+ exports.protobufPackage = "decentraland.kernel.apis";
11
+ function createBaseMinimalRunnableEntity() {
12
+ return { content: [], metadataJson: "" };
13
+ }
14
+ var MinimalRunnableEntity;
15
+ (function (MinimalRunnableEntity) {
16
+ function encode(message, writer = minimal_1.default.Writer.create()) {
17
+ for (const v of message.content) {
18
+ content_mapping_gen_1.ContentMapping.encode(v, writer.uint32(10).fork()).ldelim();
19
+ }
20
+ if (message.metadataJson !== "") {
21
+ writer.uint32(18).string(message.metadataJson);
22
+ }
23
+ return writer;
24
+ }
25
+ MinimalRunnableEntity.encode = encode;
26
+ function decode(input, length) {
27
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
28
+ let end = length === undefined ? reader.len : reader.pos + length;
29
+ const message = createBaseMinimalRunnableEntity();
30
+ while (reader.pos < end) {
31
+ const tag = reader.uint32();
32
+ switch (tag >>> 3) {
33
+ case 1:
34
+ if (tag !== 10) {
35
+ break;
36
+ }
37
+ message.content.push(content_mapping_gen_1.ContentMapping.decode(reader, reader.uint32()));
38
+ continue;
39
+ case 2:
40
+ if (tag !== 18) {
41
+ break;
42
+ }
43
+ message.metadataJson = reader.string();
44
+ continue;
45
+ }
46
+ if ((tag & 7) === 4 || tag === 0) {
47
+ break;
48
+ }
49
+ reader.skipType(tag & 7);
50
+ }
51
+ return message;
52
+ }
53
+ MinimalRunnableEntity.decode = decode;
54
+ function fromJSON(object) {
55
+ return {
56
+ content: Array.isArray(object === null || object === void 0 ? void 0 : object.content) ? object.content.map((e) => content_mapping_gen_1.ContentMapping.fromJSON(e)) : [],
57
+ metadataJson: isSet(object.metadataJson) ? String(object.metadataJson) : "",
58
+ };
59
+ }
60
+ MinimalRunnableEntity.fromJSON = fromJSON;
61
+ function toJSON(message) {
62
+ const obj = {};
63
+ if (message.content) {
64
+ obj.content = message.content.map((e) => e ? content_mapping_gen_1.ContentMapping.toJSON(e) : undefined);
65
+ }
66
+ else {
67
+ obj.content = [];
68
+ }
69
+ message.metadataJson !== undefined && (obj.metadataJson = message.metadataJson);
70
+ return obj;
71
+ }
72
+ MinimalRunnableEntity.toJSON = toJSON;
73
+ function create(base) {
74
+ return MinimalRunnableEntity.fromPartial(base !== null && base !== void 0 ? base : {});
75
+ }
76
+ MinimalRunnableEntity.create = create;
77
+ function fromPartial(object) {
78
+ var _a, _b;
79
+ const message = createBaseMinimalRunnableEntity();
80
+ message.content = ((_a = object.content) === null || _a === void 0 ? void 0 : _a.map((e) => content_mapping_gen_1.ContentMapping.fromPartial(e))) || [];
81
+ message.metadataJson = (_b = object.metadataJson) !== null && _b !== void 0 ? _b : "";
82
+ return message;
83
+ }
84
+ MinimalRunnableEntity.fromPartial = fromPartial;
85
+ })(MinimalRunnableEntity || (exports.MinimalRunnableEntity = MinimalRunnableEntity = {}));
86
+ function createBaseBootstrapDataResponse() {
87
+ return { id: "", baseUrl: "", entity: undefined, useFPSThrottling: false };
88
+ }
89
+ var BootstrapDataResponse;
90
+ (function (BootstrapDataResponse) {
91
+ function encode(message, writer = minimal_1.default.Writer.create()) {
92
+ if (message.id !== "") {
93
+ writer.uint32(10).string(message.id);
94
+ }
95
+ if (message.baseUrl !== "") {
96
+ writer.uint32(34).string(message.baseUrl);
97
+ }
98
+ if (message.entity !== undefined) {
99
+ MinimalRunnableEntity.encode(message.entity, writer.uint32(18).fork()).ldelim();
100
+ }
101
+ if (message.useFPSThrottling === true) {
102
+ writer.uint32(40).bool(message.useFPSThrottling);
103
+ }
104
+ return writer;
105
+ }
106
+ BootstrapDataResponse.encode = encode;
107
+ function decode(input, length) {
108
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
109
+ let end = length === undefined ? reader.len : reader.pos + length;
110
+ const message = createBaseBootstrapDataResponse();
111
+ while (reader.pos < end) {
112
+ const tag = reader.uint32();
113
+ switch (tag >>> 3) {
114
+ case 1:
115
+ if (tag !== 10) {
116
+ break;
117
+ }
118
+ message.id = reader.string();
119
+ continue;
120
+ case 4:
121
+ if (tag !== 34) {
122
+ break;
123
+ }
124
+ message.baseUrl = reader.string();
125
+ continue;
126
+ case 2:
127
+ if (tag !== 18) {
128
+ break;
129
+ }
130
+ message.entity = MinimalRunnableEntity.decode(reader, reader.uint32());
131
+ continue;
132
+ case 5:
133
+ if (tag !== 40) {
134
+ break;
135
+ }
136
+ message.useFPSThrottling = reader.bool();
137
+ continue;
138
+ }
139
+ if ((tag & 7) === 4 || tag === 0) {
140
+ break;
141
+ }
142
+ reader.skipType(tag & 7);
143
+ }
144
+ return message;
145
+ }
146
+ BootstrapDataResponse.decode = decode;
147
+ function fromJSON(object) {
148
+ return {
149
+ id: isSet(object.id) ? String(object.id) : "",
150
+ baseUrl: isSet(object.baseUrl) ? String(object.baseUrl) : "",
151
+ entity: isSet(object.entity) ? MinimalRunnableEntity.fromJSON(object.entity) : undefined,
152
+ useFPSThrottling: isSet(object.useFPSThrottling) ? Boolean(object.useFPSThrottling) : false,
153
+ };
154
+ }
155
+ BootstrapDataResponse.fromJSON = fromJSON;
156
+ function toJSON(message) {
157
+ const obj = {};
158
+ message.id !== undefined && (obj.id = message.id);
159
+ message.baseUrl !== undefined && (obj.baseUrl = message.baseUrl);
160
+ message.entity !== undefined &&
161
+ (obj.entity = message.entity ? MinimalRunnableEntity.toJSON(message.entity) : undefined);
162
+ message.useFPSThrottling !== undefined && (obj.useFPSThrottling = message.useFPSThrottling);
163
+ return obj;
164
+ }
165
+ BootstrapDataResponse.toJSON = toJSON;
166
+ function create(base) {
167
+ return BootstrapDataResponse.fromPartial(base !== null && base !== void 0 ? base : {});
168
+ }
169
+ BootstrapDataResponse.create = create;
170
+ function fromPartial(object) {
171
+ var _a, _b, _c;
172
+ const message = createBaseBootstrapDataResponse();
173
+ message.id = (_a = object.id) !== null && _a !== void 0 ? _a : "";
174
+ message.baseUrl = (_b = object.baseUrl) !== null && _b !== void 0 ? _b : "";
175
+ message.entity = (object.entity !== undefined && object.entity !== null)
176
+ ? MinimalRunnableEntity.fromPartial(object.entity)
177
+ : undefined;
178
+ message.useFPSThrottling = (_c = object.useFPSThrottling) !== null && _c !== void 0 ? _c : false;
179
+ return message;
180
+ }
181
+ BootstrapDataResponse.fromPartial = fromPartial;
182
+ })(BootstrapDataResponse || (exports.BootstrapDataResponse = BootstrapDataResponse = {}));
183
+ function createBasePreviewModeResponse() {
184
+ return { isPreview: false };
185
+ }
186
+ var PreviewModeResponse;
187
+ (function (PreviewModeResponse) {
188
+ function encode(message, writer = minimal_1.default.Writer.create()) {
189
+ if (message.isPreview === true) {
190
+ writer.uint32(8).bool(message.isPreview);
191
+ }
192
+ return writer;
193
+ }
194
+ PreviewModeResponse.encode = encode;
195
+ function decode(input, length) {
196
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
197
+ let end = length === undefined ? reader.len : reader.pos + length;
198
+ const message = createBasePreviewModeResponse();
199
+ while (reader.pos < end) {
200
+ const tag = reader.uint32();
201
+ switch (tag >>> 3) {
202
+ case 1:
203
+ if (tag !== 8) {
204
+ break;
205
+ }
206
+ message.isPreview = reader.bool();
207
+ continue;
208
+ }
209
+ if ((tag & 7) === 4 || tag === 0) {
210
+ break;
211
+ }
212
+ reader.skipType(tag & 7);
213
+ }
214
+ return message;
215
+ }
216
+ PreviewModeResponse.decode = decode;
217
+ function fromJSON(object) {
218
+ return { isPreview: isSet(object.isPreview) ? Boolean(object.isPreview) : false };
219
+ }
220
+ PreviewModeResponse.fromJSON = fromJSON;
221
+ function toJSON(message) {
222
+ const obj = {};
223
+ message.isPreview !== undefined && (obj.isPreview = message.isPreview);
224
+ return obj;
225
+ }
226
+ PreviewModeResponse.toJSON = toJSON;
227
+ function create(base) {
228
+ return PreviewModeResponse.fromPartial(base !== null && base !== void 0 ? base : {});
229
+ }
230
+ PreviewModeResponse.create = create;
231
+ function fromPartial(object) {
232
+ var _a;
233
+ const message = createBasePreviewModeResponse();
234
+ message.isPreview = (_a = object.isPreview) !== null && _a !== void 0 ? _a : false;
235
+ return message;
236
+ }
237
+ PreviewModeResponse.fromPartial = fromPartial;
238
+ })(PreviewModeResponse || (exports.PreviewModeResponse = PreviewModeResponse = {}));
239
+ function createBaseAreUnsafeRequestAllowedResponse() {
240
+ return { status: false };
241
+ }
242
+ var AreUnsafeRequestAllowedResponse;
243
+ (function (AreUnsafeRequestAllowedResponse) {
244
+ function encode(message, writer = minimal_1.default.Writer.create()) {
245
+ if (message.status === true) {
246
+ writer.uint32(8).bool(message.status);
247
+ }
248
+ return writer;
249
+ }
250
+ AreUnsafeRequestAllowedResponse.encode = encode;
251
+ function decode(input, length) {
252
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
253
+ let end = length === undefined ? reader.len : reader.pos + length;
254
+ const message = createBaseAreUnsafeRequestAllowedResponse();
255
+ while (reader.pos < end) {
256
+ const tag = reader.uint32();
257
+ switch (tag >>> 3) {
258
+ case 1:
259
+ if (tag !== 8) {
260
+ break;
261
+ }
262
+ message.status = reader.bool();
263
+ continue;
264
+ }
265
+ if ((tag & 7) === 4 || tag === 0) {
266
+ break;
267
+ }
268
+ reader.skipType(tag & 7);
269
+ }
270
+ return message;
271
+ }
272
+ AreUnsafeRequestAllowedResponse.decode = decode;
273
+ function fromJSON(object) {
274
+ return { status: isSet(object.status) ? Boolean(object.status) : false };
275
+ }
276
+ AreUnsafeRequestAllowedResponse.fromJSON = fromJSON;
277
+ function toJSON(message) {
278
+ const obj = {};
279
+ message.status !== undefined && (obj.status = message.status);
280
+ return obj;
281
+ }
282
+ AreUnsafeRequestAllowedResponse.toJSON = toJSON;
283
+ function create(base) {
284
+ return AreUnsafeRequestAllowedResponse.fromPartial(base !== null && base !== void 0 ? base : {});
285
+ }
286
+ AreUnsafeRequestAllowedResponse.create = create;
287
+ function fromPartial(object) {
288
+ var _a;
289
+ const message = createBaseAreUnsafeRequestAllowedResponse();
290
+ message.status = (_a = object.status) !== null && _a !== void 0 ? _a : false;
291
+ return message;
292
+ }
293
+ AreUnsafeRequestAllowedResponse.fromPartial = fromPartial;
294
+ })(AreUnsafeRequestAllowedResponse || (exports.AreUnsafeRequestAllowedResponse = AreUnsafeRequestAllowedResponse = {}));
295
+ function createBaseGetPlatformResponse() {
296
+ return { platform: "" };
297
+ }
298
+ var GetPlatformResponse;
299
+ (function (GetPlatformResponse) {
300
+ function encode(message, writer = minimal_1.default.Writer.create()) {
301
+ if (message.platform !== "") {
302
+ writer.uint32(10).string(message.platform);
303
+ }
304
+ return writer;
305
+ }
306
+ GetPlatformResponse.encode = encode;
307
+ function decode(input, length) {
308
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
309
+ let end = length === undefined ? reader.len : reader.pos + length;
310
+ const message = createBaseGetPlatformResponse();
311
+ while (reader.pos < end) {
312
+ const tag = reader.uint32();
313
+ switch (tag >>> 3) {
314
+ case 1:
315
+ if (tag !== 10) {
316
+ break;
317
+ }
318
+ message.platform = reader.string();
319
+ continue;
320
+ }
321
+ if ((tag & 7) === 4 || tag === 0) {
322
+ break;
323
+ }
324
+ reader.skipType(tag & 7);
325
+ }
326
+ return message;
327
+ }
328
+ GetPlatformResponse.decode = decode;
329
+ function fromJSON(object) {
330
+ return { platform: isSet(object.platform) ? String(object.platform) : "" };
331
+ }
332
+ GetPlatformResponse.fromJSON = fromJSON;
333
+ function toJSON(message) {
334
+ const obj = {};
335
+ message.platform !== undefined && (obj.platform = message.platform);
336
+ return obj;
337
+ }
338
+ GetPlatformResponse.toJSON = toJSON;
339
+ function create(base) {
340
+ return GetPlatformResponse.fromPartial(base !== null && base !== void 0 ? base : {});
341
+ }
342
+ GetPlatformResponse.create = create;
343
+ function fromPartial(object) {
344
+ var _a;
345
+ const message = createBaseGetPlatformResponse();
346
+ message.platform = (_a = object.platform) !== null && _a !== void 0 ? _a : "";
347
+ return message;
348
+ }
349
+ GetPlatformResponse.fromPartial = fromPartial;
350
+ })(GetPlatformResponse || (exports.GetPlatformResponse = GetPlatformResponse = {}));
351
+ function createBaseEnvironmentRealm() {
352
+ return { domain: "", layer: "", room: "", serverName: "", displayName: "", protocol: "" };
353
+ }
354
+ var EnvironmentRealm;
355
+ (function (EnvironmentRealm) {
356
+ function encode(message, writer = minimal_1.default.Writer.create()) {
357
+ if (message.domain !== "") {
358
+ writer.uint32(10).string(message.domain);
359
+ }
360
+ if (message.layer !== "") {
361
+ writer.uint32(18).string(message.layer);
362
+ }
363
+ if (message.room !== "") {
364
+ writer.uint32(26).string(message.room);
365
+ }
366
+ if (message.serverName !== "") {
367
+ writer.uint32(34).string(message.serverName);
368
+ }
369
+ if (message.displayName !== "") {
370
+ writer.uint32(42).string(message.displayName);
371
+ }
372
+ if (message.protocol !== "") {
373
+ writer.uint32(50).string(message.protocol);
374
+ }
375
+ return writer;
376
+ }
377
+ EnvironmentRealm.encode = encode;
378
+ function decode(input, length) {
379
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
380
+ let end = length === undefined ? reader.len : reader.pos + length;
381
+ const message = createBaseEnvironmentRealm();
382
+ while (reader.pos < end) {
383
+ const tag = reader.uint32();
384
+ switch (tag >>> 3) {
385
+ case 1:
386
+ if (tag !== 10) {
387
+ break;
388
+ }
389
+ message.domain = reader.string();
390
+ continue;
391
+ case 2:
392
+ if (tag !== 18) {
393
+ break;
394
+ }
395
+ message.layer = reader.string();
396
+ continue;
397
+ case 3:
398
+ if (tag !== 26) {
399
+ break;
400
+ }
401
+ message.room = reader.string();
402
+ continue;
403
+ case 4:
404
+ if (tag !== 34) {
405
+ break;
406
+ }
407
+ message.serverName = reader.string();
408
+ continue;
409
+ case 5:
410
+ if (tag !== 42) {
411
+ break;
412
+ }
413
+ message.displayName = reader.string();
414
+ continue;
415
+ case 6:
416
+ if (tag !== 50) {
417
+ break;
418
+ }
419
+ message.protocol = reader.string();
420
+ continue;
421
+ }
422
+ if ((tag & 7) === 4 || tag === 0) {
423
+ break;
424
+ }
425
+ reader.skipType(tag & 7);
426
+ }
427
+ return message;
428
+ }
429
+ EnvironmentRealm.decode = decode;
430
+ function fromJSON(object) {
431
+ return {
432
+ domain: isSet(object.domain) ? String(object.domain) : "",
433
+ layer: isSet(object.layer) ? String(object.layer) : "",
434
+ room: isSet(object.room) ? String(object.room) : "",
435
+ serverName: isSet(object.serverName) ? String(object.serverName) : "",
436
+ displayName: isSet(object.displayName) ? String(object.displayName) : "",
437
+ protocol: isSet(object.protocol) ? String(object.protocol) : "",
438
+ };
439
+ }
440
+ EnvironmentRealm.fromJSON = fromJSON;
441
+ function toJSON(message) {
442
+ const obj = {};
443
+ message.domain !== undefined && (obj.domain = message.domain);
444
+ message.layer !== undefined && (obj.layer = message.layer);
445
+ message.room !== undefined && (obj.room = message.room);
446
+ message.serverName !== undefined && (obj.serverName = message.serverName);
447
+ message.displayName !== undefined && (obj.displayName = message.displayName);
448
+ message.protocol !== undefined && (obj.protocol = message.protocol);
449
+ return obj;
450
+ }
451
+ EnvironmentRealm.toJSON = toJSON;
452
+ function create(base) {
453
+ return EnvironmentRealm.fromPartial(base !== null && base !== void 0 ? base : {});
454
+ }
455
+ EnvironmentRealm.create = create;
456
+ function fromPartial(object) {
457
+ var _a, _b, _c, _d, _e, _f;
458
+ const message = createBaseEnvironmentRealm();
459
+ message.domain = (_a = object.domain) !== null && _a !== void 0 ? _a : "";
460
+ message.layer = (_b = object.layer) !== null && _b !== void 0 ? _b : "";
461
+ message.room = (_c = object.room) !== null && _c !== void 0 ? _c : "";
462
+ message.serverName = (_d = object.serverName) !== null && _d !== void 0 ? _d : "";
463
+ message.displayName = (_e = object.displayName) !== null && _e !== void 0 ? _e : "";
464
+ message.protocol = (_f = object.protocol) !== null && _f !== void 0 ? _f : "";
465
+ return message;
466
+ }
467
+ EnvironmentRealm.fromPartial = fromPartial;
468
+ })(EnvironmentRealm || (exports.EnvironmentRealm = EnvironmentRealm = {}));
469
+ function createBaseGetCurrentRealmResponse() {
470
+ return { currentRealm: undefined };
471
+ }
472
+ var GetCurrentRealmResponse;
473
+ (function (GetCurrentRealmResponse) {
474
+ function encode(message, writer = minimal_1.default.Writer.create()) {
475
+ if (message.currentRealm !== undefined) {
476
+ EnvironmentRealm.encode(message.currentRealm, writer.uint32(10).fork()).ldelim();
477
+ }
478
+ return writer;
479
+ }
480
+ GetCurrentRealmResponse.encode = encode;
481
+ function decode(input, length) {
482
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
483
+ let end = length === undefined ? reader.len : reader.pos + length;
484
+ const message = createBaseGetCurrentRealmResponse();
485
+ while (reader.pos < end) {
486
+ const tag = reader.uint32();
487
+ switch (tag >>> 3) {
488
+ case 1:
489
+ if (tag !== 10) {
490
+ break;
491
+ }
492
+ message.currentRealm = EnvironmentRealm.decode(reader, reader.uint32());
493
+ continue;
494
+ }
495
+ if ((tag & 7) === 4 || tag === 0) {
496
+ break;
497
+ }
498
+ reader.skipType(tag & 7);
499
+ }
500
+ return message;
501
+ }
502
+ GetCurrentRealmResponse.decode = decode;
503
+ function fromJSON(object) {
504
+ return { currentRealm: isSet(object.currentRealm) ? EnvironmentRealm.fromJSON(object.currentRealm) : undefined };
505
+ }
506
+ GetCurrentRealmResponse.fromJSON = fromJSON;
507
+ function toJSON(message) {
508
+ const obj = {};
509
+ message.currentRealm !== undefined &&
510
+ (obj.currentRealm = message.currentRealm ? EnvironmentRealm.toJSON(message.currentRealm) : undefined);
511
+ return obj;
512
+ }
513
+ GetCurrentRealmResponse.toJSON = toJSON;
514
+ function create(base) {
515
+ return GetCurrentRealmResponse.fromPartial(base !== null && base !== void 0 ? base : {});
516
+ }
517
+ GetCurrentRealmResponse.create = create;
518
+ function fromPartial(object) {
519
+ const message = createBaseGetCurrentRealmResponse();
520
+ message.currentRealm = (object.currentRealm !== undefined && object.currentRealm !== null)
521
+ ? EnvironmentRealm.fromPartial(object.currentRealm)
522
+ : undefined;
523
+ return message;
524
+ }
525
+ GetCurrentRealmResponse.fromPartial = fromPartial;
526
+ })(GetCurrentRealmResponse || (exports.GetCurrentRealmResponse = GetCurrentRealmResponse = {}));
527
+ function createBaseGetExplorerConfigurationResponse() {
528
+ return { clientUri: "", configurations: {} };
529
+ }
530
+ var GetExplorerConfigurationResponse;
531
+ (function (GetExplorerConfigurationResponse) {
532
+ function encode(message, writer = minimal_1.default.Writer.create()) {
533
+ if (message.clientUri !== "") {
534
+ writer.uint32(10).string(message.clientUri);
535
+ }
536
+ Object.entries(message.configurations).forEach(([key, value]) => {
537
+ GetExplorerConfigurationResponse_ConfigurationsEntry.encode({ key: key, value }, writer.uint32(18).fork())
538
+ .ldelim();
539
+ });
540
+ return writer;
541
+ }
542
+ GetExplorerConfigurationResponse.encode = encode;
543
+ function decode(input, length) {
544
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
545
+ let end = length === undefined ? reader.len : reader.pos + length;
546
+ const message = createBaseGetExplorerConfigurationResponse();
547
+ while (reader.pos < end) {
548
+ const tag = reader.uint32();
549
+ switch (tag >>> 3) {
550
+ case 1:
551
+ if (tag !== 10) {
552
+ break;
553
+ }
554
+ message.clientUri = reader.string();
555
+ continue;
556
+ case 2:
557
+ if (tag !== 18) {
558
+ break;
559
+ }
560
+ const entry2 = GetExplorerConfigurationResponse_ConfigurationsEntry.decode(reader, reader.uint32());
561
+ if (entry2.value !== undefined) {
562
+ message.configurations[entry2.key] = entry2.value;
563
+ }
564
+ continue;
565
+ }
566
+ if ((tag & 7) === 4 || tag === 0) {
567
+ break;
568
+ }
569
+ reader.skipType(tag & 7);
570
+ }
571
+ return message;
572
+ }
573
+ GetExplorerConfigurationResponse.decode = decode;
574
+ function fromJSON(object) {
575
+ return {
576
+ clientUri: isSet(object.clientUri) ? String(object.clientUri) : "",
577
+ configurations: isObject(object.configurations)
578
+ ? Object.entries(object.configurations).reduce((acc, [key, value]) => {
579
+ acc[key] = String(value);
580
+ return acc;
581
+ }, {})
582
+ : {},
583
+ };
584
+ }
585
+ GetExplorerConfigurationResponse.fromJSON = fromJSON;
586
+ function toJSON(message) {
587
+ const obj = {};
588
+ message.clientUri !== undefined && (obj.clientUri = message.clientUri);
589
+ obj.configurations = {};
590
+ if (message.configurations) {
591
+ Object.entries(message.configurations).forEach(([k, v]) => {
592
+ obj.configurations[k] = v;
593
+ });
594
+ }
595
+ return obj;
596
+ }
597
+ GetExplorerConfigurationResponse.toJSON = toJSON;
598
+ function create(base) {
599
+ return GetExplorerConfigurationResponse.fromPartial(base !== null && base !== void 0 ? base : {});
600
+ }
601
+ GetExplorerConfigurationResponse.create = create;
602
+ function fromPartial(object) {
603
+ var _a, _b;
604
+ const message = createBaseGetExplorerConfigurationResponse();
605
+ message.clientUri = (_a = object.clientUri) !== null && _a !== void 0 ? _a : "";
606
+ message.configurations = Object.entries((_b = object.configurations) !== null && _b !== void 0 ? _b : {}).reduce((acc, [key, value]) => {
607
+ if (value !== undefined) {
608
+ acc[key] = String(value);
609
+ }
610
+ return acc;
611
+ }, {});
612
+ return message;
613
+ }
614
+ GetExplorerConfigurationResponse.fromPartial = fromPartial;
615
+ })(GetExplorerConfigurationResponse || (exports.GetExplorerConfigurationResponse = GetExplorerConfigurationResponse = {}));
616
+ function createBaseGetExplorerConfigurationResponse_ConfigurationsEntry() {
617
+ return { key: "", value: "" };
618
+ }
619
+ var GetExplorerConfigurationResponse_ConfigurationsEntry;
620
+ (function (GetExplorerConfigurationResponse_ConfigurationsEntry) {
621
+ function encode(message, writer = minimal_1.default.Writer.create()) {
622
+ if (message.key !== "") {
623
+ writer.uint32(10).string(message.key);
624
+ }
625
+ if (message.value !== "") {
626
+ writer.uint32(18).string(message.value);
627
+ }
628
+ return writer;
629
+ }
630
+ GetExplorerConfigurationResponse_ConfigurationsEntry.encode = encode;
631
+ function decode(input, length) {
632
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
633
+ let end = length === undefined ? reader.len : reader.pos + length;
634
+ const message = createBaseGetExplorerConfigurationResponse_ConfigurationsEntry();
635
+ while (reader.pos < end) {
636
+ const tag = reader.uint32();
637
+ switch (tag >>> 3) {
638
+ case 1:
639
+ if (tag !== 10) {
640
+ break;
641
+ }
642
+ message.key = reader.string();
643
+ continue;
644
+ case 2:
645
+ if (tag !== 18) {
646
+ break;
647
+ }
648
+ message.value = reader.string();
649
+ continue;
650
+ }
651
+ if ((tag & 7) === 4 || tag === 0) {
652
+ break;
653
+ }
654
+ reader.skipType(tag & 7);
655
+ }
656
+ return message;
657
+ }
658
+ GetExplorerConfigurationResponse_ConfigurationsEntry.decode = decode;
659
+ function fromJSON(object) {
660
+ return { key: isSet(object.key) ? String(object.key) : "", value: isSet(object.value) ? String(object.value) : "" };
661
+ }
662
+ GetExplorerConfigurationResponse_ConfigurationsEntry.fromJSON = fromJSON;
663
+ function toJSON(message) {
664
+ const obj = {};
665
+ message.key !== undefined && (obj.key = message.key);
666
+ message.value !== undefined && (obj.value = message.value);
667
+ return obj;
668
+ }
669
+ GetExplorerConfigurationResponse_ConfigurationsEntry.toJSON = toJSON;
670
+ function create(base) {
671
+ return GetExplorerConfigurationResponse_ConfigurationsEntry.fromPartial(base !== null && base !== void 0 ? base : {});
672
+ }
673
+ GetExplorerConfigurationResponse_ConfigurationsEntry.create = create;
674
+ function fromPartial(object) {
675
+ var _a, _b;
676
+ const message = createBaseGetExplorerConfigurationResponse_ConfigurationsEntry();
677
+ message.key = (_a = object.key) !== null && _a !== void 0 ? _a : "";
678
+ message.value = (_b = object.value) !== null && _b !== void 0 ? _b : "";
679
+ return message;
680
+ }
681
+ GetExplorerConfigurationResponse_ConfigurationsEntry.fromPartial = fromPartial;
682
+ })(GetExplorerConfigurationResponse_ConfigurationsEntry || (exports.GetExplorerConfigurationResponse_ConfigurationsEntry = GetExplorerConfigurationResponse_ConfigurationsEntry = {}));
683
+ function createBaseGetDecentralandTimeResponse() {
684
+ return { seconds: 0 };
685
+ }
686
+ var GetDecentralandTimeResponse;
687
+ (function (GetDecentralandTimeResponse) {
688
+ function encode(message, writer = minimal_1.default.Writer.create()) {
689
+ if (message.seconds !== 0) {
690
+ writer.uint32(8).int32(message.seconds);
691
+ }
692
+ return writer;
693
+ }
694
+ GetDecentralandTimeResponse.encode = encode;
695
+ function decode(input, length) {
696
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
697
+ let end = length === undefined ? reader.len : reader.pos + length;
698
+ const message = createBaseGetDecentralandTimeResponse();
699
+ while (reader.pos < end) {
700
+ const tag = reader.uint32();
701
+ switch (tag >>> 3) {
702
+ case 1:
703
+ if (tag !== 8) {
704
+ break;
705
+ }
706
+ message.seconds = reader.int32();
707
+ continue;
708
+ }
709
+ if ((tag & 7) === 4 || tag === 0) {
710
+ break;
711
+ }
712
+ reader.skipType(tag & 7);
713
+ }
714
+ return message;
715
+ }
716
+ GetDecentralandTimeResponse.decode = decode;
717
+ function fromJSON(object) {
718
+ return { seconds: isSet(object.seconds) ? Number(object.seconds) : 0 };
719
+ }
720
+ GetDecentralandTimeResponse.fromJSON = fromJSON;
721
+ function toJSON(message) {
722
+ const obj = {};
723
+ message.seconds !== undefined && (obj.seconds = Math.round(message.seconds));
724
+ return obj;
725
+ }
726
+ GetDecentralandTimeResponse.toJSON = toJSON;
727
+ function create(base) {
728
+ return GetDecentralandTimeResponse.fromPartial(base !== null && base !== void 0 ? base : {});
729
+ }
730
+ GetDecentralandTimeResponse.create = create;
731
+ function fromPartial(object) {
732
+ var _a;
733
+ const message = createBaseGetDecentralandTimeResponse();
734
+ message.seconds = (_a = object.seconds) !== null && _a !== void 0 ? _a : 0;
735
+ return message;
736
+ }
737
+ GetDecentralandTimeResponse.fromPartial = fromPartial;
738
+ })(GetDecentralandTimeResponse || (exports.GetDecentralandTimeResponse = GetDecentralandTimeResponse = {}));
739
+ function createBaseGetBootstrapDataRequest() {
740
+ return {};
741
+ }
742
+ var GetBootstrapDataRequest;
743
+ (function (GetBootstrapDataRequest) {
744
+ function encode(_, writer = minimal_1.default.Writer.create()) {
745
+ return writer;
746
+ }
747
+ GetBootstrapDataRequest.encode = encode;
748
+ function decode(input, length) {
749
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
750
+ let end = length === undefined ? reader.len : reader.pos + length;
751
+ const message = createBaseGetBootstrapDataRequest();
752
+ while (reader.pos < end) {
753
+ const tag = reader.uint32();
754
+ switch (tag >>> 3) {
755
+ }
756
+ if ((tag & 7) === 4 || tag === 0) {
757
+ break;
758
+ }
759
+ reader.skipType(tag & 7);
760
+ }
761
+ return message;
762
+ }
763
+ GetBootstrapDataRequest.decode = decode;
764
+ function fromJSON(_) {
765
+ return {};
766
+ }
767
+ GetBootstrapDataRequest.fromJSON = fromJSON;
768
+ function toJSON(_) {
769
+ const obj = {};
770
+ return obj;
771
+ }
772
+ GetBootstrapDataRequest.toJSON = toJSON;
773
+ function create(base) {
774
+ return GetBootstrapDataRequest.fromPartial(base !== null && base !== void 0 ? base : {});
775
+ }
776
+ GetBootstrapDataRequest.create = create;
777
+ function fromPartial(_) {
778
+ const message = createBaseGetBootstrapDataRequest();
779
+ return message;
780
+ }
781
+ GetBootstrapDataRequest.fromPartial = fromPartial;
782
+ })(GetBootstrapDataRequest || (exports.GetBootstrapDataRequest = GetBootstrapDataRequest = {}));
783
+ function createBaseIsPreviewModeRequest() {
784
+ return {};
785
+ }
786
+ var IsPreviewModeRequest;
787
+ (function (IsPreviewModeRequest) {
788
+ function encode(_, writer = minimal_1.default.Writer.create()) {
789
+ return writer;
790
+ }
791
+ IsPreviewModeRequest.encode = encode;
792
+ function decode(input, length) {
793
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
794
+ let end = length === undefined ? reader.len : reader.pos + length;
795
+ const message = createBaseIsPreviewModeRequest();
796
+ while (reader.pos < end) {
797
+ const tag = reader.uint32();
798
+ switch (tag >>> 3) {
799
+ }
800
+ if ((tag & 7) === 4 || tag === 0) {
801
+ break;
802
+ }
803
+ reader.skipType(tag & 7);
804
+ }
805
+ return message;
806
+ }
807
+ IsPreviewModeRequest.decode = decode;
808
+ function fromJSON(_) {
809
+ return {};
810
+ }
811
+ IsPreviewModeRequest.fromJSON = fromJSON;
812
+ function toJSON(_) {
813
+ const obj = {};
814
+ return obj;
815
+ }
816
+ IsPreviewModeRequest.toJSON = toJSON;
817
+ function create(base) {
818
+ return IsPreviewModeRequest.fromPartial(base !== null && base !== void 0 ? base : {});
819
+ }
820
+ IsPreviewModeRequest.create = create;
821
+ function fromPartial(_) {
822
+ const message = createBaseIsPreviewModeRequest();
823
+ return message;
824
+ }
825
+ IsPreviewModeRequest.fromPartial = fromPartial;
826
+ })(IsPreviewModeRequest || (exports.IsPreviewModeRequest = IsPreviewModeRequest = {}));
827
+ function createBaseGetPlatformRequest() {
828
+ return {};
829
+ }
830
+ var GetPlatformRequest;
831
+ (function (GetPlatformRequest) {
832
+ function encode(_, writer = minimal_1.default.Writer.create()) {
833
+ return writer;
834
+ }
835
+ GetPlatformRequest.encode = encode;
836
+ function decode(input, length) {
837
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
838
+ let end = length === undefined ? reader.len : reader.pos + length;
839
+ const message = createBaseGetPlatformRequest();
840
+ while (reader.pos < end) {
841
+ const tag = reader.uint32();
842
+ switch (tag >>> 3) {
843
+ }
844
+ if ((tag & 7) === 4 || tag === 0) {
845
+ break;
846
+ }
847
+ reader.skipType(tag & 7);
848
+ }
849
+ return message;
850
+ }
851
+ GetPlatformRequest.decode = decode;
852
+ function fromJSON(_) {
853
+ return {};
854
+ }
855
+ GetPlatformRequest.fromJSON = fromJSON;
856
+ function toJSON(_) {
857
+ const obj = {};
858
+ return obj;
859
+ }
860
+ GetPlatformRequest.toJSON = toJSON;
861
+ function create(base) {
862
+ return GetPlatformRequest.fromPartial(base !== null && base !== void 0 ? base : {});
863
+ }
864
+ GetPlatformRequest.create = create;
865
+ function fromPartial(_) {
866
+ const message = createBaseGetPlatformRequest();
867
+ return message;
868
+ }
869
+ GetPlatformRequest.fromPartial = fromPartial;
870
+ })(GetPlatformRequest || (exports.GetPlatformRequest = GetPlatformRequest = {}));
871
+ function createBaseAreUnsafeRequestAllowedRequest() {
872
+ return {};
873
+ }
874
+ var AreUnsafeRequestAllowedRequest;
875
+ (function (AreUnsafeRequestAllowedRequest) {
876
+ function encode(_, writer = minimal_1.default.Writer.create()) {
877
+ return writer;
878
+ }
879
+ AreUnsafeRequestAllowedRequest.encode = encode;
880
+ function decode(input, length) {
881
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
882
+ let end = length === undefined ? reader.len : reader.pos + length;
883
+ const message = createBaseAreUnsafeRequestAllowedRequest();
884
+ while (reader.pos < end) {
885
+ const tag = reader.uint32();
886
+ switch (tag >>> 3) {
887
+ }
888
+ if ((tag & 7) === 4 || tag === 0) {
889
+ break;
890
+ }
891
+ reader.skipType(tag & 7);
892
+ }
893
+ return message;
894
+ }
895
+ AreUnsafeRequestAllowedRequest.decode = decode;
896
+ function fromJSON(_) {
897
+ return {};
898
+ }
899
+ AreUnsafeRequestAllowedRequest.fromJSON = fromJSON;
900
+ function toJSON(_) {
901
+ const obj = {};
902
+ return obj;
903
+ }
904
+ AreUnsafeRequestAllowedRequest.toJSON = toJSON;
905
+ function create(base) {
906
+ return AreUnsafeRequestAllowedRequest.fromPartial(base !== null && base !== void 0 ? base : {});
907
+ }
908
+ AreUnsafeRequestAllowedRequest.create = create;
909
+ function fromPartial(_) {
910
+ const message = createBaseAreUnsafeRequestAllowedRequest();
911
+ return message;
912
+ }
913
+ AreUnsafeRequestAllowedRequest.fromPartial = fromPartial;
914
+ })(AreUnsafeRequestAllowedRequest || (exports.AreUnsafeRequestAllowedRequest = AreUnsafeRequestAllowedRequest = {}));
915
+ function createBaseGetCurrentRealmRequest() {
916
+ return {};
917
+ }
918
+ var GetCurrentRealmRequest;
919
+ (function (GetCurrentRealmRequest) {
920
+ function encode(_, writer = minimal_1.default.Writer.create()) {
921
+ return writer;
922
+ }
923
+ GetCurrentRealmRequest.encode = encode;
924
+ function decode(input, length) {
925
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
926
+ let end = length === undefined ? reader.len : reader.pos + length;
927
+ const message = createBaseGetCurrentRealmRequest();
928
+ while (reader.pos < end) {
929
+ const tag = reader.uint32();
930
+ switch (tag >>> 3) {
931
+ }
932
+ if ((tag & 7) === 4 || tag === 0) {
933
+ break;
934
+ }
935
+ reader.skipType(tag & 7);
936
+ }
937
+ return message;
938
+ }
939
+ GetCurrentRealmRequest.decode = decode;
940
+ function fromJSON(_) {
941
+ return {};
942
+ }
943
+ GetCurrentRealmRequest.fromJSON = fromJSON;
944
+ function toJSON(_) {
945
+ const obj = {};
946
+ return obj;
947
+ }
948
+ GetCurrentRealmRequest.toJSON = toJSON;
949
+ function create(base) {
950
+ return GetCurrentRealmRequest.fromPartial(base !== null && base !== void 0 ? base : {});
951
+ }
952
+ GetCurrentRealmRequest.create = create;
953
+ function fromPartial(_) {
954
+ const message = createBaseGetCurrentRealmRequest();
955
+ return message;
956
+ }
957
+ GetCurrentRealmRequest.fromPartial = fromPartial;
958
+ })(GetCurrentRealmRequest || (exports.GetCurrentRealmRequest = GetCurrentRealmRequest = {}));
959
+ function createBaseGetExplorerConfigurationRequest() {
960
+ return {};
961
+ }
962
+ var GetExplorerConfigurationRequest;
963
+ (function (GetExplorerConfigurationRequest) {
964
+ function encode(_, writer = minimal_1.default.Writer.create()) {
965
+ return writer;
966
+ }
967
+ GetExplorerConfigurationRequest.encode = encode;
968
+ function decode(input, length) {
969
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
970
+ let end = length === undefined ? reader.len : reader.pos + length;
971
+ const message = createBaseGetExplorerConfigurationRequest();
972
+ while (reader.pos < end) {
973
+ const tag = reader.uint32();
974
+ switch (tag >>> 3) {
975
+ }
976
+ if ((tag & 7) === 4 || tag === 0) {
977
+ break;
978
+ }
979
+ reader.skipType(tag & 7);
980
+ }
981
+ return message;
982
+ }
983
+ GetExplorerConfigurationRequest.decode = decode;
984
+ function fromJSON(_) {
985
+ return {};
986
+ }
987
+ GetExplorerConfigurationRequest.fromJSON = fromJSON;
988
+ function toJSON(_) {
989
+ const obj = {};
990
+ return obj;
991
+ }
992
+ GetExplorerConfigurationRequest.toJSON = toJSON;
993
+ function create(base) {
994
+ return GetExplorerConfigurationRequest.fromPartial(base !== null && base !== void 0 ? base : {});
995
+ }
996
+ GetExplorerConfigurationRequest.create = create;
997
+ function fromPartial(_) {
998
+ const message = createBaseGetExplorerConfigurationRequest();
999
+ return message;
1000
+ }
1001
+ GetExplorerConfigurationRequest.fromPartial = fromPartial;
1002
+ })(GetExplorerConfigurationRequest || (exports.GetExplorerConfigurationRequest = GetExplorerConfigurationRequest = {}));
1003
+ function createBaseGetDecentralandTimeRequest() {
1004
+ return {};
1005
+ }
1006
+ var GetDecentralandTimeRequest;
1007
+ (function (GetDecentralandTimeRequest) {
1008
+ function encode(_, writer = minimal_1.default.Writer.create()) {
1009
+ return writer;
1010
+ }
1011
+ GetDecentralandTimeRequest.encode = encode;
1012
+ function decode(input, length) {
1013
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
1014
+ let end = length === undefined ? reader.len : reader.pos + length;
1015
+ const message = createBaseGetDecentralandTimeRequest();
1016
+ while (reader.pos < end) {
1017
+ const tag = reader.uint32();
1018
+ switch (tag >>> 3) {
1019
+ }
1020
+ if ((tag & 7) === 4 || tag === 0) {
1021
+ break;
1022
+ }
1023
+ reader.skipType(tag & 7);
1024
+ }
1025
+ return message;
1026
+ }
1027
+ GetDecentralandTimeRequest.decode = decode;
1028
+ function fromJSON(_) {
1029
+ return {};
1030
+ }
1031
+ GetDecentralandTimeRequest.fromJSON = fromJSON;
1032
+ function toJSON(_) {
1033
+ const obj = {};
1034
+ return obj;
1035
+ }
1036
+ GetDecentralandTimeRequest.toJSON = toJSON;
1037
+ function create(base) {
1038
+ return GetDecentralandTimeRequest.fromPartial(base !== null && base !== void 0 ? base : {});
1039
+ }
1040
+ GetDecentralandTimeRequest.create = create;
1041
+ function fromPartial(_) {
1042
+ const message = createBaseGetDecentralandTimeRequest();
1043
+ return message;
1044
+ }
1045
+ GetDecentralandTimeRequest.fromPartial = fromPartial;
1046
+ })(GetDecentralandTimeRequest || (exports.GetDecentralandTimeRequest = GetDecentralandTimeRequest = {}));
1047
+ exports.EnvironmentApiServiceDefinition = {
1048
+ name: "EnvironmentApiService",
1049
+ fullName: "decentraland.kernel.apis.EnvironmentApiService",
1050
+ methods: {
1051
+ /** @deprecated, only available for SDK6 compatibility. Use runtime_api instead */
1052
+ getBootstrapData: {
1053
+ name: "GetBootstrapData",
1054
+ requestType: GetBootstrapDataRequest,
1055
+ requestStream: false,
1056
+ responseType: BootstrapDataResponse,
1057
+ responseStream: false,
1058
+ options: {},
1059
+ },
1060
+ /** @deprecated, only available for SDK6 compatibility. Needs migration */
1061
+ isPreviewMode: {
1062
+ name: "IsPreviewMode",
1063
+ requestType: IsPreviewModeRequest,
1064
+ requestStream: false,
1065
+ responseType: PreviewModeResponse,
1066
+ responseStream: false,
1067
+ options: {},
1068
+ },
1069
+ /** @deprecated, only available for SDK6 compatibility */
1070
+ getPlatform: {
1071
+ name: "GetPlatform",
1072
+ requestType: GetPlatformRequest,
1073
+ requestStream: false,
1074
+ responseType: GetPlatformResponse,
1075
+ responseStream: false,
1076
+ options: {},
1077
+ },
1078
+ /** @deprecated, only available for SDK6 compatibility */
1079
+ areUnsafeRequestAllowed: {
1080
+ name: "AreUnsafeRequestAllowed",
1081
+ requestType: AreUnsafeRequestAllowedRequest,
1082
+ requestStream: false,
1083
+ responseType: AreUnsafeRequestAllowedResponse,
1084
+ responseStream: false,
1085
+ options: {},
1086
+ },
1087
+ /** @deprecated, use GetCurrentRealm from runtime_api instead */
1088
+ getCurrentRealm: {
1089
+ name: "GetCurrentRealm",
1090
+ requestType: GetCurrentRealmRequest,
1091
+ requestStream: false,
1092
+ responseType: GetCurrentRealmResponse,
1093
+ responseStream: false,
1094
+ options: {},
1095
+ },
1096
+ /** @deprecated, only available for SDK6 compatibility */
1097
+ getExplorerConfiguration: {
1098
+ name: "GetExplorerConfiguration",
1099
+ requestType: GetExplorerConfigurationRequest,
1100
+ requestStream: false,
1101
+ responseType: GetExplorerConfigurationResponse,
1102
+ responseStream: false,
1103
+ options: {},
1104
+ },
1105
+ /** @deprecated, use GetTime from runtime_api instead */
1106
+ getDecentralandTime: {
1107
+ name: "GetDecentralandTime",
1108
+ requestType: GetDecentralandTimeRequest,
1109
+ requestStream: false,
1110
+ responseType: GetDecentralandTimeResponse,
1111
+ responseStream: false,
1112
+ options: {},
1113
+ },
1114
+ },
1115
+ };
1116
+ function isObject(value) {
1117
+ return typeof value === "object" && value !== null;
1118
+ }
1119
+ function isSet(value) {
1120
+ return value !== null && value !== undefined;
1121
+ }
1122
+ //# sourceMappingURL=environment_api.gen.js.map