@dcl/protocol 1.0.0-4722055345.commit-0633ea8 → 1.0.0-47381439163.commit-e9ef0da

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 (613) hide show
  1. package/README.md +296 -13
  2. package/out-js/decentraland/common/border_rect.gen.d.ts +23 -28
  3. package/out-js/decentraland/common/border_rect.gen.js +126 -25
  4. package/out-js/decentraland/common/border_rect.gen.js.map +1 -1
  5. package/out-js/decentraland/common/colors.gen.d.ts +29 -52
  6. package/out-js/decentraland/common/colors.gen.js +132 -47
  7. package/out-js/decentraland/common/colors.gen.js.map +1 -1
  8. package/out-js/decentraland/common/content_mapping.gen.d.ts +8 -20
  9. package/out-js/decentraland/common/content_mapping.gen.js +27 -20
  10. package/out-js/decentraland/common/content_mapping.gen.js.map +1 -1
  11. package/out-js/decentraland/common/gradient.gen.d.ts +50 -0
  12. package/out-js/decentraland/common/gradient.gen.js +148 -0
  13. package/out-js/decentraland/common/gradient.gen.js.map +1 -0
  14. package/out-js/decentraland/common/sdk/user_data.gen.d.ts +24 -176
  15. package/out-js/decentraland/common/sdk/user_data.gen.js +111 -88
  16. package/out-js/decentraland/common/sdk/user_data.gen.js.map +1 -1
  17. package/out-js/decentraland/common/texture.gen.d.ts +56 -252
  18. package/out-js/decentraland/common/texture.gen.js +262 -111
  19. package/out-js/decentraland/common/texture.gen.js.map +1 -1
  20. package/out-js/decentraland/common/vectors.gen.d.ts +38 -68
  21. package/out-js/decentraland/common/vectors.gen.js +180 -65
  22. package/out-js/decentraland/common/vectors.gen.js.map +1 -1
  23. package/out-js/decentraland/kernel/apis/comms_api.gen.d.ts +206 -0
  24. package/out-js/decentraland/kernel/apis/comms_api.gen.js +794 -0
  25. package/out-js/decentraland/kernel/apis/comms_api.gen.js.map +1 -0
  26. package/out-js/decentraland/kernel/apis/communications_controller.gen.d.ts +64 -48
  27. package/out-js/decentraland/kernel/apis/communications_controller.gen.js +323 -37
  28. package/out-js/decentraland/kernel/apis/communications_controller.gen.js.map +1 -1
  29. package/out-js/decentraland/kernel/apis/dev_tools.gen.d.ts +18 -56
  30. package/out-js/decentraland/kernel/apis/dev_tools.gen.js +52 -38
  31. package/out-js/decentraland/kernel/apis/dev_tools.gen.js.map +1 -1
  32. package/out-js/decentraland/kernel/apis/engine_api.gen.d.ts +186 -4088
  33. package/out-js/decentraland/kernel/apis/engine_api.gen.js +680 -1733
  34. package/out-js/decentraland/kernel/apis/engine_api.gen.js.map +1 -1
  35. package/out-js/decentraland/kernel/apis/environment_api.gen.d.ts +150 -690
  36. package/out-js/decentraland/kernel/apis/environment_api.gen.js +458 -336
  37. package/out-js/decentraland/kernel/apis/environment_api.gen.js.map +1 -1
  38. package/out-js/decentraland/kernel/apis/ethereum_controller.gen.d.ts +106 -440
  39. package/out-js/decentraland/kernel/apis/ethereum_controller.gen.js +329 -243
  40. package/out-js/decentraland/kernel/apis/ethereum_controller.gen.js.map +1 -1
  41. package/out-js/decentraland/kernel/apis/parcel_identity.gen.d.ts +70 -518
  42. package/out-js/decentraland/kernel/apis/parcel_identity.gen.js +227 -169
  43. package/out-js/decentraland/kernel/apis/parcel_identity.gen.js.map +1 -1
  44. package/out-js/decentraland/kernel/apis/permissions.gen.d.ts +37 -128
  45. package/out-js/decentraland/kernel/apis/permissions.gen.js +117 -81
  46. package/out-js/decentraland/kernel/apis/permissions.gen.js.map +1 -1
  47. package/out-js/decentraland/kernel/apis/players.gen.d.ts +54 -476
  48. package/out-js/decentraland/kernel/apis/players.gen.js +157 -114
  49. package/out-js/decentraland/kernel/apis/players.gen.js.map +1 -1
  50. package/out-js/decentraland/kernel/apis/portable_experiences.gen.d.ts +84 -309
  51. package/out-js/decentraland/kernel/apis/portable_experiences.gen.js +279 -177
  52. package/out-js/decentraland/kernel/apis/portable_experiences.gen.js.map +1 -1
  53. package/out-js/decentraland/kernel/apis/restricted_actions.gen.d.ts +391 -577
  54. package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +1429 -322
  55. package/out-js/decentraland/kernel/apis/restricted_actions.gen.js.map +1 -1
  56. package/out-js/decentraland/kernel/apis/runtime.gen.d.ts +130 -412
  57. package/out-js/decentraland/kernel/apis/runtime.gen.js +492 -269
  58. package/out-js/decentraland/kernel/apis/runtime.gen.js.map +1 -1
  59. package/out-js/decentraland/kernel/apis/scene.gen.d.ts +18 -132
  60. package/out-js/decentraland/kernel/apis/scene.gen.js +63 -47
  61. package/out-js/decentraland/kernel/apis/scene.gen.js.map +1 -1
  62. package/out-js/decentraland/kernel/apis/scene_credits.gen.d.ts +186 -0
  63. package/out-js/decentraland/kernel/apis/scene_credits.gen.js +388 -0
  64. package/out-js/decentraland/kernel/apis/scene_credits.gen.js.map +1 -0
  65. package/out-js/decentraland/kernel/apis/signed_fetch.gen.d.ts +75 -284
  66. package/out-js/decentraland/kernel/apis/signed_fetch.gen.js +305 -116
  67. package/out-js/decentraland/kernel/apis/signed_fetch.gen.js.map +1 -1
  68. package/out-js/decentraland/kernel/apis/social_controller.gen.d.ts +26 -128
  69. package/out-js/decentraland/kernel/apis/social_controller.gen.js +83 -61
  70. package/out-js/decentraland/kernel/apis/social_controller.gen.js.map +1 -1
  71. package/out-js/decentraland/kernel/apis/testing.gen.d.ts +165 -408
  72. package/out-js/decentraland/kernel/apis/testing.gen.js +668 -195
  73. package/out-js/decentraland/kernel/apis/testing.gen.js.map +1 -1
  74. package/out-js/decentraland/kernel/apis/user_action_module.gen.d.ts +18 -48
  75. package/out-js/decentraland/kernel/apis/user_action_module.gen.js +50 -36
  76. package/out-js/decentraland/kernel/apis/user_action_module.gen.js.map +1 -1
  77. package/out-js/decentraland/kernel/apis/user_identity.gen.d.ts +36 -352
  78. package/out-js/decentraland/kernel/apis/user_identity.gen.js +98 -70
  79. package/out-js/decentraland/kernel/apis/user_identity.gen.js.map +1 -1
  80. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.d.ts +350 -551
  81. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js +1905 -264
  82. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js.map +1 -1
  83. package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.d.ts +86 -561
  84. package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js +354 -258
  85. package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js.map +1 -1
  86. package/out-js/decentraland/kernel/comms/v3/archipelago.gen.d.ts +233 -1004
  87. package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js +1247 -353
  88. package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js.map +1 -1
  89. package/out-js/decentraland/pulse/pulse_clusters.gen.d.ts +153 -0
  90. package/out-js/decentraland/pulse/pulse_clusters.gen.js +678 -0
  91. package/out-js/decentraland/pulse/pulse_clusters.gen.js.map +1 -0
  92. package/out-js/decentraland/quests/definitions.gen.d.ts +541 -0
  93. package/out-js/decentraland/quests/definitions.gen.js +2739 -0
  94. package/out-js/decentraland/quests/definitions.gen.js.map +1 -0
  95. package/out-js/decentraland/realm/about.gen.d.ts +147 -538
  96. package/out-js/decentraland/realm/about.gen.js +580 -248
  97. package/out-js/decentraland/realm/about.gen.js.map +1 -1
  98. package/out-js/decentraland/sdk/components/animator.gen.d.ts +19 -141
  99. package/out-js/decentraland/sdk/components/animator.gen.js +69 -74
  100. package/out-js/decentraland/sdk/components/animator.gen.js.map +1 -1
  101. package/out-js/decentraland/sdk/components/audio_source.gen.d.ts +19 -32
  102. package/out-js/decentraland/sdk/components/audio_source.gen.js +63 -24
  103. package/out-js/decentraland/sdk/components/audio_source.gen.js.map +1 -1
  104. package/out-js/decentraland/sdk/components/audio_stream.gen.d.ts +18 -24
  105. package/out-js/decentraland/sdk/components/audio_stream.gen.js +72 -22
  106. package/out-js/decentraland/sdk/components/audio_stream.gen.js.map +1 -1
  107. package/out-js/decentraland/sdk/components/avatar_attach.gen.d.ts +31 -20
  108. package/out-js/decentraland/sdk/components/avatar_attach.gen.js +163 -23
  109. package/out-js/decentraland/sdk/components/avatar_attach.gen.js.map +1 -1
  110. package/out-js/decentraland/sdk/components/avatar_base.gen.d.ts +38 -0
  111. package/out-js/decentraland/sdk/components/avatar_base.gen.js +148 -0
  112. package/out-js/decentraland/sdk/components/avatar_base.gen.js.map +1 -0
  113. package/out-js/decentraland/sdk/components/avatar_emote_command.gen.d.ts +64 -0
  114. package/out-js/decentraland/sdk/components/avatar_emote_command.gen.js +171 -0
  115. package/out-js/decentraland/sdk/components/avatar_emote_command.gen.js.map +1 -0
  116. package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.d.ts +57 -0
  117. package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js +200 -0
  118. package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js.map +1 -0
  119. package/out-js/decentraland/sdk/components/avatar_locomotion_settings.gen.d.ts +51 -0
  120. package/out-js/decentraland/sdk/components/avatar_locomotion_settings.gen.js +177 -0
  121. package/out-js/decentraland/sdk/components/avatar_locomotion_settings.gen.js.map +1 -0
  122. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.d.ts +51 -48
  123. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js +281 -27
  124. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js.map +1 -1
  125. package/out-js/decentraland/sdk/components/avatar_movement.gen.d.ts +71 -0
  126. package/out-js/decentraland/sdk/components/avatar_movement.gen.js +305 -0
  127. package/out-js/decentraland/sdk/components/avatar_movement.gen.js.map +1 -0
  128. package/out-js/decentraland/sdk/components/avatar_movement_info.gen.d.ts +82 -0
  129. package/out-js/decentraland/sdk/components/avatar_movement_info.gen.js +357 -0
  130. package/out-js/decentraland/sdk/components/avatar_movement_info.gen.js.map +1 -0
  131. package/out-js/decentraland/sdk/components/avatar_nametag.gen.d.ts +58 -0
  132. package/out-js/decentraland/sdk/components/avatar_nametag.gen.js +117 -0
  133. package/out-js/decentraland/sdk/components/avatar_nametag.gen.js.map +1 -0
  134. package/out-js/decentraland/sdk/components/avatar_shape.gen.d.ts +39 -140
  135. package/out-js/decentraland/sdk/components/avatar_shape.gen.js +80 -40
  136. package/out-js/decentraland/sdk/components/avatar_shape.gen.js.map +1 -1
  137. package/out-js/decentraland/sdk/components/billboard.gen.d.ts +21 -19
  138. package/out-js/decentraland/sdk/components/billboard.gen.js +49 -25
  139. package/out-js/decentraland/sdk/components/billboard.gen.js.map +1 -1
  140. package/out-js/decentraland/sdk/components/camera_layer.gen.d.ts +46 -0
  141. package/out-js/decentraland/sdk/components/camera_layer.gen.js +162 -0
  142. package/out-js/decentraland/sdk/components/camera_layer.gen.js.map +1 -0
  143. package/out-js/decentraland/sdk/components/camera_layers.gen.d.ts +30 -0
  144. package/out-js/decentraland/sdk/components/camera_layers.gen.js +81 -0
  145. package/out-js/decentraland/sdk/components/camera_layers.gen.js.map +1 -0
  146. package/out-js/decentraland/sdk/components/camera_mode.gen.d.ts +8 -16
  147. package/out-js/decentraland/sdk/components/camera_mode.gen.js +25 -18
  148. package/out-js/decentraland/sdk/components/camera_mode.gen.js.map +1 -1
  149. package/out-js/decentraland/sdk/components/camera_mode_area.gen.d.ts +38 -45
  150. package/out-js/decentraland/sdk/components/camera_mode_area.gen.js +172 -22
  151. package/out-js/decentraland/sdk/components/camera_mode_area.gen.js.map +1 -1
  152. package/out-js/decentraland/sdk/components/common/avatar_mask.gen.d.ts +8 -0
  153. package/out-js/decentraland/sdk/components/common/avatar_mask.gen.js +34 -0
  154. package/out-js/decentraland/sdk/components/common/avatar_mask.gen.js.map +1 -0
  155. package/out-js/decentraland/sdk/components/common/camera_type.gen.js +4 -4
  156. package/out-js/decentraland/sdk/components/common/camera_type.gen.js.map +1 -1
  157. package/out-js/decentraland/sdk/components/common/explorer_ui.gen.d.ts +23 -0
  158. package/out-js/decentraland/sdk/components/common/explorer_ui.gen.js +94 -0
  159. package/out-js/decentraland/sdk/components/common/explorer_ui.gen.js.map +1 -0
  160. package/out-js/decentraland/sdk/components/common/input_action.gen.d.ts +14 -0
  161. package/out-js/decentraland/sdk/components/common/input_action.gen.js +77 -7
  162. package/out-js/decentraland/sdk/components/common/input_action.gen.js.map +1 -1
  163. package/out-js/decentraland/sdk/components/common/loading_state.gen.d.ts +11 -0
  164. package/out-js/decentraland/sdk/components/common/loading_state.gen.js +57 -0
  165. package/out-js/decentraland/sdk/components/common/loading_state.gen.js.map +1 -0
  166. package/out-js/decentraland/sdk/components/common/raycast_hit.gen.d.ts +8 -136
  167. package/out-js/decentraland/sdk/components/common/raycast_hit.gen.js +31 -24
  168. package/out-js/decentraland/sdk/components/common/raycast_hit.gen.js.map +1 -1
  169. package/out-js/decentraland/sdk/components/common/texts.gen.js +7 -7
  170. package/out-js/decentraland/sdk/components/common/texts.gen.js.map +1 -1
  171. package/out-js/decentraland/sdk/components/engine_info.gen.d.ts +45 -0
  172. package/out-js/decentraland/sdk/components/engine_info.gen.js +119 -0
  173. package/out-js/decentraland/sdk/components/engine_info.gen.js.map +1 -0
  174. package/out-js/decentraland/sdk/components/environment_fog.gen.d.ts +44 -0
  175. package/out-js/decentraland/sdk/components/environment_fog.gen.js +86 -0
  176. package/out-js/decentraland/sdk/components/environment_fog.gen.js.map +1 -0
  177. package/out-js/decentraland/sdk/components/explorer_configuration.gen.d.ts +35 -0
  178. package/out-js/decentraland/sdk/components/explorer_configuration.gen.js +69 -0
  179. package/out-js/decentraland/sdk/components/explorer_configuration.gen.js.map +1 -0
  180. package/out-js/decentraland/sdk/components/explorer_item_purchase_result.gen.d.ts +78 -0
  181. package/out-js/decentraland/sdk/components/explorer_item_purchase_result.gen.js +309 -0
  182. package/out-js/decentraland/sdk/components/explorer_item_purchase_result.gen.js.map +1 -0
  183. package/out-js/decentraland/sdk/components/explorer_ui_events_result.gen.d.ts +73 -0
  184. package/out-js/decentraland/sdk/components/explorer_ui_events_result.gen.js +232 -0
  185. package/out-js/decentraland/sdk/components/explorer_ui_events_result.gen.js.map +1 -0
  186. package/out-js/decentraland/sdk/components/global_light.gen.d.ts +50 -0
  187. package/out-js/decentraland/sdk/components/global_light.gen.js +103 -0
  188. package/out-js/decentraland/sdk/components/global_light.gen.js.map +1 -0
  189. package/out-js/decentraland/sdk/components/gltf_container.gen.d.ts +12 -16
  190. package/out-js/decentraland/sdk/components/gltf_container.gen.js +60 -21
  191. package/out-js/decentraland/sdk/components/gltf_container.gen.js.map +1 -1
  192. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.d.ts +54 -0
  193. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js +159 -0
  194. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js.map +1 -0
  195. package/out-js/decentraland/sdk/components/gltf_node.gen.d.ts +66 -0
  196. package/out-js/decentraland/sdk/components/gltf_node.gen.js +69 -0
  197. package/out-js/decentraland/sdk/components/gltf_node.gen.js.map +1 -0
  198. package/out-js/decentraland/sdk/components/gltf_node_modifiers.gen.d.ts +57 -0
  199. package/out-js/decentraland/sdk/components/gltf_node_modifiers.gen.js +165 -0
  200. package/out-js/decentraland/sdk/components/gltf_node_modifiers.gen.js.map +1 -0
  201. package/out-js/decentraland/sdk/components/gltf_node_state.gen.d.ts +43 -0
  202. package/out-js/decentraland/sdk/components/gltf_node_state.gen.js +122 -0
  203. package/out-js/decentraland/sdk/components/gltf_node_state.gen.js.map +1 -0
  204. package/out-js/decentraland/sdk/components/input_modifier.gen.d.ts +52 -0
  205. package/out-js/decentraland/sdk/components/input_modifier.gen.js +233 -0
  206. package/out-js/decentraland/sdk/components/input_modifier.gen.js.map +1 -0
  207. package/out-js/decentraland/sdk/components/material.gen.d.ts +50 -3374
  208. package/out-js/decentraland/sdk/components/material.gen.js +219 -105
  209. package/out-js/decentraland/sdk/components/material.gen.js.map +1 -1
  210. package/out-js/decentraland/sdk/components/mesh_collider.gen.d.ts +65 -181
  211. package/out-js/decentraland/sdk/components/mesh_collider.gen.js +253 -129
  212. package/out-js/decentraland/sdk/components/mesh_collider.gen.js.map +1 -1
  213. package/out-js/decentraland/sdk/components/mesh_renderer.gen.d.ts +62 -226
  214. package/out-js/decentraland/sdk/components/mesh_renderer.gen.js +239 -116
  215. package/out-js/decentraland/sdk/components/mesh_renderer.gen.js.map +1 -1
  216. package/out-js/decentraland/sdk/components/nft_shape.gen.d.ts +11 -51
  217. package/out-js/decentraland/sdk/components/nft_shape.gen.js +37 -30
  218. package/out-js/decentraland/sdk/components/nft_shape.gen.js.map +1 -1
  219. package/out-js/decentraland/sdk/components/player_identity_data.gen.d.ts +37 -0
  220. package/out-js/decentraland/sdk/components/player_identity_data.gen.js +83 -0
  221. package/out-js/decentraland/sdk/components/player_identity_data.gen.js.map +1 -0
  222. package/out-js/decentraland/sdk/components/pointer_events.gen.d.ts +63 -187
  223. package/out-js/decentraland/sdk/components/pointer_events.gen.js +165 -71
  224. package/out-js/decentraland/sdk/components/pointer_events.gen.js.map +1 -1
  225. package/out-js/decentraland/sdk/components/pointer_events_result.gen.d.ts +11 -209
  226. package/out-js/decentraland/sdk/components/pointer_events_result.gen.js +45 -26
  227. package/out-js/decentraland/sdk/components/pointer_events_result.gen.js.map +1 -1
  228. package/out-js/decentraland/sdk/components/pointer_lock.gen.d.ts +8 -16
  229. package/out-js/decentraland/sdk/components/pointer_lock.gen.js +24 -17
  230. package/out-js/decentraland/sdk/components/pointer_lock.gen.js.map +1 -1
  231. package/out-js/decentraland/sdk/components/raycast.gen.d.ts +22 -249
  232. package/out-js/decentraland/sdk/components/raycast.gen.js +124 -52
  233. package/out-js/decentraland/sdk/components/raycast.gen.js.map +1 -1
  234. package/out-js/decentraland/sdk/components/raycast_result.gen.d.ts +10 -348
  235. package/out-js/decentraland/sdk/components/raycast_result.gen.js +46 -25
  236. package/out-js/decentraland/sdk/components/raycast_result.gen.js.map +1 -1
  237. package/out-js/decentraland/sdk/components/realm_info.gen.d.ts +43 -0
  238. package/out-js/decentraland/sdk/components/realm_info.gen.js +151 -0
  239. package/out-js/decentraland/sdk/components/realm_info.gen.js.map +1 -0
  240. package/out-js/decentraland/sdk/components/skybox.gen.d.ts +103 -0
  241. package/out-js/decentraland/sdk/components/skybox.gen.js +355 -0
  242. package/out-js/decentraland/sdk/components/skybox.gen.js.map +1 -0
  243. package/out-js/decentraland/sdk/components/sun.gen.d.ts +53 -0
  244. package/out-js/decentraland/sdk/components/sun.gen.js +114 -0
  245. package/out-js/decentraland/sdk/components/sun.gen.js.map +1 -0
  246. package/out-js/decentraland/sdk/components/text_shape.gen.d.ts +10 -174
  247. package/out-js/decentraland/sdk/components/text_shape.gen.js +59 -39
  248. package/out-js/decentraland/sdk/components/text_shape.gen.js.map +1 -1
  249. package/out-js/decentraland/sdk/components/texture_camera.gen.d.ts +86 -0
  250. package/out-js/decentraland/sdk/components/texture_camera.gen.js +297 -0
  251. package/out-js/decentraland/sdk/components/texture_camera.gen.js.map +1 -0
  252. package/out-js/decentraland/sdk/components/touch_screen_controls.gen.d.ts +77 -0
  253. package/out-js/decentraland/sdk/components/touch_screen_controls.gen.js +203 -0
  254. package/out-js/decentraland/sdk/components/touch_screen_controls.gen.js.map +1 -0
  255. package/out-js/decentraland/sdk/components/tween.gen.d.ts +220 -0
  256. package/out-js/decentraland/sdk/components/tween.gen.js +1214 -0
  257. package/out-js/decentraland/sdk/components/tween.gen.js.map +1 -0
  258. package/out-js/decentraland/sdk/components/tween_sequence.gen.d.ts +39 -0
  259. package/out-js/decentraland/sdk/components/tween_sequence.gen.js +124 -0
  260. package/out-js/decentraland/sdk/components/tween_sequence.gen.js.map +1 -0
  261. package/out-js/decentraland/sdk/components/tween_state.gen.d.ts +40 -0
  262. package/out-js/decentraland/sdk/components/tween_state.gen.js +122 -0
  263. package/out-js/decentraland/sdk/components/tween_state.gen.js.map +1 -0
  264. package/out-js/decentraland/sdk/components/ui_background.gen.d.ts +8 -314
  265. package/out-js/decentraland/sdk/components/ui_background.gen.js +40 -31
  266. package/out-js/decentraland/sdk/components/ui_background.gen.js.map +1 -1
  267. package/out-js/decentraland/sdk/components/ui_canvas.gen.d.ts +35 -0
  268. package/out-js/decentraland/sdk/components/ui_canvas.gen.js +98 -0
  269. package/out-js/decentraland/sdk/components/ui_canvas.gen.js.map +1 -0
  270. package/out-js/decentraland/sdk/components/ui_dropdown.gen.d.ts +10 -78
  271. package/out-js/decentraland/sdk/components/ui_dropdown.gen.js +52 -30
  272. package/out-js/decentraland/sdk/components/ui_dropdown.gen.js.map +1 -1
  273. package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.d.ts +8 -16
  274. package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js +25 -18
  275. package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js.map +1 -1
  276. package/out-js/decentraland/sdk/components/ui_input.gen.d.ts +14 -104
  277. package/out-js/decentraland/sdk/components/ui_input.gen.js +72 -26
  278. package/out-js/decentraland/sdk/components/ui_input.gen.js.map +1 -1
  279. package/out-js/decentraland/sdk/components/ui_input_binding.gen.d.ts +52 -0
  280. package/out-js/decentraland/sdk/components/ui_input_binding.gen.js +82 -0
  281. package/out-js/decentraland/sdk/components/ui_input_binding.gen.js.map +1 -0
  282. package/out-js/decentraland/sdk/components/ui_input_result.gen.d.ts +10 -16
  283. package/out-js/decentraland/sdk/components/ui_input_result.gen.js +42 -21
  284. package/out-js/decentraland/sdk/components/ui_input_result.gen.js.map +1 -1
  285. package/out-js/decentraland/sdk/components/ui_scroll_result.gen.d.ts +31 -0
  286. package/out-js/decentraland/sdk/components/ui_scroll_result.gen.js +71 -0
  287. package/out-js/decentraland/sdk/components/ui_scroll_result.gen.js.map +1 -0
  288. package/out-js/decentraland/sdk/components/ui_text.gen.d.ts +28 -64
  289. package/out-js/decentraland/sdk/components/ui_text.gen.js +127 -25
  290. package/out-js/decentraland/sdk/components/ui_text.gen.js.map +1 -1
  291. package/out-js/decentraland/sdk/components/ui_transform.gen.d.ts +84 -216
  292. package/out-js/decentraland/sdk/components/ui_transform.gen.js +709 -143
  293. package/out-js/decentraland/sdk/components/ui_transform.gen.js.map +1 -1
  294. package/out-js/decentraland/sdk/components/video_player.gen.d.ts +18 -36
  295. package/out-js/decentraland/sdk/components/video_player.gen.js +70 -24
  296. package/out-js/decentraland/sdk/components/video_player.gen.js.map +1 -1
  297. package/out-js/decentraland/sdk/components/visibility_component.gen.d.ts +16 -16
  298. package/out-js/decentraland/sdk/components/visibility_component.gen.js +41 -20
  299. package/out-js/decentraland/sdk/components/visibility_component.gen.js.map +1 -1
  300. package/out-js/decentraland/sdk/development/local_development.gen.d.ts +70 -0
  301. package/out-js/decentraland/sdk/development/local_development.gen.js +283 -0
  302. package/out-js/decentraland/sdk/development/local_development.gen.js.map +1 -0
  303. package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.d.ts +1005 -0
  304. package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.js +7850 -0
  305. package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.js.map +1 -0
  306. package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.d.ts +398 -0
  307. package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.js +2512 -0
  308. package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.js.map +1 -0
  309. package/out-js/decentraland/social_service/errors.gen.d.ts +96 -0
  310. package/out-js/decentraland/social_service/errors.gen.js +405 -0
  311. package/out-js/decentraland/social_service/errors.gen.js.map +1 -0
  312. package/out-js/decentraland/social_service/v1/social_service_v1.gen.d.ts +501 -0
  313. package/out-js/decentraland/social_service/v1/social_service_v1.gen.js +2521 -0
  314. package/out-js/decentraland/social_service/v1/social_service_v1.gen.js.map +1 -0
  315. package/out-js/decentraland/social_service/v2/social_service_v2.gen.d.ts +1892 -0
  316. package/out-js/decentraland/social_service/v2/social_service_v2.gen.js +9526 -0
  317. package/out-js/decentraland/social_service/v2/social_service_v2.gen.js.map +1 -0
  318. package/out-js/google/protobuf/descriptor.gen.d.ts +920 -87149
  319. package/out-js/google/protobuf/descriptor.gen.js +1719 -848
  320. package/out-js/google/protobuf/descriptor.gen.js.map +1 -1
  321. package/out-js/google/protobuf/empty.gen.d.ts +8 -8
  322. package/out-js/google/protobuf/empty.gen.js +23 -16
  323. package/out-js/google/protobuf/empty.gen.js.map +1 -1
  324. package/out-js/quests.gen.d.ts +1 -0
  325. package/out-js/{bff-services.gen.js → quests.gen.js} +2 -2
  326. package/out-js/quests.gen.js.map +1 -0
  327. package/out-js/sdk-development.gen.d.ts +1 -0
  328. package/out-js/sdk-development.gen.js +6 -0
  329. package/out-js/sdk-development.gen.js.map +1 -0
  330. package/out-ts/decentraland/common/border_rect.gen.ts +128 -23
  331. package/out-ts/decentraland/common/colors.gen.ts +123 -44
  332. package/out-ts/decentraland/common/content_mapping.gen.ts +19 -19
  333. package/out-ts/decentraland/common/gradient.gen.ts +170 -0
  334. package/out-ts/decentraland/common/sdk/user_data.gen.ts +69 -69
  335. package/out-ts/decentraland/common/texture.gen.ts +235 -87
  336. package/out-ts/decentraland/common/vectors.gen.ts +165 -61
  337. package/out-ts/decentraland/kernel/apis/comms_api.gen.ts +884 -0
  338. package/out-ts/decentraland/kernel/apis/communications_controller.gen.ts +319 -32
  339. package/out-ts/decentraland/kernel/apis/dev_tools.gen.ts +34 -34
  340. package/out-ts/decentraland/kernel/apis/engine_api.gen.ts +515 -1895
  341. package/out-ts/decentraland/kernel/apis/environment_api.gen.ts +325 -292
  342. package/out-ts/decentraland/kernel/apis/ethereum_controller.gen.ts +238 -217
  343. package/out-ts/decentraland/kernel/apis/parcel_identity.gen.ts +141 -141
  344. package/out-ts/decentraland/kernel/apis/permissions.gen.ts +85 -69
  345. package/out-ts/decentraland/kernel/apis/players.gen.ts +109 -97
  346. package/out-ts/decentraland/kernel/apis/portable_experiences.gen.ts +201 -154
  347. package/out-ts/decentraland/kernel/apis/restricted_actions.gen.ts +1418 -284
  348. package/out-ts/decentraland/kernel/apis/runtime.gen.ts +479 -267
  349. package/out-ts/decentraland/kernel/apis/scene.gen.ts +38 -38
  350. package/out-ts/decentraland/kernel/apis/scene_credits.gen.ts +459 -0
  351. package/out-ts/decentraland/kernel/apis/signed_fetch.gen.ts +276 -99
  352. package/out-ts/decentraland/kernel/apis/social_controller.gen.ts +53 -51
  353. package/out-ts/decentraland/kernel/apis/testing.gen.ts +686 -164
  354. package/out-ts/decentraland/kernel/apis/user_action_module.gen.ts +34 -32
  355. package/out-ts/decentraland/kernel/apis/user_identity.gen.ts +66 -62
  356. package/out-ts/decentraland/kernel/comms/rfc4/comms.gen.ts +2120 -238
  357. package/out-ts/decentraland/kernel/comms/rfc5/ws_comms.gen.ts +244 -213
  358. package/out-ts/decentraland/kernel/comms/v3/archipelago.gen.ts +1205 -326
  359. package/out-ts/decentraland/pulse/pulse_clusters.gen.ts +797 -0
  360. package/out-ts/decentraland/quests/definitions.gen.ts +3020 -0
  361. package/out-ts/decentraland/realm/about.gen.ts +588 -213
  362. package/out-ts/decentraland/sdk/components/animator.gen.ts +43 -66
  363. package/out-ts/decentraland/sdk/components/audio_source.gen.ts +69 -22
  364. package/out-ts/decentraland/sdk/components/audio_stream.gen.ts +80 -20
  365. package/out-ts/decentraland/sdk/components/avatar_attach.gen.ts +151 -18
  366. package/out-ts/decentraland/sdk/components/avatar_base.gen.ts +171 -0
  367. package/out-ts/decentraland/sdk/components/avatar_emote_command.gen.ts +202 -0
  368. package/out-ts/decentraland/sdk/components/avatar_equipped_data.gen.ts +237 -0
  369. package/out-ts/decentraland/sdk/components/avatar_locomotion_settings.gen.ts +237 -0
  370. package/out-ts/decentraland/sdk/components/avatar_modifier_area.gen.ts +321 -22
  371. package/out-ts/decentraland/sdk/components/avatar_movement.gen.ts +372 -0
  372. package/out-ts/decentraland/sdk/components/avatar_movement_info.gen.ts +435 -0
  373. package/out-ts/decentraland/sdk/components/avatar_nametag.gen.ts +162 -0
  374. package/out-ts/decentraland/sdk/components/avatar_shape.gen.ts +98 -45
  375. package/out-ts/decentraland/sdk/components/billboard.gen.ts +49 -22
  376. package/out-ts/decentraland/sdk/components/camera_layer.gen.ts +202 -0
  377. package/out-ts/decentraland/sdk/components/camera_layers.gen.ts +92 -0
  378. package/out-ts/decentraland/sdk/components/camera_mode.gen.ts +17 -17
  379. package/out-ts/decentraland/sdk/components/camera_mode_area.gen.ts +199 -20
  380. package/out-ts/decentraland/sdk/components/common/avatar_mask.gen.ts +31 -0
  381. package/out-ts/decentraland/sdk/components/common/explorer_ui.gen.ts +91 -0
  382. package/out-ts/decentraland/sdk/components/common/input_action.gen.ts +70 -0
  383. package/out-ts/decentraland/sdk/components/common/loading_state.gen.ts +54 -0
  384. package/out-ts/decentraland/sdk/components/common/raycast_hit.gen.ts +23 -23
  385. package/out-ts/decentraland/sdk/components/engine_info.gen.ts +149 -0
  386. package/out-ts/decentraland/sdk/components/environment_fog.gen.ts +113 -0
  387. package/out-ts/decentraland/sdk/components/explorer_configuration.gen.ts +87 -0
  388. package/out-ts/decentraland/sdk/components/explorer_item_purchase_result.gen.ts +370 -0
  389. package/out-ts/decentraland/sdk/components/explorer_ui_events_result.gen.ts +281 -0
  390. package/out-ts/decentraland/sdk/components/global_light.gen.ts +138 -0
  391. package/out-ts/decentraland/sdk/components/gltf_container.gen.ts +59 -19
  392. package/out-ts/decentraland/sdk/components/gltf_container_loading_state.gen.ts +195 -0
  393. package/out-ts/decentraland/sdk/components/gltf_node.gen.ts +116 -0
  394. package/out-ts/decentraland/sdk/components/gltf_node_modifiers.gen.ts +204 -0
  395. package/out-ts/decentraland/sdk/components/gltf_node_state.gen.ts +139 -0
  396. package/out-ts/decentraland/sdk/components/input_modifier.gen.ts +265 -0
  397. package/out-ts/decentraland/sdk/components/material.gen.ts +213 -94
  398. package/out-ts/decentraland/sdk/components/mesh_collider.gen.ts +213 -98
  399. package/out-ts/decentraland/sdk/components/mesh_renderer.gen.ts +211 -96
  400. package/out-ts/decentraland/sdk/components/nft_shape.gen.ts +28 -28
  401. package/out-ts/decentraland/sdk/components/player_identity_data.gen.ts +102 -0
  402. package/out-ts/decentraland/sdk/components/pointer_events.gen.ts +188 -60
  403. package/out-ts/decentraland/sdk/components/pointer_events_result.gen.ts +45 -26
  404. package/out-ts/decentraland/sdk/components/pointer_lock.gen.ts +16 -16
  405. package/out-ts/decentraland/sdk/components/raycast.gen.ts +110 -35
  406. package/out-ts/decentraland/sdk/components/raycast_result.gen.ts +36 -21
  407. package/out-ts/decentraland/sdk/components/realm_info.gen.ts +183 -0
  408. package/out-ts/decentraland/sdk/components/skybox.gen.ts +440 -0
  409. package/out-ts/decentraland/sdk/components/sun.gen.ts +155 -0
  410. package/out-ts/decentraland/sdk/components/text_shape.gen.ts +56 -38
  411. package/out-ts/decentraland/sdk/components/texture_camera.gen.ts +362 -0
  412. package/out-ts/decentraland/sdk/components/touch_screen_controls.gen.ts +265 -0
  413. package/out-ts/decentraland/sdk/components/tween.gen.ts +1336 -0
  414. package/out-ts/decentraland/sdk/components/tween_sequence.gen.ts +134 -0
  415. package/out-ts/decentraland/sdk/components/tween_state.gen.ts +136 -0
  416. package/out-ts/decentraland/sdk/components/ui_background.gen.ts +24 -23
  417. package/out-ts/decentraland/sdk/components/ui_canvas.gen.ts +115 -0
  418. package/out-ts/decentraland/sdk/components/ui_dropdown.gen.ts +44 -26
  419. package/out-ts/decentraland/sdk/components/ui_dropdown_result.gen.ts +17 -17
  420. package/out-ts/decentraland/sdk/components/ui_input.gen.ts +79 -25
  421. package/out-ts/decentraland/sdk/components/ui_input_binding.gen.ts +114 -0
  422. package/out-ts/decentraland/sdk/components/ui_input_result.gen.ts +36 -19
  423. package/out-ts/decentraland/sdk/components/ui_scroll_result.gen.ts +83 -0
  424. package/out-ts/decentraland/sdk/components/ui_text.gen.ts +143 -25
  425. package/out-ts/decentraland/sdk/components/ui_transform.gen.ts +772 -113
  426. package/out-ts/decentraland/sdk/components/video_player.gen.ts +81 -23
  427. package/out-ts/decentraland/sdk/components/visibility_component.gen.ts +46 -19
  428. package/out-ts/decentraland/sdk/development/local_development.gen.ts +316 -0
  429. package/out-ts/decentraland/sdk/ecs6/components_ecs6.gen.ts +8957 -0
  430. package/out-ts/decentraland/sdk/ecs6/engine_interface_ecs6.gen.ts +2886 -0
  431. package/out-ts/decentraland/social_service/errors.gen.ts +442 -0
  432. package/out-ts/decentraland/social_service/v1/social_service_v1.gen.ts +2799 -0
  433. package/out-ts/decentraland/social_service/v2/social_service_v2.gen.ts +10939 -0
  434. package/out-ts/google/protobuf/descriptor.gen.ts +1959 -618
  435. package/out-ts/google/protobuf/empty.gen.ts +15 -15
  436. package/out-ts/quests.gen.ts +3 -0
  437. package/out-ts/sdk-development.gen.ts +3 -0
  438. package/package.json +23 -11
  439. package/proto/decentraland/common/auth.proto +22 -0
  440. package/proto/decentraland/common/border_rect.proto +9 -1
  441. package/proto/decentraland/common/colors.proto +6 -0
  442. package/proto/decentraland/common/floats.proto +8 -0
  443. package/proto/decentraland/common/gradient.proto +16 -0
  444. package/proto/decentraland/common/options.proto +51 -0
  445. package/proto/decentraland/common/quantization_example.proto +164 -0
  446. package/proto/decentraland/common/texture.proto +21 -10
  447. package/proto/decentraland/common/vectors.proto +7 -0
  448. package/proto/decentraland/kernel/apis/comms_api.proto +61 -0
  449. package/proto/decentraland/kernel/apis/communications_controller.proto +19 -4
  450. package/proto/decentraland/kernel/apis/engine_api.proto +9 -110
  451. package/proto/decentraland/kernel/apis/permissions.proto +1 -0
  452. package/proto/decentraland/kernel/apis/portable_experiences.proto +4 -1
  453. package/proto/decentraland/kernel/apis/restricted_actions.proto +119 -9
  454. package/proto/decentraland/kernel/apis/runtime.proto +22 -9
  455. package/proto/decentraland/kernel/apis/scene_credits.proto +108 -0
  456. package/proto/decentraland/kernel/apis/signed_fetch.proto +6 -0
  457. package/proto/decentraland/kernel/apis/testing.proto +45 -0
  458. package/proto/decentraland/kernel/comms/rfc4/comms.proto +180 -0
  459. package/proto/decentraland/kernel/comms/rfc5/ws_comms.proto +3 -0
  460. package/proto/decentraland/kernel/comms/v3/archipelago.proto +73 -0
  461. package/proto/decentraland/pulse/pulse_client.proto +147 -0
  462. package/proto/decentraland/pulse/pulse_clusters.proto +94 -0
  463. package/proto/decentraland/pulse/pulse_server.proto +217 -0
  464. package/proto/decentraland/pulse/pulse_shared.proto +57 -0
  465. package/proto/decentraland/quests/definitions.proto +185 -0
  466. package/proto/decentraland/realm/about.proto +69 -4
  467. package/proto/decentraland/sdk/components/animator.proto +9 -4
  468. package/proto/decentraland/sdk/components/asset_load.proto +10 -0
  469. package/proto/decentraland/sdk/components/asset_load_loading_state.proto +16 -0
  470. package/proto/decentraland/sdk/components/audio_analysis.proto +44 -0
  471. package/proto/decentraland/sdk/components/audio_event.proto +12 -0
  472. package/proto/decentraland/sdk/components/audio_source.proto +10 -2
  473. package/proto/decentraland/sdk/components/audio_stream.proto +8 -0
  474. package/proto/decentraland/sdk/components/avatar_attach.proto +26 -3
  475. package/proto/decentraland/sdk/components/avatar_base.proto +16 -0
  476. package/proto/decentraland/sdk/components/avatar_emote_command.proto +32 -0
  477. package/proto/decentraland/sdk/components/avatar_equipped_data.proto +23 -0
  478. package/proto/decentraland/sdk/components/avatar_locomotion_settings.proto +21 -0
  479. package/proto/decentraland/sdk/components/avatar_modifier_area.proto +22 -0
  480. package/proto/decentraland/sdk/components/avatar_movement.proto +63 -0
  481. package/proto/decentraland/sdk/components/avatar_movement_info.proto +38 -0
  482. package/proto/decentraland/sdk/components/avatar_nametag.proto +33 -0
  483. package/proto/decentraland/sdk/components/avatar_shape.proto +35 -17
  484. package/proto/decentraland/sdk/components/billboard.proto +11 -3
  485. package/proto/decentraland/sdk/components/camera_layer.proto +30 -0
  486. package/proto/decentraland/sdk/components/camera_layers.proto +11 -0
  487. package/proto/decentraland/sdk/components/camera_mode_area.proto +18 -1
  488. package/proto/decentraland/sdk/components/common/avatar_mask.proto +7 -0
  489. package/proto/decentraland/sdk/components/common/camera_transition.proto +11 -0
  490. package/proto/decentraland/sdk/components/common/explorer_ui.proto +17 -0
  491. package/proto/decentraland/sdk/components/common/input_action.proto +12 -0
  492. package/proto/decentraland/sdk/components/common/loading_state.proto +10 -0
  493. package/proto/decentraland/sdk/components/common/media_state.proto +13 -0
  494. package/proto/decentraland/sdk/components/engine_info.proto +17 -0
  495. package/proto/decentraland/sdk/components/environment_fog.proto +21 -0
  496. package/proto/decentraland/sdk/components/explorer_configuration.proto +11 -0
  497. package/proto/decentraland/sdk/components/explorer_item_purchase_result.proto +24 -0
  498. package/proto/decentraland/sdk/components/explorer_ui_events_result.proto +33 -0
  499. package/proto/decentraland/sdk/components/global_light.proto +22 -0
  500. package/proto/decentraland/sdk/components/gltf_container.proto +6 -0
  501. package/proto/decentraland/sdk/components/gltf_container_loading_state.proto +26 -0
  502. package/proto/decentraland/sdk/components/gltf_node.proto +42 -0
  503. package/proto/decentraland/sdk/components/gltf_node_modifiers.proto +25 -0
  504. package/proto/decentraland/sdk/components/gltf_node_state.proto +20 -0
  505. package/proto/decentraland/sdk/components/input_modifier.proto +22 -0
  506. package/proto/decentraland/sdk/components/light_source.proto +28 -0
  507. package/proto/decentraland/sdk/components/main_camera.proto +11 -0
  508. package/proto/decentraland/sdk/components/map_pin.proto +16 -0
  509. package/proto/decentraland/sdk/components/material.proto +16 -4
  510. package/proto/decentraland/sdk/components/mesh_collider.proto +12 -5
  511. package/proto/decentraland/sdk/components/mesh_renderer.proto +10 -5
  512. package/proto/decentraland/sdk/components/nft_shape.proto +3 -3
  513. package/proto/decentraland/sdk/components/particle_system.proto +133 -0
  514. package/proto/decentraland/sdk/components/physics_combined_force.proto +21 -0
  515. package/proto/decentraland/sdk/components/physics_combined_impulse.proto +23 -0
  516. package/proto/decentraland/sdk/components/player_identity_data.proto +13 -0
  517. package/proto/decentraland/sdk/components/pointer_events.proto +33 -2
  518. package/proto/decentraland/sdk/components/pointer_events_result.proto +2 -1
  519. package/proto/decentraland/sdk/components/primary_pointer_info.proto +44 -0
  520. package/proto/decentraland/sdk/components/raycast.proto +13 -0
  521. package/proto/decentraland/sdk/components/raycast_result.proto +1 -0
  522. package/proto/decentraland/sdk/components/realm_info.proto +15 -0
  523. package/proto/decentraland/sdk/components/skybox.proto +51 -0
  524. package/proto/decentraland/sdk/components/skybox_time.proto +20 -0
  525. package/proto/decentraland/sdk/components/sun.proto +26 -0
  526. package/proto/decentraland/sdk/components/text_shape.proto +1 -0
  527. package/proto/decentraland/sdk/components/texture_camera.proto +46 -0
  528. package/proto/decentraland/sdk/components/touch_screen_controls.proto +38 -0
  529. package/proto/decentraland/sdk/components/trigger_area.proto +23 -0
  530. package/proto/decentraland/sdk/components/trigger_area_result.proto +34 -0
  531. package/proto/decentraland/sdk/components/tween.proto +117 -0
  532. package/proto/decentraland/sdk/components/tween_sequence.proto +18 -0
  533. package/proto/decentraland/sdk/components/tween_state.proto +18 -0
  534. package/proto/decentraland/sdk/components/ui_background.proto +2 -2
  535. package/proto/decentraland/sdk/components/ui_canvas.proto +16 -0
  536. package/proto/decentraland/sdk/components/ui_canvas_information.proto +30 -0
  537. package/proto/decentraland/sdk/components/ui_dropdown.proto +1 -0
  538. package/proto/decentraland/sdk/components/ui_input.proto +3 -0
  539. package/proto/decentraland/sdk/components/ui_input_binding.proto +27 -0
  540. package/proto/decentraland/sdk/components/ui_input_result.proto +1 -0
  541. package/proto/decentraland/sdk/components/ui_layout_feedback.proto +28 -0
  542. package/proto/decentraland/sdk/components/ui_scroll_result.proto +12 -0
  543. package/proto/decentraland/sdk/components/ui_text.proto +15 -3
  544. package/proto/decentraland/sdk/components/ui_transform.proto +57 -0
  545. package/proto/decentraland/sdk/components/video_event.proto +25 -0
  546. package/proto/decentraland/sdk/components/video_player.proto +8 -0
  547. package/proto/decentraland/sdk/components/virtual_camera.proto +18 -0
  548. package/proto/decentraland/sdk/components/visibility_component.proto +7 -0
  549. package/proto/decentraland/sdk/development/local_development.proto +29 -0
  550. package/proto/decentraland/sdk/ecs6/components_ecs6.proto +678 -0
  551. package/proto/decentraland/sdk/ecs6/engine_interface_ecs6.proto +151 -0
  552. package/proto/decentraland/social_service/errors.proto +30 -0
  553. package/proto/decentraland/{social/friendships/friendships.proto → social_service/v1/social_service_v1.proto} +73 -28
  554. package/proto/decentraland/social_service/v2/social_service_v2.proto +769 -0
  555. package/protoc-gen-bitwise/generator_csharp.js +248 -0
  556. package/protoc-gen-bitwise/options.js +139 -0
  557. package/protoc-gen-bitwise/plugin.js +87 -0
  558. package/protoc-gen-bitwise/runtime/cs/Quantize.cs +70 -0
  559. package/protoc-gen-bitwise/wire.js +239 -0
  560. package/public/comms.proto +2 -1
  561. package/public/quests.proto +5 -0
  562. package/public/sdk-apis.proto +2 -0
  563. package/public/sdk-components.proto +48 -19
  564. package/public/sdk-development.proto +5 -0
  565. package/public/social.proto +3 -1
  566. package/out-js/bff-services.gen.d.ts +0 -1
  567. package/out-js/bff-services.gen.js.map +0 -1
  568. package/out-js/decentraland/bff/authentication_service.gen.d.ts +0 -253
  569. package/out-js/decentraland/bff/authentication_service.gen.js +0 -351
  570. package/out-js/decentraland/bff/authentication_service.gen.js.map +0 -1
  571. package/out-js/decentraland/bff/comms_director_service.gen.d.ts +0 -289
  572. package/out-js/decentraland/bff/comms_director_service.gen.js +0 -228
  573. package/out-js/decentraland/bff/comms_director_service.gen.js.map +0 -1
  574. package/out-js/decentraland/bff/comms_service.gen.d.ts +0 -348
  575. package/out-js/decentraland/bff/comms_service.gen.js +0 -175
  576. package/out-js/decentraland/bff/comms_service.gen.js.map +0 -1
  577. package/out-js/decentraland/bff/http_endpoints.gen.d.ts +0 -929
  578. package/out-js/decentraland/bff/http_endpoints.gen.js +0 -873
  579. package/out-js/decentraland/bff/http_endpoints.gen.js.map +0 -1
  580. package/out-js/decentraland/bff/topics_service.gen.d.ts +0 -272
  581. package/out-js/decentraland/bff/topics_service.gen.js +0 -386
  582. package/out-js/decentraland/bff/topics_service.gen.js.map +0 -1
  583. package/out-js/decentraland/social/friendships/friendships.gen.d.ts +0 -4893
  584. package/out-js/decentraland/social/friendships/friendships.gen.js +0 -1399
  585. package/out-js/decentraland/social/friendships/friendships.gen.js.map +0 -1
  586. package/out-ts/bff-services.gen.ts +0 -3
  587. package/out-ts/decentraland/bff/authentication_service.gen.ts +0 -419
  588. package/out-ts/decentraland/bff/comms_director_service.gen.ts +0 -272
  589. package/out-ts/decentraland/bff/comms_service.gen.ts +0 -212
  590. package/out-ts/decentraland/bff/http_endpoints.gen.ts +0 -1058
  591. package/out-ts/decentraland/bff/topics_service.gen.ts +0 -468
  592. package/out-ts/decentraland/social/friendships/friendships.gen.ts +0 -1680
  593. package/proto/buf.yaml +0 -47
  594. package/proto/decentraland/bff/authentication_service.proto +0 -39
  595. package/proto/decentraland/bff/comms_director_service.proto +0 -33
  596. package/proto/decentraland/bff/comms_service.proto +0 -25
  597. package/proto/decentraland/bff/http_endpoints.proto +0 -80
  598. package/proto/decentraland/bff/topics_service.proto +0 -34
  599. package/proto/google/LICENSE +0 -27
  600. package/proto/google/README.md +0 -1
  601. package/proto/google/api/annotations.json +0 -83
  602. package/proto/google/api/annotations.proto +0 -11
  603. package/proto/google/api/http.json +0 -86
  604. package/proto/google/api/http.proto +0 -31
  605. package/proto/google/protobuf/api.json +0 -118
  606. package/proto/google/protobuf/api.proto +0 -34
  607. package/proto/google/protobuf/descriptor.json +0 -739
  608. package/proto/google/protobuf/descriptor.proto +0 -286
  609. package/proto/google/protobuf/source_context.json +0 -20
  610. package/proto/google/protobuf/source_context.proto +0 -7
  611. package/proto/google/protobuf/type.json +0 -202
  612. package/proto/google/protobuf/type.proto +0 -89
  613. package/public/bff-services.proto +0 -16
@@ -0,0 +1,186 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ export declare const protobufPackage = "decentraland.kernel.apis";
3
+ /**
4
+ * Why a response does not confirm a paid receipt. It does not always mean
5
+ * nothing was paid: after GCE_UNAVAILABLE the outcome is unknown. The numbers
6
+ * are stable, and values may be added later: treat a value you do not know as
7
+ * a refusal, and do not retry it on the same assumptions.
8
+ */
9
+ export declare enum GrantCreditsError {
10
+ /**
11
+ * GCE_UNSPECIFIED - A refusal this version does not name, such as a code added later. Do
12
+ * not retry it with the same request.
13
+ */
14
+ GCE_UNSPECIFIED = 0,
15
+ /**
16
+ * GCE_NOT_AVAILABLE - Paying Credits is not available here. An explorer always answers this,
17
+ * and so does an authoritative server while new payments are off or the
18
+ * pinned scene is no longer the one deployed.
19
+ */
20
+ GCE_NOT_AVAILABLE = 1,
21
+ /** GCE_INVALID_REQUEST - The request is malformed: see the request's field formats. */
22
+ GCE_INVALID_REQUEST = 2,
23
+ /**
24
+ * GCE_RATE_LIMITED - Too many requests for this scene or this program, or the server is
25
+ * momentarily busy. Retry shortly, with a short backoff, and the same
26
+ * outcome id.
27
+ */
28
+ GCE_RATE_LIMITED = 3,
29
+ /**
30
+ * GCE_UNAVAILABLE - The outcome could not be decided, or its answer was lost: the Credits
31
+ * may have been paid. Retry later with the same program, recipient and
32
+ * outcome id; a paid outcome is then answered with its receipt.
33
+ */
34
+ GCE_UNAVAILABLE = 4,
35
+ /**
36
+ * GCE_NOT_AUTHORIZED - This scene may not pay from this program: the server's credential was
37
+ * not accepted, the program is unknown or not pinned to this scene, or the
38
+ * outcome was paid in another location.
39
+ */
40
+ GCE_NOT_AUTHORIZED = 5,
41
+ /**
42
+ * GCE_RECIPIENT_NOT_CONNECTED - A new payment needs the recipient connected to this scene's
43
+ * authoritative server.
44
+ */
45
+ GCE_RECIPIENT_NOT_CONNECTED = 6,
46
+ /** GCE_PROGRAM_PAUSED - The program or its studio is paused. */
47
+ GCE_PROGRAM_PAUSED = 7,
48
+ /** GCE_OUTSIDE_SCHEDULE - The program's schedule has no open slot for this outcome now. */
49
+ GCE_OUTSIDE_SCHEDULE = 8,
50
+ /** GCE_BUDGET_EXHAUSTED - The program's ceiling or the studio's budget cannot cover the payment. */
51
+ GCE_BUDGET_EXHAUSTED = 9,
52
+ /** GCE_PROGRAM_CAP_REACHED - The program paid all it may pay today. */
53
+ GCE_PROGRAM_CAP_REACHED = 10,
54
+ /**
55
+ * GCE_PLAYER_CAP_REACHED - The recipient was paid as many times as this program pays a player,
56
+ * for the program's payment day or in total. For a program that requires
57
+ * a NAME, also when every eligible NAME this wallet holds was already paid
58
+ * for that day, even if other wallets received those payments.
59
+ */
60
+ GCE_PLAYER_CAP_REACHED = 11,
61
+ /**
62
+ * GCE_REQUIREMENT_NOT_MET - The recipient does not meet one of the program's public requirements,
63
+ * such as holding a NAME.
64
+ */
65
+ GCE_REQUIREMENT_NOT_MET = 12,
66
+ /** GCE_RECIPIENT_NOT_ELIGIBLE - The recipient may not be paid by this program. */
67
+ GCE_RECIPIENT_NOT_ELIGIBLE = 13,
68
+ UNRECOGNIZED = -1
69
+ }
70
+ export declare function grantCreditsErrorFromJSON(object: any): GrantCreditsError;
71
+ export declare function grantCreditsErrorToJSON(object: GrantCreditsError): string;
72
+ export interface GrantCreditsRequest {
73
+ /**
74
+ * The Credits program Decentraland ops configured for the studio and
75
+ * pinned to this scene, as a UUID. Anything else is answered like an
76
+ * unknown program.
77
+ */
78
+ programId: string;
79
+ /**
80
+ * The player to pay: a literal lowercase "0x" followed by 40
81
+ * hexadecimal digits of either case; anything else is
82
+ * GCE_INVALID_REQUEST. The host normalizes it to check that the player is
83
+ * connected, and Credits normalizes it for the pay-once key and the
84
+ * per-player caps.
85
+ */
86
+ recipient: string;
87
+ /**
88
+ * The scene's own id for what the player earned (a match, a round, a
89
+ * quest): 1 to 128 characters from A-Z, a-z, 0-9 and ". _ : -"; anything
90
+ * else is GCE_INVALID_REQUEST. A program pays the same recipient for the
91
+ * same outcome id at most once: repeating the call, for example after a
92
+ * lost response, returns the first payment's receipt.
93
+ */
94
+ outcomeId: string;
95
+ }
96
+ export interface GrantCreditsResponse {
97
+ /**
98
+ * This response confirms a paid receipt. When ok, replayed, receipt_id
99
+ * and credits are set and error is not; when not ok, only error is set.
100
+ * Not ok does not always mean nothing was paid: see GCE_UNAVAILABLE.
101
+ */
102
+ ok: boolean;
103
+ /**
104
+ * False for the first payment, true when this is an earlier payment's
105
+ * receipt.
106
+ */
107
+ replayed?: boolean | undefined;
108
+ receiptId?: string | undefined;
109
+ /**
110
+ * The whole Credits paid, as a decimal string of digits with no sign,
111
+ * decimals or exponent, e.g. "5".
112
+ */
113
+ credits?: string | undefined;
114
+ /**
115
+ * Set on every refusal, GCE_UNSPECIFIED included. Back off on
116
+ * GCE_UNAVAILABLE or GCE_RATE_LIMITED. For other refusals, retry only
117
+ * after the relevant condition changes: a paused program can resume and
118
+ * an exhausted budget can be replenished. Reuse the same outcome id.
119
+ */
120
+ error?: GrantCreditsError | undefined;
121
+ }
122
+ export declare namespace GrantCreditsRequest {
123
+ function encode(message: GrantCreditsRequest, writer?: _m0.Writer): _m0.Writer;
124
+ function decode(input: _m0.Reader | Uint8Array, length?: number): GrantCreditsRequest;
125
+ function fromJSON(object: any): GrantCreditsRequest;
126
+ function toJSON(message: GrantCreditsRequest): unknown;
127
+ function create<I extends Exact<DeepPartial<GrantCreditsRequest>, I>>(base?: I): GrantCreditsRequest;
128
+ function fromPartial<I extends Exact<DeepPartial<GrantCreditsRequest>, I>>(object: I): GrantCreditsRequest;
129
+ }
130
+ export declare namespace GrantCreditsResponse {
131
+ function encode(message: GrantCreditsResponse, writer?: _m0.Writer): _m0.Writer;
132
+ function decode(input: _m0.Reader | Uint8Array, length?: number): GrantCreditsResponse;
133
+ function fromJSON(object: any): GrantCreditsResponse;
134
+ function toJSON(message: GrantCreditsResponse): unknown;
135
+ function create<I extends Exact<DeepPartial<GrantCreditsResponse>, I>>(base?: I): GrantCreditsResponse;
136
+ function fromPartial<I extends Exact<DeepPartial<GrantCreditsResponse>, I>>(object: I): GrantCreditsResponse;
137
+ }
138
+ export type SceneCreditsServiceDefinition = typeof SceneCreditsServiceDefinition;
139
+ export declare const SceneCreditsServiceDefinition: {
140
+ readonly name: "SceneCreditsService";
141
+ readonly fullName: "decentraland.kernel.apis.SceneCreditsService";
142
+ readonly methods: {
143
+ /**
144
+ * Pays the recipient the program's Credits for the outcome. The amount,
145
+ * the budget and the limits are the program's, never the scene's.
146
+ *
147
+ * Only a scene's authoritative server can pay. In an explorer the call
148
+ * always resolves with ok false and GCE_NOT_AVAILABLE, whatever the
149
+ * request: the formats and checks described here apply on the
150
+ * authoritative server.
151
+ *
152
+ * There, the scene's identity comes from the server's authenticated
153
+ * credential, never from the request. Basic validation and throttling can
154
+ * answer first. A new payment then checks that the program is pinned to
155
+ * this scene before anything about the program's state or the
156
+ * recipient's eligibility. A program pinned here can learn that a
157
+ * recipient does not meet one of its public requirements.
158
+ * Recovering a paid outcome checks the location it was paid in.
159
+ */
160
+ readonly grantCredits: {
161
+ readonly name: "GrantCredits";
162
+ readonly requestType: typeof GrantCreditsRequest;
163
+ readonly requestStream: false;
164
+ readonly responseType: typeof GrantCreditsResponse;
165
+ readonly responseStream: false;
166
+ readonly options: {};
167
+ };
168
+ };
169
+ };
170
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
171
+ export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {
172
+ $case: string;
173
+ } ? {
174
+ [K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
175
+ } & {
176
+ $case: T["$case"];
177
+ } : T extends {} ? {
178
+ [K in keyof T]?: DeepPartial<T[K]>;
179
+ } : Partial<T>;
180
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
181
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
182
+ [K in keyof P]: Exact<P[K], I[K]>;
183
+ } & {
184
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
185
+ };
186
+ export {};
@@ -0,0 +1,388 @@
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.SceneCreditsServiceDefinition = exports.GrantCreditsResponse = exports.GrantCreditsRequest = exports.GrantCreditsError = exports.protobufPackage = void 0;
7
+ exports.grantCreditsErrorFromJSON = grantCreditsErrorFromJSON;
8
+ exports.grantCreditsErrorToJSON = grantCreditsErrorToJSON;
9
+ /* eslint-disable */
10
+ const minimal_1 = __importDefault(require("protobufjs/minimal"));
11
+ exports.protobufPackage = "decentraland.kernel.apis";
12
+ /**
13
+ * Why a response does not confirm a paid receipt. It does not always mean
14
+ * nothing was paid: after GCE_UNAVAILABLE the outcome is unknown. The numbers
15
+ * are stable, and values may be added later: treat a value you do not know as
16
+ * a refusal, and do not retry it on the same assumptions.
17
+ */
18
+ var GrantCreditsError;
19
+ (function (GrantCreditsError) {
20
+ /**
21
+ * GCE_UNSPECIFIED - A refusal this version does not name, such as a code added later. Do
22
+ * not retry it with the same request.
23
+ */
24
+ GrantCreditsError[GrantCreditsError["GCE_UNSPECIFIED"] = 0] = "GCE_UNSPECIFIED";
25
+ /**
26
+ * GCE_NOT_AVAILABLE - Paying Credits is not available here. An explorer always answers this,
27
+ * and so does an authoritative server while new payments are off or the
28
+ * pinned scene is no longer the one deployed.
29
+ */
30
+ GrantCreditsError[GrantCreditsError["GCE_NOT_AVAILABLE"] = 1] = "GCE_NOT_AVAILABLE";
31
+ /** GCE_INVALID_REQUEST - The request is malformed: see the request's field formats. */
32
+ GrantCreditsError[GrantCreditsError["GCE_INVALID_REQUEST"] = 2] = "GCE_INVALID_REQUEST";
33
+ /**
34
+ * GCE_RATE_LIMITED - Too many requests for this scene or this program, or the server is
35
+ * momentarily busy. Retry shortly, with a short backoff, and the same
36
+ * outcome id.
37
+ */
38
+ GrantCreditsError[GrantCreditsError["GCE_RATE_LIMITED"] = 3] = "GCE_RATE_LIMITED";
39
+ /**
40
+ * GCE_UNAVAILABLE - The outcome could not be decided, or its answer was lost: the Credits
41
+ * may have been paid. Retry later with the same program, recipient and
42
+ * outcome id; a paid outcome is then answered with its receipt.
43
+ */
44
+ GrantCreditsError[GrantCreditsError["GCE_UNAVAILABLE"] = 4] = "GCE_UNAVAILABLE";
45
+ /**
46
+ * GCE_NOT_AUTHORIZED - This scene may not pay from this program: the server's credential was
47
+ * not accepted, the program is unknown or not pinned to this scene, or the
48
+ * outcome was paid in another location.
49
+ */
50
+ GrantCreditsError[GrantCreditsError["GCE_NOT_AUTHORIZED"] = 5] = "GCE_NOT_AUTHORIZED";
51
+ /**
52
+ * GCE_RECIPIENT_NOT_CONNECTED - A new payment needs the recipient connected to this scene's
53
+ * authoritative server.
54
+ */
55
+ GrantCreditsError[GrantCreditsError["GCE_RECIPIENT_NOT_CONNECTED"] = 6] = "GCE_RECIPIENT_NOT_CONNECTED";
56
+ /** GCE_PROGRAM_PAUSED - The program or its studio is paused. */
57
+ GrantCreditsError[GrantCreditsError["GCE_PROGRAM_PAUSED"] = 7] = "GCE_PROGRAM_PAUSED";
58
+ /** GCE_OUTSIDE_SCHEDULE - The program's schedule has no open slot for this outcome now. */
59
+ GrantCreditsError[GrantCreditsError["GCE_OUTSIDE_SCHEDULE"] = 8] = "GCE_OUTSIDE_SCHEDULE";
60
+ /** GCE_BUDGET_EXHAUSTED - The program's ceiling or the studio's budget cannot cover the payment. */
61
+ GrantCreditsError[GrantCreditsError["GCE_BUDGET_EXHAUSTED"] = 9] = "GCE_BUDGET_EXHAUSTED";
62
+ /** GCE_PROGRAM_CAP_REACHED - The program paid all it may pay today. */
63
+ GrantCreditsError[GrantCreditsError["GCE_PROGRAM_CAP_REACHED"] = 10] = "GCE_PROGRAM_CAP_REACHED";
64
+ /**
65
+ * GCE_PLAYER_CAP_REACHED - The recipient was paid as many times as this program pays a player,
66
+ * for the program's payment day or in total. For a program that requires
67
+ * a NAME, also when every eligible NAME this wallet holds was already paid
68
+ * for that day, even if other wallets received those payments.
69
+ */
70
+ GrantCreditsError[GrantCreditsError["GCE_PLAYER_CAP_REACHED"] = 11] = "GCE_PLAYER_CAP_REACHED";
71
+ /**
72
+ * GCE_REQUIREMENT_NOT_MET - The recipient does not meet one of the program's public requirements,
73
+ * such as holding a NAME.
74
+ */
75
+ GrantCreditsError[GrantCreditsError["GCE_REQUIREMENT_NOT_MET"] = 12] = "GCE_REQUIREMENT_NOT_MET";
76
+ /** GCE_RECIPIENT_NOT_ELIGIBLE - The recipient may not be paid by this program. */
77
+ GrantCreditsError[GrantCreditsError["GCE_RECIPIENT_NOT_ELIGIBLE"] = 13] = "GCE_RECIPIENT_NOT_ELIGIBLE";
78
+ GrantCreditsError[GrantCreditsError["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
79
+ })(GrantCreditsError || (exports.GrantCreditsError = GrantCreditsError = {}));
80
+ function grantCreditsErrorFromJSON(object) {
81
+ switch (object) {
82
+ case 0:
83
+ case "GCE_UNSPECIFIED":
84
+ return GrantCreditsError.GCE_UNSPECIFIED;
85
+ case 1:
86
+ case "GCE_NOT_AVAILABLE":
87
+ return GrantCreditsError.GCE_NOT_AVAILABLE;
88
+ case 2:
89
+ case "GCE_INVALID_REQUEST":
90
+ return GrantCreditsError.GCE_INVALID_REQUEST;
91
+ case 3:
92
+ case "GCE_RATE_LIMITED":
93
+ return GrantCreditsError.GCE_RATE_LIMITED;
94
+ case 4:
95
+ case "GCE_UNAVAILABLE":
96
+ return GrantCreditsError.GCE_UNAVAILABLE;
97
+ case 5:
98
+ case "GCE_NOT_AUTHORIZED":
99
+ return GrantCreditsError.GCE_NOT_AUTHORIZED;
100
+ case 6:
101
+ case "GCE_RECIPIENT_NOT_CONNECTED":
102
+ return GrantCreditsError.GCE_RECIPIENT_NOT_CONNECTED;
103
+ case 7:
104
+ case "GCE_PROGRAM_PAUSED":
105
+ return GrantCreditsError.GCE_PROGRAM_PAUSED;
106
+ case 8:
107
+ case "GCE_OUTSIDE_SCHEDULE":
108
+ return GrantCreditsError.GCE_OUTSIDE_SCHEDULE;
109
+ case 9:
110
+ case "GCE_BUDGET_EXHAUSTED":
111
+ return GrantCreditsError.GCE_BUDGET_EXHAUSTED;
112
+ case 10:
113
+ case "GCE_PROGRAM_CAP_REACHED":
114
+ return GrantCreditsError.GCE_PROGRAM_CAP_REACHED;
115
+ case 11:
116
+ case "GCE_PLAYER_CAP_REACHED":
117
+ return GrantCreditsError.GCE_PLAYER_CAP_REACHED;
118
+ case 12:
119
+ case "GCE_REQUIREMENT_NOT_MET":
120
+ return GrantCreditsError.GCE_REQUIREMENT_NOT_MET;
121
+ case 13:
122
+ case "GCE_RECIPIENT_NOT_ELIGIBLE":
123
+ return GrantCreditsError.GCE_RECIPIENT_NOT_ELIGIBLE;
124
+ case -1:
125
+ case "UNRECOGNIZED":
126
+ default:
127
+ return GrantCreditsError.UNRECOGNIZED;
128
+ }
129
+ }
130
+ function grantCreditsErrorToJSON(object) {
131
+ switch (object) {
132
+ case GrantCreditsError.GCE_UNSPECIFIED:
133
+ return "GCE_UNSPECIFIED";
134
+ case GrantCreditsError.GCE_NOT_AVAILABLE:
135
+ return "GCE_NOT_AVAILABLE";
136
+ case GrantCreditsError.GCE_INVALID_REQUEST:
137
+ return "GCE_INVALID_REQUEST";
138
+ case GrantCreditsError.GCE_RATE_LIMITED:
139
+ return "GCE_RATE_LIMITED";
140
+ case GrantCreditsError.GCE_UNAVAILABLE:
141
+ return "GCE_UNAVAILABLE";
142
+ case GrantCreditsError.GCE_NOT_AUTHORIZED:
143
+ return "GCE_NOT_AUTHORIZED";
144
+ case GrantCreditsError.GCE_RECIPIENT_NOT_CONNECTED:
145
+ return "GCE_RECIPIENT_NOT_CONNECTED";
146
+ case GrantCreditsError.GCE_PROGRAM_PAUSED:
147
+ return "GCE_PROGRAM_PAUSED";
148
+ case GrantCreditsError.GCE_OUTSIDE_SCHEDULE:
149
+ return "GCE_OUTSIDE_SCHEDULE";
150
+ case GrantCreditsError.GCE_BUDGET_EXHAUSTED:
151
+ return "GCE_BUDGET_EXHAUSTED";
152
+ case GrantCreditsError.GCE_PROGRAM_CAP_REACHED:
153
+ return "GCE_PROGRAM_CAP_REACHED";
154
+ case GrantCreditsError.GCE_PLAYER_CAP_REACHED:
155
+ return "GCE_PLAYER_CAP_REACHED";
156
+ case GrantCreditsError.GCE_REQUIREMENT_NOT_MET:
157
+ return "GCE_REQUIREMENT_NOT_MET";
158
+ case GrantCreditsError.GCE_RECIPIENT_NOT_ELIGIBLE:
159
+ return "GCE_RECIPIENT_NOT_ELIGIBLE";
160
+ case GrantCreditsError.UNRECOGNIZED:
161
+ default:
162
+ return "UNRECOGNIZED";
163
+ }
164
+ }
165
+ function createBaseGrantCreditsRequest() {
166
+ return { programId: "", recipient: "", outcomeId: "" };
167
+ }
168
+ var GrantCreditsRequest;
169
+ (function (GrantCreditsRequest) {
170
+ function encode(message, writer = minimal_1.default.Writer.create()) {
171
+ if (message.programId !== undefined && message.programId !== "") {
172
+ writer.uint32(10).string(message.programId);
173
+ }
174
+ if (message.recipient !== undefined && message.recipient !== "") {
175
+ writer.uint32(18).string(message.recipient);
176
+ }
177
+ if (message.outcomeId !== undefined && message.outcomeId !== "") {
178
+ writer.uint32(26).string(message.outcomeId);
179
+ }
180
+ return writer;
181
+ }
182
+ GrantCreditsRequest.encode = encode;
183
+ function decode(input, length) {
184
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
185
+ let end = length === undefined ? reader.len : reader.pos + length;
186
+ const message = createBaseGrantCreditsRequest();
187
+ while (reader.pos < end) {
188
+ const tag = reader.uint32();
189
+ switch (tag >>> 3) {
190
+ case 1:
191
+ if (tag !== 10) {
192
+ break;
193
+ }
194
+ message.programId = reader.string();
195
+ continue;
196
+ case 2:
197
+ if (tag !== 18) {
198
+ break;
199
+ }
200
+ message.recipient = reader.string();
201
+ continue;
202
+ case 3:
203
+ if (tag !== 26) {
204
+ break;
205
+ }
206
+ message.outcomeId = reader.string();
207
+ continue;
208
+ }
209
+ if ((tag & 7) === 4 || tag === 0) {
210
+ break;
211
+ }
212
+ reader.skipType(tag & 7);
213
+ }
214
+ return message;
215
+ }
216
+ GrantCreditsRequest.decode = decode;
217
+ function fromJSON(object) {
218
+ return {
219
+ programId: isSet(object.programId) ? String(object.programId) : "",
220
+ recipient: isSet(object.recipient) ? String(object.recipient) : "",
221
+ outcomeId: isSet(object.outcomeId) ? String(object.outcomeId) : "",
222
+ };
223
+ }
224
+ GrantCreditsRequest.fromJSON = fromJSON;
225
+ function toJSON(message) {
226
+ const obj = {};
227
+ message.programId !== undefined && (obj.programId = message.programId);
228
+ message.recipient !== undefined && (obj.recipient = message.recipient);
229
+ message.outcomeId !== undefined && (obj.outcomeId = message.outcomeId);
230
+ return obj;
231
+ }
232
+ GrantCreditsRequest.toJSON = toJSON;
233
+ function create(base) {
234
+ return GrantCreditsRequest.fromPartial(base !== null && base !== void 0 ? base : {});
235
+ }
236
+ GrantCreditsRequest.create = create;
237
+ function fromPartial(object) {
238
+ var _a, _b, _c;
239
+ const message = createBaseGrantCreditsRequest();
240
+ message.programId = (_a = object.programId) !== null && _a !== void 0 ? _a : "";
241
+ message.recipient = (_b = object.recipient) !== null && _b !== void 0 ? _b : "";
242
+ message.outcomeId = (_c = object.outcomeId) !== null && _c !== void 0 ? _c : "";
243
+ return message;
244
+ }
245
+ GrantCreditsRequest.fromPartial = fromPartial;
246
+ })(GrantCreditsRequest || (exports.GrantCreditsRequest = GrantCreditsRequest = {}));
247
+ function createBaseGrantCreditsResponse() {
248
+ return { ok: false, replayed: undefined, receiptId: undefined, credits: undefined, error: undefined };
249
+ }
250
+ var GrantCreditsResponse;
251
+ (function (GrantCreditsResponse) {
252
+ function encode(message, writer = minimal_1.default.Writer.create()) {
253
+ if (message.ok === true) {
254
+ writer.uint32(8).bool(message.ok);
255
+ }
256
+ if (message.replayed !== undefined) {
257
+ writer.uint32(16).bool(message.replayed);
258
+ }
259
+ if (message.receiptId !== undefined) {
260
+ writer.uint32(26).string(message.receiptId);
261
+ }
262
+ if (message.credits !== undefined) {
263
+ writer.uint32(34).string(message.credits);
264
+ }
265
+ if (message.error !== undefined) {
266
+ writer.uint32(40).int32(message.error);
267
+ }
268
+ return writer;
269
+ }
270
+ GrantCreditsResponse.encode = encode;
271
+ function decode(input, length) {
272
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
273
+ let end = length === undefined ? reader.len : reader.pos + length;
274
+ const message = createBaseGrantCreditsResponse();
275
+ while (reader.pos < end) {
276
+ const tag = reader.uint32();
277
+ switch (tag >>> 3) {
278
+ case 1:
279
+ if (tag !== 8) {
280
+ break;
281
+ }
282
+ message.ok = reader.bool();
283
+ continue;
284
+ case 2:
285
+ if (tag !== 16) {
286
+ break;
287
+ }
288
+ message.replayed = reader.bool();
289
+ continue;
290
+ case 3:
291
+ if (tag !== 26) {
292
+ break;
293
+ }
294
+ message.receiptId = reader.string();
295
+ continue;
296
+ case 4:
297
+ if (tag !== 34) {
298
+ break;
299
+ }
300
+ message.credits = reader.string();
301
+ continue;
302
+ case 5:
303
+ if (tag !== 40) {
304
+ break;
305
+ }
306
+ message.error = reader.int32();
307
+ continue;
308
+ }
309
+ if ((tag & 7) === 4 || tag === 0) {
310
+ break;
311
+ }
312
+ reader.skipType(tag & 7);
313
+ }
314
+ return message;
315
+ }
316
+ GrantCreditsResponse.decode = decode;
317
+ function fromJSON(object) {
318
+ return {
319
+ ok: isSet(object.ok) ? Boolean(object.ok) : false,
320
+ replayed: isSet(object.replayed) ? Boolean(object.replayed) : undefined,
321
+ receiptId: isSet(object.receiptId) ? String(object.receiptId) : undefined,
322
+ credits: isSet(object.credits) ? String(object.credits) : undefined,
323
+ error: isSet(object.error) ? grantCreditsErrorFromJSON(object.error) : undefined,
324
+ };
325
+ }
326
+ GrantCreditsResponse.fromJSON = fromJSON;
327
+ function toJSON(message) {
328
+ const obj = {};
329
+ message.ok !== undefined && (obj.ok = message.ok);
330
+ message.replayed !== undefined && (obj.replayed = message.replayed);
331
+ message.receiptId !== undefined && (obj.receiptId = message.receiptId);
332
+ message.credits !== undefined && (obj.credits = message.credits);
333
+ message.error !== undefined &&
334
+ (obj.error = message.error !== undefined ? grantCreditsErrorToJSON(message.error) : undefined);
335
+ return obj;
336
+ }
337
+ GrantCreditsResponse.toJSON = toJSON;
338
+ function create(base) {
339
+ return GrantCreditsResponse.fromPartial(base !== null && base !== void 0 ? base : {});
340
+ }
341
+ GrantCreditsResponse.create = create;
342
+ function fromPartial(object) {
343
+ var _a, _b, _c, _d, _e;
344
+ const message = createBaseGrantCreditsResponse();
345
+ message.ok = (_a = object.ok) !== null && _a !== void 0 ? _a : false;
346
+ message.replayed = (_b = object.replayed) !== null && _b !== void 0 ? _b : undefined;
347
+ message.receiptId = (_c = object.receiptId) !== null && _c !== void 0 ? _c : undefined;
348
+ message.credits = (_d = object.credits) !== null && _d !== void 0 ? _d : undefined;
349
+ message.error = (_e = object.error) !== null && _e !== void 0 ? _e : undefined;
350
+ return message;
351
+ }
352
+ GrantCreditsResponse.fromPartial = fromPartial;
353
+ })(GrantCreditsResponse || (exports.GrantCreditsResponse = GrantCreditsResponse = {}));
354
+ exports.SceneCreditsServiceDefinition = {
355
+ name: "SceneCreditsService",
356
+ fullName: "decentraland.kernel.apis.SceneCreditsService",
357
+ methods: {
358
+ /**
359
+ * Pays the recipient the program's Credits for the outcome. The amount,
360
+ * the budget and the limits are the program's, never the scene's.
361
+ *
362
+ * Only a scene's authoritative server can pay. In an explorer the call
363
+ * always resolves with ok false and GCE_NOT_AVAILABLE, whatever the
364
+ * request: the formats and checks described here apply on the
365
+ * authoritative server.
366
+ *
367
+ * There, the scene's identity comes from the server's authenticated
368
+ * credential, never from the request. Basic validation and throttling can
369
+ * answer first. A new payment then checks that the program is pinned to
370
+ * this scene before anything about the program's state or the
371
+ * recipient's eligibility. A program pinned here can learn that a
372
+ * recipient does not meet one of its public requirements.
373
+ * Recovering a paid outcome checks the location it was paid in.
374
+ */
375
+ grantCredits: {
376
+ name: "GrantCredits",
377
+ requestType: GrantCreditsRequest,
378
+ requestStream: false,
379
+ responseType: GrantCreditsResponse,
380
+ responseStream: false,
381
+ options: {},
382
+ },
383
+ },
384
+ };
385
+ function isSet(value) {
386
+ return value !== null && value !== undefined;
387
+ }
388
+ //# sourceMappingURL=scene_credits.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scene_credits.gen.js","sourceRoot":"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