@dcl/protocol 1.0.0-4543854409.commit-89f5875 → 1.0.0-45872166367.commit-57a13e1

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 (552) hide show
  1. package/README.md +241 -12
  2. package/out-js/about.gen.d.ts +1 -0
  3. package/out-js/{bff-services.gen.js → about.gen.js} +2 -2
  4. package/out-js/about.gen.js.map +1 -0
  5. package/out-js/decentraland/common/border_rect.gen.d.ts +23 -28
  6. package/out-js/decentraland/common/border_rect.gen.js +122 -21
  7. package/out-js/decentraland/common/border_rect.gen.js.map +1 -1
  8. package/out-js/decentraland/common/colors.gen.d.ts +29 -52
  9. package/out-js/decentraland/common/colors.gen.js +125 -40
  10. package/out-js/decentraland/common/colors.gen.js.map +1 -1
  11. package/out-js/decentraland/common/content_mapping.gen.d.ts +8 -20
  12. package/out-js/decentraland/common/content_mapping.gen.js +25 -18
  13. package/out-js/decentraland/common/content_mapping.gen.js.map +1 -1
  14. package/out-js/decentraland/common/gradient.gen.d.ts +50 -0
  15. package/out-js/decentraland/common/gradient.gen.js +147 -0
  16. package/out-js/decentraland/common/gradient.gen.js.map +1 -0
  17. package/out-js/decentraland/common/sdk/user_data.gen.d.ts +24 -176
  18. package/out-js/decentraland/common/sdk/user_data.gen.js +93 -72
  19. package/out-js/decentraland/common/sdk/user_data.gen.js.map +1 -1
  20. package/out-js/decentraland/common/texture.gen.d.ts +38 -252
  21. package/out-js/decentraland/common/texture.gen.js +156 -105
  22. package/out-js/decentraland/common/texture.gen.js.map +1 -1
  23. package/out-js/decentraland/common/vectors.gen.d.ts +38 -68
  24. package/out-js/decentraland/common/vectors.gen.js +172 -57
  25. package/out-js/decentraland/common/vectors.gen.js.map +1 -1
  26. package/out-js/decentraland/kernel/apis/comms_api.gen.d.ts +206 -0
  27. package/out-js/decentraland/kernel/apis/comms_api.gen.js +792 -0
  28. package/out-js/decentraland/kernel/apis/comms_api.gen.js.map +1 -0
  29. package/out-js/decentraland/kernel/apis/communications_controller.gen.d.ts +64 -48
  30. package/out-js/decentraland/kernel/apis/communications_controller.gen.js +319 -36
  31. package/out-js/decentraland/kernel/apis/communications_controller.gen.js.map +1 -1
  32. package/out-js/decentraland/kernel/apis/dev_tools.gen.d.ts +18 -56
  33. package/out-js/decentraland/kernel/apis/dev_tools.gen.js +50 -36
  34. package/out-js/decentraland/kernel/apis/dev_tools.gen.js.map +1 -1
  35. package/out-js/decentraland/kernel/apis/engine_api.gen.d.ts +186 -4088
  36. package/out-js/decentraland/kernel/apis/engine_api.gen.js +650 -1709
  37. package/out-js/decentraland/kernel/apis/engine_api.gen.js.map +1 -1
  38. package/out-js/decentraland/kernel/apis/environment_api.gen.d.ts +151 -691
  39. package/out-js/decentraland/kernel/apis/environment_api.gen.js +439 -320
  40. package/out-js/decentraland/kernel/apis/environment_api.gen.js.map +1 -1
  41. package/out-js/decentraland/kernel/apis/ethereum_controller.gen.d.ts +106 -440
  42. package/out-js/decentraland/kernel/apis/ethereum_controller.gen.js +309 -225
  43. package/out-js/decentraland/kernel/apis/ethereum_controller.gen.js.map +1 -1
  44. package/out-js/decentraland/kernel/apis/parcel_identity.gen.d.ts +70 -518
  45. package/out-js/decentraland/kernel/apis/parcel_identity.gen.js +212 -156
  46. package/out-js/decentraland/kernel/apis/parcel_identity.gen.js.map +1 -1
  47. package/out-js/decentraland/kernel/apis/permissions.gen.d.ts +37 -128
  48. package/out-js/decentraland/kernel/apis/permissions.gen.js +112 -78
  49. package/out-js/decentraland/kernel/apis/permissions.gen.js.map +1 -1
  50. package/out-js/decentraland/kernel/apis/players.gen.d.ts +54 -476
  51. package/out-js/decentraland/kernel/apis/players.gen.js +153 -111
  52. package/out-js/decentraland/kernel/apis/players.gen.js.map +1 -1
  53. package/out-js/decentraland/kernel/apis/portable_experiences.gen.d.ts +84 -309
  54. package/out-js/decentraland/kernel/apis/portable_experiences.gen.js +273 -172
  55. package/out-js/decentraland/kernel/apis/portable_experiences.gen.js.map +1 -1
  56. package/out-js/decentraland/kernel/apis/restricted_actions.gen.d.ts +280 -605
  57. package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +998 -350
  58. package/out-js/decentraland/kernel/apis/restricted_actions.gen.js.map +1 -1
  59. package/out-js/decentraland/kernel/apis/runtime.gen.d.ts +165 -208
  60. package/out-js/decentraland/kernel/apis/runtime.gen.js +660 -172
  61. package/out-js/decentraland/kernel/apis/runtime.gen.js.map +1 -1
  62. package/out-js/decentraland/kernel/apis/scene.gen.d.ts +18 -132
  63. package/out-js/decentraland/kernel/apis/scene.gen.js +52 -38
  64. package/out-js/decentraland/kernel/apis/scene.gen.js.map +1 -1
  65. package/out-js/decentraland/kernel/apis/scene_credits.gen.d.ts +186 -0
  66. package/out-js/decentraland/kernel/apis/scene_credits.gen.js +388 -0
  67. package/out-js/decentraland/kernel/apis/scene_credits.gen.js.map +1 -0
  68. package/out-js/decentraland/kernel/apis/signed_fetch.gen.d.ts +75 -284
  69. package/out-js/decentraland/kernel/apis/signed_fetch.gen.js +292 -106
  70. package/out-js/decentraland/kernel/apis/signed_fetch.gen.js.map +1 -1
  71. package/out-js/decentraland/kernel/apis/social_controller.gen.d.ts +26 -128
  72. package/out-js/decentraland/kernel/apis/social_controller.gen.js +79 -58
  73. package/out-js/decentraland/kernel/apis/social_controller.gen.js.map +1 -1
  74. package/out-js/decentraland/kernel/apis/testing.gen.d.ts +249 -0
  75. package/out-js/decentraland/kernel/apis/testing.gen.js +1073 -0
  76. package/out-js/decentraland/kernel/apis/testing.gen.js.map +1 -0
  77. package/out-js/decentraland/kernel/apis/user_action_module.gen.d.ts +18 -48
  78. package/out-js/decentraland/kernel/apis/user_action_module.gen.js +49 -35
  79. package/out-js/decentraland/kernel/apis/user_action_module.gen.js.map +1 -1
  80. package/out-js/decentraland/kernel/apis/user_identity.gen.d.ts +36 -352
  81. package/out-js/decentraland/kernel/apis/user_identity.gen.js +98 -70
  82. package/out-js/decentraland/kernel/apis/user_identity.gen.js.map +1 -1
  83. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.d.ts +237 -551
  84. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js +1478 -244
  85. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js.map +1 -1
  86. package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.d.ts +81 -561
  87. package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js +318 -242
  88. package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js.map +1 -1
  89. package/out-js/decentraland/kernel/comms/v3/archipelago.gen.d.ts +194 -748
  90. package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js +884 -557
  91. package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js.map +1 -1
  92. package/out-js/decentraland/pulse/pulse_clusters.gen.d.ts +105 -0
  93. package/out-js/decentraland/pulse/pulse_clusters.gen.js +336 -0
  94. package/out-js/decentraland/pulse/pulse_clusters.gen.js.map +1 -0
  95. package/out-js/decentraland/quests/definitions.gen.d.ts +541 -0
  96. package/out-js/decentraland/quests/definitions.gen.js +2728 -0
  97. package/out-js/decentraland/quests/definitions.gen.js.map +1 -0
  98. package/out-js/decentraland/realm/about.gen.d.ts +229 -0
  99. package/out-js/decentraland/realm/about.gen.js +1185 -0
  100. package/out-js/decentraland/realm/about.gen.js.map +1 -0
  101. package/out-js/decentraland/sdk/components/animator.gen.d.ts +19 -141
  102. package/out-js/decentraland/sdk/components/animator.gen.js +66 -72
  103. package/out-js/decentraland/sdk/components/animator.gen.js.map +1 -1
  104. package/out-js/decentraland/sdk/components/audio_source.gen.d.ts +19 -32
  105. package/out-js/decentraland/sdk/components/audio_source.gen.js +62 -23
  106. package/out-js/decentraland/sdk/components/audio_source.gen.js.map +1 -1
  107. package/out-js/decentraland/sdk/components/audio_stream.gen.d.ts +18 -24
  108. package/out-js/decentraland/sdk/components/audio_stream.gen.js +71 -21
  109. package/out-js/decentraland/sdk/components/audio_stream.gen.js.map +1 -1
  110. package/out-js/decentraland/sdk/components/avatar_attach.gen.d.ts +31 -20
  111. package/out-js/decentraland/sdk/components/avatar_attach.gen.js +162 -22
  112. package/out-js/decentraland/sdk/components/avatar_attach.gen.js.map +1 -1
  113. package/out-js/decentraland/sdk/components/avatar_base.gen.d.ts +38 -0
  114. package/out-js/decentraland/sdk/components/avatar_base.gen.js +148 -0
  115. package/out-js/decentraland/sdk/components/avatar_base.gen.js.map +1 -0
  116. package/out-js/decentraland/sdk/components/avatar_emote_command.gen.d.ts +64 -0
  117. package/out-js/decentraland/sdk/components/avatar_emote_command.gen.js +171 -0
  118. package/out-js/decentraland/sdk/components/avatar_emote_command.gen.js.map +1 -0
  119. package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.d.ts +55 -0
  120. package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js +182 -0
  121. package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js.map +1 -0
  122. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.d.ts +10 -48
  123. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js +38 -24
  124. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js.map +1 -1
  125. package/out-js/decentraland/sdk/components/avatar_nametag.gen.d.ts +58 -0
  126. package/out-js/decentraland/sdk/components/avatar_nametag.gen.js +117 -0
  127. package/out-js/decentraland/sdk/components/avatar_nametag.gen.js.map +1 -0
  128. package/out-js/decentraland/sdk/components/avatar_shape.gen.d.ts +37 -140
  129. package/out-js/decentraland/sdk/components/avatar_shape.gen.js +49 -29
  130. package/out-js/decentraland/sdk/components/avatar_shape.gen.js.map +1 -1
  131. package/out-js/decentraland/sdk/components/billboard.gen.d.ts +21 -19
  132. package/out-js/decentraland/sdk/components/billboard.gen.js +49 -25
  133. package/out-js/decentraland/sdk/components/billboard.gen.js.map +1 -1
  134. package/out-js/decentraland/sdk/components/camera_mode.gen.d.ts +8 -16
  135. package/out-js/decentraland/sdk/components/camera_mode.gen.js +24 -17
  136. package/out-js/decentraland/sdk/components/camera_mode.gen.js.map +1 -1
  137. package/out-js/decentraland/sdk/components/camera_mode_area.gen.d.ts +8 -44
  138. package/out-js/decentraland/sdk/components/camera_mode_area.gen.js +25 -18
  139. package/out-js/decentraland/sdk/components/camera_mode_area.gen.js.map +1 -1
  140. package/out-js/decentraland/sdk/components/common/avatar_mask.gen.d.ts +8 -0
  141. package/out-js/decentraland/sdk/components/common/avatar_mask.gen.js +34 -0
  142. package/out-js/decentraland/sdk/components/common/avatar_mask.gen.js.map +1 -0
  143. package/out-js/decentraland/sdk/components/common/camera_type.gen.js +4 -4
  144. package/out-js/decentraland/sdk/components/common/camera_type.gen.js.map +1 -1
  145. package/out-js/decentraland/sdk/components/common/explorer_ui.gen.d.ts +19 -0
  146. package/out-js/decentraland/sdk/components/common/explorer_ui.gen.js +80 -0
  147. package/out-js/decentraland/sdk/components/common/explorer_ui.gen.js.map +1 -0
  148. package/out-js/decentraland/sdk/components/common/input_action.gen.d.ts +11 -0
  149. package/out-js/decentraland/sdk/components/common/input_action.gen.js +59 -7
  150. package/out-js/decentraland/sdk/components/common/input_action.gen.js.map +1 -1
  151. package/out-js/decentraland/sdk/components/common/loading_state.gen.d.ts +11 -0
  152. package/out-js/decentraland/sdk/components/common/loading_state.gen.js +57 -0
  153. package/out-js/decentraland/sdk/components/common/loading_state.gen.js.map +1 -0
  154. package/out-js/decentraland/sdk/components/common/raycast_hit.gen.d.ts +8 -136
  155. package/out-js/decentraland/sdk/components/common/raycast_hit.gen.js +30 -23
  156. package/out-js/decentraland/sdk/components/common/raycast_hit.gen.js.map +1 -1
  157. package/out-js/decentraland/sdk/components/common/texts.gen.js +7 -7
  158. package/out-js/decentraland/sdk/components/common/texts.gen.js.map +1 -1
  159. package/out-js/decentraland/sdk/components/engine_info.gen.d.ts +43 -0
  160. package/out-js/decentraland/sdk/components/engine_info.gen.js +107 -0
  161. package/out-js/decentraland/sdk/components/engine_info.gen.js.map +1 -0
  162. package/out-js/decentraland/sdk/components/environment_fog.gen.d.ts +44 -0
  163. package/out-js/decentraland/sdk/components/environment_fog.gen.js +86 -0
  164. package/out-js/decentraland/sdk/components/environment_fog.gen.js.map +1 -0
  165. package/out-js/decentraland/sdk/components/explorer_item_purchase_result.gen.d.ts +78 -0
  166. package/out-js/decentraland/sdk/components/explorer_item_purchase_result.gen.js +308 -0
  167. package/out-js/decentraland/sdk/components/explorer_item_purchase_result.gen.js.map +1 -0
  168. package/out-js/decentraland/sdk/components/explorer_ui_events_result.gen.d.ts +73 -0
  169. package/out-js/decentraland/sdk/components/explorer_ui_events_result.gen.js +231 -0
  170. package/out-js/decentraland/sdk/components/explorer_ui_events_result.gen.js.map +1 -0
  171. package/out-js/decentraland/sdk/components/gltf_container.gen.d.ts +12 -16
  172. package/out-js/decentraland/sdk/components/gltf_container.gen.js +59 -20
  173. package/out-js/decentraland/sdk/components/gltf_container.gen.js.map +1 -1
  174. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.d.ts +35 -0
  175. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js +70 -0
  176. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js.map +1 -0
  177. package/out-js/decentraland/sdk/components/gltf_node_modifiers.gen.d.ts +57 -0
  178. package/out-js/decentraland/sdk/components/gltf_node_modifiers.gen.js +164 -0
  179. package/out-js/decentraland/sdk/components/gltf_node_modifiers.gen.js.map +1 -0
  180. package/out-js/decentraland/sdk/components/material.gen.d.ts +30 -3374
  181. package/out-js/decentraland/sdk/components/material.gen.js +134 -104
  182. package/out-js/decentraland/sdk/components/material.gen.js.map +1 -1
  183. package/out-js/decentraland/sdk/components/mesh_collider.gen.d.ts +47 -181
  184. package/out-js/decentraland/sdk/components/mesh_collider.gen.js +160 -123
  185. package/out-js/decentraland/sdk/components/mesh_collider.gen.js.map +1 -1
  186. package/out-js/decentraland/sdk/components/mesh_renderer.gen.d.ts +43 -223
  187. package/out-js/decentraland/sdk/components/mesh_renderer.gen.js +145 -110
  188. package/out-js/decentraland/sdk/components/mesh_renderer.gen.js.map +1 -1
  189. package/out-js/decentraland/sdk/components/nft_shape.gen.d.ts +11 -51
  190. package/out-js/decentraland/sdk/components/nft_shape.gen.js +37 -30
  191. package/out-js/decentraland/sdk/components/nft_shape.gen.js.map +1 -1
  192. package/out-js/decentraland/sdk/components/player_identity_data.gen.d.ts +37 -0
  193. package/out-js/decentraland/sdk/components/player_identity_data.gen.js +83 -0
  194. package/out-js/decentraland/sdk/components/player_identity_data.gen.js.map +1 -0
  195. package/out-js/decentraland/sdk/components/pointer_events.gen.d.ts +63 -187
  196. package/out-js/decentraland/sdk/components/pointer_events.gen.js +162 -69
  197. package/out-js/decentraland/sdk/components/pointer_events.gen.js.map +1 -1
  198. package/out-js/decentraland/sdk/components/pointer_events_result.gen.d.ts +11 -209
  199. package/out-js/decentraland/sdk/components/pointer_events_result.gen.js +42 -23
  200. package/out-js/decentraland/sdk/components/pointer_events_result.gen.js.map +1 -1
  201. package/out-js/decentraland/sdk/components/pointer_lock.gen.d.ts +8 -16
  202. package/out-js/decentraland/sdk/components/pointer_lock.gen.js +24 -17
  203. package/out-js/decentraland/sdk/components/pointer_lock.gen.js.map +1 -1
  204. package/out-js/decentraland/sdk/components/raycast.gen.d.ts +10 -250
  205. package/out-js/decentraland/sdk/components/raycast.gen.js +45 -36
  206. package/out-js/decentraland/sdk/components/raycast.gen.js.map +1 -1
  207. package/out-js/decentraland/sdk/components/raycast_result.gen.d.ts +10 -348
  208. package/out-js/decentraland/sdk/components/raycast_result.gen.js +41 -22
  209. package/out-js/decentraland/sdk/components/raycast_result.gen.js.map +1 -1
  210. package/out-js/decentraland/sdk/components/realm_info.gen.d.ts +43 -0
  211. package/out-js/decentraland/sdk/components/realm_info.gen.js +151 -0
  212. package/out-js/decentraland/sdk/components/realm_info.gen.js.map +1 -0
  213. package/out-js/decentraland/sdk/components/skybox.gen.d.ts +103 -0
  214. package/out-js/decentraland/sdk/components/skybox.gen.js +355 -0
  215. package/out-js/decentraland/sdk/components/skybox.gen.js.map +1 -0
  216. package/out-js/decentraland/sdk/components/sun.gen.d.ts +53 -0
  217. package/out-js/decentraland/sdk/components/sun.gen.js +114 -0
  218. package/out-js/decentraland/sdk/components/sun.gen.js.map +1 -0
  219. package/out-js/decentraland/sdk/components/text_shape.gen.d.ts +10 -174
  220. package/out-js/decentraland/sdk/components/text_shape.gen.js +58 -38
  221. package/out-js/decentraland/sdk/components/text_shape.gen.js.map +1 -1
  222. package/out-js/decentraland/sdk/components/touch_screen_controls.gen.d.ts +77 -0
  223. package/out-js/decentraland/sdk/components/touch_screen_controls.gen.js +201 -0
  224. package/out-js/decentraland/sdk/components/touch_screen_controls.gen.js.map +1 -0
  225. package/out-js/decentraland/sdk/components/tween.gen.d.ts +220 -0
  226. package/out-js/decentraland/sdk/components/tween.gen.js +1213 -0
  227. package/out-js/decentraland/sdk/components/tween.gen.js.map +1 -0
  228. package/out-js/decentraland/sdk/components/tween_sequence.gen.d.ts +39 -0
  229. package/out-js/decentraland/sdk/components/tween_sequence.gen.js +122 -0
  230. package/out-js/decentraland/sdk/components/tween_sequence.gen.js.map +1 -0
  231. package/out-js/decentraland/sdk/components/tween_state.gen.d.ts +40 -0
  232. package/out-js/decentraland/sdk/components/tween_state.gen.js +122 -0
  233. package/out-js/decentraland/sdk/components/tween_state.gen.js.map +1 -0
  234. package/out-js/decentraland/sdk/components/ui_background.gen.d.ts +8 -314
  235. package/out-js/decentraland/sdk/components/ui_background.gen.js +33 -26
  236. package/out-js/decentraland/sdk/components/ui_background.gen.js.map +1 -1
  237. package/out-js/decentraland/sdk/components/ui_dropdown.gen.d.ts +10 -78
  238. package/out-js/decentraland/sdk/components/ui_dropdown.gen.js +46 -26
  239. package/out-js/decentraland/sdk/components/ui_dropdown.gen.js.map +1 -1
  240. package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.d.ts +8 -16
  241. package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js +24 -17
  242. package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js.map +1 -1
  243. package/out-js/decentraland/sdk/components/ui_input.gen.d.ts +10 -104
  244. package/out-js/decentraland/sdk/components/ui_input.gen.js +45 -25
  245. package/out-js/decentraland/sdk/components/ui_input.gen.js.map +1 -1
  246. package/out-js/decentraland/sdk/components/ui_input_binding.gen.d.ts +52 -0
  247. package/out-js/decentraland/sdk/components/ui_input_binding.gen.js +81 -0
  248. package/out-js/decentraland/sdk/components/ui_input_binding.gen.js.map +1 -0
  249. package/out-js/decentraland/sdk/components/ui_input_result.gen.d.ts +10 -16
  250. package/out-js/decentraland/sdk/components/ui_input_result.gen.js +41 -20
  251. package/out-js/decentraland/sdk/components/ui_input_result.gen.js.map +1 -1
  252. package/out-js/decentraland/sdk/components/ui_text.gen.d.ts +20 -63
  253. package/out-js/decentraland/sdk/components/ui_text.gen.js +97 -24
  254. package/out-js/decentraland/sdk/components/ui_text.gen.js.map +1 -1
  255. package/out-js/decentraland/sdk/components/ui_transform.gen.d.ts +51 -216
  256. package/out-js/decentraland/sdk/components/ui_transform.gen.js +489 -96
  257. package/out-js/decentraland/sdk/components/ui_transform.gen.js.map +1 -1
  258. package/out-js/decentraland/sdk/components/video_player.gen.d.ts +18 -36
  259. package/out-js/decentraland/sdk/components/video_player.gen.js +69 -23
  260. package/out-js/decentraland/sdk/components/video_player.gen.js.map +1 -1
  261. package/out-js/decentraland/sdk/components/visibility_component.gen.d.ts +16 -16
  262. package/out-js/decentraland/sdk/components/visibility_component.gen.js +41 -20
  263. package/out-js/decentraland/sdk/components/visibility_component.gen.js.map +1 -1
  264. package/out-js/decentraland/sdk/development/local_development.gen.d.ts +70 -0
  265. package/out-js/decentraland/sdk/development/local_development.gen.js +283 -0
  266. package/out-js/decentraland/sdk/development/local_development.gen.js.map +1 -0
  267. package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.d.ts +1005 -0
  268. package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.js +7842 -0
  269. package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.js.map +1 -0
  270. package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.d.ts +398 -0
  271. package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.js +2512 -0
  272. package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.js.map +1 -0
  273. package/out-js/decentraland/social_service/errors.gen.d.ts +96 -0
  274. package/out-js/decentraland/social_service/errors.gen.js +405 -0
  275. package/out-js/decentraland/social_service/errors.gen.js.map +1 -0
  276. package/out-js/decentraland/social_service/v1/social_service_v1.gen.d.ts +501 -0
  277. package/out-js/decentraland/social_service/v1/social_service_v1.gen.js +2517 -0
  278. package/out-js/decentraland/social_service/v1/social_service_v1.gen.js.map +1 -0
  279. package/out-js/decentraland/social_service/v2/social_service_v2.gen.d.ts +1827 -0
  280. package/out-js/decentraland/social_service/v2/social_service_v2.gen.js +9308 -0
  281. package/out-js/decentraland/social_service/v2/social_service_v2.gen.js.map +1 -0
  282. package/out-js/google/protobuf/descriptor.gen.d.ts +200 -87148
  283. package/out-js/google/protobuf/descriptor.gen.js +882 -707
  284. package/out-js/google/protobuf/descriptor.gen.js.map +1 -1
  285. package/out-js/google/protobuf/empty.gen.d.ts +8 -8
  286. package/out-js/google/protobuf/empty.gen.js +23 -16
  287. package/out-js/google/protobuf/empty.gen.js.map +1 -1
  288. package/out-js/quests.gen.d.ts +1 -0
  289. package/out-js/quests.gen.js +6 -0
  290. package/out-js/quests.gen.js.map +1 -0
  291. package/out-js/sdk-development.gen.d.ts +1 -0
  292. package/out-js/sdk-development.gen.js +6 -0
  293. package/out-js/sdk-development.gen.js.map +1 -0
  294. package/out-ts/about.gen.ts +3 -0
  295. package/out-ts/decentraland/common/border_rect.gen.ts +124 -19
  296. package/out-ts/decentraland/common/colors.gen.ts +116 -37
  297. package/out-ts/decentraland/common/content_mapping.gen.ts +17 -17
  298. package/out-ts/decentraland/common/gradient.gen.ts +170 -0
  299. package/out-ts/decentraland/common/sdk/user_data.gen.ts +59 -59
  300. package/out-ts/decentraland/common/texture.gen.ts +114 -81
  301. package/out-ts/decentraland/common/vectors.gen.ts +157 -53
  302. package/out-ts/decentraland/kernel/apis/comms_api.gen.ts +884 -0
  303. package/out-ts/decentraland/kernel/apis/communications_controller.gen.ts +318 -31
  304. package/out-ts/decentraland/kernel/apis/dev_tools.gen.ts +32 -32
  305. package/out-ts/decentraland/kernel/apis/engine_api.gen.ts +500 -1880
  306. package/out-ts/decentraland/kernel/apis/environment_api.gen.ts +310 -277
  307. package/out-ts/decentraland/kernel/apis/ethereum_controller.gen.ts +220 -199
  308. package/out-ts/decentraland/kernel/apis/parcel_identity.gen.ts +132 -132
  309. package/out-ts/decentraland/kernel/apis/permissions.gen.ts +82 -66
  310. package/out-ts/decentraland/kernel/apis/players.gen.ts +106 -94
  311. package/out-ts/decentraland/kernel/apis/portable_experiences.gen.ts +196 -149
  312. package/out-ts/decentraland/kernel/apis/restricted_actions.gen.ts +988 -355
  313. package/out-ts/decentraland/kernel/apis/runtime.gen.ts +705 -178
  314. package/out-ts/decentraland/kernel/apis/scene.gen.ts +34 -34
  315. package/out-ts/decentraland/kernel/apis/scene_credits.gen.ts +459 -0
  316. package/out-ts/decentraland/kernel/apis/signed_fetch.gen.ts +266 -89
  317. package/out-ts/decentraland/kernel/apis/social_controller.gen.ts +50 -48
  318. package/out-ts/decentraland/kernel/apis/testing.gen.ts +1270 -0
  319. package/out-ts/decentraland/kernel/apis/user_action_module.gen.ts +33 -31
  320. package/out-ts/decentraland/kernel/apis/user_identity.gen.ts +66 -62
  321. package/out-ts/decentraland/kernel/comms/rfc4/comms.gen.ts +1576 -225
  322. package/out-ts/decentraland/kernel/comms/rfc5/ws_comms.gen.ts +209 -200
  323. package/out-ts/decentraland/kernel/comms/v3/archipelago.gen.ts +872 -596
  324. package/out-ts/decentraland/pulse/pulse_clusters.gen.ts +422 -0
  325. package/out-ts/decentraland/quests/definitions.gen.ts +3020 -0
  326. package/out-ts/decentraland/{bff/http_endpoints.gen.ts → realm/about.gen.ts} +582 -225
  327. package/out-ts/decentraland/sdk/components/animator.gen.ts +41 -64
  328. package/out-ts/decentraland/sdk/components/audio_source.gen.ts +68 -21
  329. package/out-ts/decentraland/sdk/components/audio_stream.gen.ts +79 -19
  330. package/out-ts/decentraland/sdk/components/avatar_attach.gen.ts +150 -17
  331. package/out-ts/decentraland/sdk/components/avatar_base.gen.ts +171 -0
  332. package/out-ts/decentraland/sdk/components/avatar_emote_command.gen.ts +202 -0
  333. package/out-ts/decentraland/sdk/components/avatar_equipped_data.gen.ts +218 -0
  334. package/out-ts/decentraland/sdk/components/avatar_modifier_area.gen.ts +27 -19
  335. package/out-ts/decentraland/sdk/components/avatar_nametag.gen.ts +162 -0
  336. package/out-ts/decentraland/sdk/components/avatar_shape.gen.ts +73 -42
  337. package/out-ts/decentraland/sdk/components/billboard.gen.ts +49 -22
  338. package/out-ts/decentraland/sdk/components/camera_mode.gen.ts +16 -16
  339. package/out-ts/decentraland/sdk/components/camera_mode_area.gen.ts +17 -17
  340. package/out-ts/decentraland/sdk/components/common/avatar_mask.gen.ts +31 -0
  341. package/out-ts/decentraland/sdk/components/common/explorer_ui.gen.ts +77 -0
  342. package/out-ts/decentraland/sdk/components/common/input_action.gen.ts +52 -0
  343. package/out-ts/decentraland/sdk/components/common/loading_state.gen.ts +54 -0
  344. package/out-ts/decentraland/sdk/components/common/raycast_hit.gen.ts +22 -22
  345. package/out-ts/decentraland/sdk/components/engine_info.gen.ts +134 -0
  346. package/out-ts/decentraland/sdk/components/environment_fog.gen.ts +113 -0
  347. package/out-ts/decentraland/sdk/components/explorer_item_purchase_result.gen.ts +370 -0
  348. package/out-ts/decentraland/sdk/components/explorer_ui_events_result.gen.ts +281 -0
  349. package/out-ts/decentraland/sdk/components/gltf_container.gen.ts +58 -18
  350. package/out-ts/decentraland/sdk/components/gltf_container_loading_state.gen.ts +89 -0
  351. package/out-ts/decentraland/sdk/components/gltf_node_modifiers.gen.ts +204 -0
  352. package/out-ts/decentraland/sdk/components/material.gen.ts +111 -93
  353. package/out-ts/decentraland/sdk/components/mesh_collider.gen.ts +116 -100
  354. package/out-ts/decentraland/sdk/components/mesh_renderer.gen.ts +109 -91
  355. package/out-ts/decentraland/sdk/components/nft_shape.gen.ts +28 -28
  356. package/out-ts/decentraland/sdk/components/player_identity_data.gen.ts +102 -0
  357. package/out-ts/decentraland/sdk/components/pointer_events.gen.ts +186 -58
  358. package/out-ts/decentraland/sdk/components/pointer_events_result.gen.ts +42 -23
  359. package/out-ts/decentraland/sdk/components/pointer_lock.gen.ts +16 -16
  360. package/out-ts/decentraland/sdk/components/raycast.gen.ts +36 -33
  361. package/out-ts/decentraland/sdk/components/raycast_result.gen.ts +35 -20
  362. package/out-ts/decentraland/sdk/components/realm_info.gen.ts +183 -0
  363. package/out-ts/decentraland/sdk/components/skybox.gen.ts +440 -0
  364. package/out-ts/decentraland/sdk/components/sun.gen.ts +155 -0
  365. package/out-ts/decentraland/sdk/components/text_shape.gen.ts +55 -37
  366. package/out-ts/decentraland/sdk/components/touch_screen_controls.gen.ts +265 -0
  367. package/out-ts/decentraland/sdk/components/tween.gen.ts +1336 -0
  368. package/out-ts/decentraland/sdk/components/tween_sequence.gen.ts +134 -0
  369. package/out-ts/decentraland/sdk/components/tween_state.gen.ts +136 -0
  370. package/out-ts/decentraland/sdk/components/ui_background.gen.ts +22 -21
  371. package/out-ts/decentraland/sdk/components/ui_dropdown.gen.ts +43 -25
  372. package/out-ts/decentraland/sdk/components/ui_dropdown_result.gen.ts +16 -16
  373. package/out-ts/decentraland/sdk/components/ui_input.gen.ts +42 -24
  374. package/out-ts/decentraland/sdk/components/ui_input_binding.gen.ts +114 -0
  375. package/out-ts/decentraland/sdk/components/ui_input_result.gen.ts +35 -18
  376. package/out-ts/decentraland/sdk/components/ui_text.gen.ts +99 -23
  377. package/out-ts/decentraland/sdk/components/ui_transform.gen.ts +532 -66
  378. package/out-ts/decentraland/sdk/components/video_player.gen.ts +80 -22
  379. package/out-ts/decentraland/sdk/components/visibility_component.gen.ts +46 -19
  380. package/out-ts/decentraland/sdk/development/local_development.gen.ts +316 -0
  381. package/out-ts/decentraland/sdk/ecs6/components_ecs6.gen.ts +8957 -0
  382. package/out-ts/decentraland/sdk/ecs6/engine_interface_ecs6.gen.ts +2886 -0
  383. package/out-ts/decentraland/social_service/errors.gen.ts +442 -0
  384. package/out-ts/decentraland/social_service/v1/social_service_v1.gen.ts +2799 -0
  385. package/out-ts/decentraland/social_service/v2/social_service_v2.gen.ts +10674 -0
  386. package/out-ts/google/protobuf/descriptor.gen.ts +529 -499
  387. package/out-ts/google/protobuf/empty.gen.ts +15 -15
  388. package/out-ts/quests.gen.ts +3 -0
  389. package/out-ts/sdk-development.gen.ts +3 -0
  390. package/package.json +20 -11
  391. package/proto/decentraland/common/border_rect.proto +9 -1
  392. package/proto/decentraland/common/colors.proto +6 -0
  393. package/proto/decentraland/common/floats.proto +8 -0
  394. package/proto/decentraland/common/gradient.proto +16 -0
  395. package/proto/decentraland/common/options.proto +51 -0
  396. package/proto/decentraland/common/quantization_example.proto +164 -0
  397. package/proto/decentraland/common/texture.proto +13 -9
  398. package/proto/decentraland/common/vectors.proto +7 -0
  399. package/proto/decentraland/kernel/apis/comms_api.proto +61 -0
  400. package/proto/decentraland/kernel/apis/communications_controller.proto +19 -4
  401. package/proto/decentraland/kernel/apis/engine_api.proto +9 -110
  402. package/proto/decentraland/kernel/apis/environment_api.proto +1 -1
  403. package/proto/decentraland/kernel/apis/permissions.proto +1 -0
  404. package/proto/decentraland/kernel/apis/portable_experiences.proto +4 -1
  405. package/proto/decentraland/kernel/apis/restricted_actions.proto +84 -16
  406. package/proto/decentraland/kernel/apis/runtime.proto +47 -9
  407. package/proto/decentraland/kernel/apis/scene_credits.proto +108 -0
  408. package/proto/decentraland/kernel/apis/signed_fetch.proto +6 -0
  409. package/proto/decentraland/kernel/apis/testing.proto +100 -0
  410. package/proto/decentraland/kernel/comms/rfc4/comms.proto +101 -0
  411. package/proto/decentraland/kernel/comms/v3/archipelago.proto +58 -34
  412. package/proto/decentraland/pulse/pulse_client.proto +120 -0
  413. package/proto/decentraland/pulse/pulse_clusters.proto +61 -0
  414. package/proto/decentraland/pulse/pulse_server.proto +144 -0
  415. package/proto/decentraland/pulse/pulse_shared.proto +57 -0
  416. package/proto/decentraland/quests/definitions.proto +185 -0
  417. package/proto/decentraland/realm/about.proto +138 -0
  418. package/proto/decentraland/sdk/components/animator.proto +9 -4
  419. package/proto/decentraland/sdk/components/asset_load.proto +10 -0
  420. package/proto/decentraland/sdk/components/asset_load_loading_state.proto +16 -0
  421. package/proto/decentraland/sdk/components/audio_analysis.proto +44 -0
  422. package/proto/decentraland/sdk/components/audio_event.proto +12 -0
  423. package/proto/decentraland/sdk/components/audio_source.proto +10 -2
  424. package/proto/decentraland/sdk/components/audio_stream.proto +8 -0
  425. package/proto/decentraland/sdk/components/avatar_attach.proto +26 -3
  426. package/proto/decentraland/sdk/components/avatar_base.proto +16 -0
  427. package/proto/decentraland/sdk/components/avatar_emote_command.proto +32 -0
  428. package/proto/decentraland/sdk/components/avatar_equipped_data.proto +22 -0
  429. package/proto/decentraland/sdk/components/avatar_locomotion_settings.proto +21 -0
  430. package/proto/decentraland/sdk/components/avatar_modifier_area.proto +1 -0
  431. package/proto/decentraland/sdk/components/avatar_nametag.proto +33 -0
  432. package/proto/decentraland/sdk/components/avatar_shape.proto +34 -17
  433. package/proto/decentraland/sdk/components/billboard.proto +11 -3
  434. package/proto/decentraland/sdk/components/common/avatar_mask.proto +7 -0
  435. package/proto/decentraland/sdk/components/common/camera_transition.proto +11 -0
  436. package/proto/decentraland/sdk/components/common/explorer_ui.proto +15 -0
  437. package/proto/decentraland/sdk/components/common/input_action.proto +9 -0
  438. package/proto/decentraland/sdk/components/common/loading_state.proto +10 -0
  439. package/proto/decentraland/sdk/components/common/media_state.proto +13 -0
  440. package/proto/decentraland/sdk/components/engine_info.proto +16 -0
  441. package/proto/decentraland/sdk/components/environment_fog.proto +21 -0
  442. package/proto/decentraland/sdk/components/explorer_item_purchase_result.proto +24 -0
  443. package/proto/decentraland/sdk/components/explorer_ui_events_result.proto +33 -0
  444. package/proto/decentraland/sdk/components/gltf_container.proto +6 -0
  445. package/proto/decentraland/sdk/components/gltf_container_loading_state.proto +13 -0
  446. package/proto/decentraland/sdk/components/gltf_node_modifiers.proto +25 -0
  447. package/proto/decentraland/sdk/components/input_modifier.proto +22 -0
  448. package/proto/decentraland/sdk/components/light_source.proto +28 -0
  449. package/proto/decentraland/sdk/components/main_camera.proto +11 -0
  450. package/proto/decentraland/sdk/components/map_pin.proto +16 -0
  451. package/proto/decentraland/sdk/components/material.proto +6 -6
  452. package/proto/decentraland/sdk/components/mesh_collider.proto +6 -6
  453. package/proto/decentraland/sdk/components/mesh_renderer.proto +2 -2
  454. package/proto/decentraland/sdk/components/nft_shape.proto +3 -3
  455. package/proto/decentraland/sdk/components/particle_system.proto +133 -0
  456. package/proto/decentraland/sdk/components/physics_combined_force.proto +21 -0
  457. package/proto/decentraland/sdk/components/physics_combined_impulse.proto +23 -0
  458. package/proto/decentraland/sdk/components/player_identity_data.proto +13 -0
  459. package/proto/decentraland/sdk/components/pointer_events.proto +33 -2
  460. package/proto/decentraland/sdk/components/pointer_events_result.proto +2 -1
  461. package/proto/decentraland/sdk/components/primary_pointer_info.proto +39 -0
  462. package/proto/decentraland/sdk/components/raycast.proto +1 -1
  463. package/proto/decentraland/sdk/components/raycast_result.proto +1 -0
  464. package/proto/decentraland/sdk/components/realm_info.proto +15 -0
  465. package/proto/decentraland/sdk/components/skybox.proto +51 -0
  466. package/proto/decentraland/sdk/components/skybox_time.proto +20 -0
  467. package/proto/decentraland/sdk/components/sun.proto +26 -0
  468. package/proto/decentraland/sdk/components/text_shape.proto +1 -0
  469. package/proto/decentraland/sdk/components/touch_screen_controls.proto +38 -0
  470. package/proto/decentraland/sdk/components/trigger_area.proto +23 -0
  471. package/proto/decentraland/sdk/components/trigger_area_result.proto +34 -0
  472. package/proto/decentraland/sdk/components/tween.proto +117 -0
  473. package/proto/decentraland/sdk/components/tween_sequence.proto +18 -0
  474. package/proto/decentraland/sdk/components/tween_state.proto +18 -0
  475. package/proto/decentraland/sdk/components/ui_background.proto +2 -2
  476. package/proto/decentraland/sdk/components/ui_canvas_information.proto +30 -0
  477. package/proto/decentraland/sdk/components/ui_dropdown.proto +1 -0
  478. package/proto/decentraland/sdk/components/ui_input.proto +1 -0
  479. package/proto/decentraland/sdk/components/ui_input_binding.proto +27 -0
  480. package/proto/decentraland/sdk/components/ui_input_result.proto +1 -0
  481. package/proto/decentraland/sdk/components/ui_text.proto +8 -1
  482. package/proto/decentraland/sdk/components/ui_transform.proto +37 -0
  483. package/proto/decentraland/sdk/components/video_event.proto +25 -0
  484. package/proto/decentraland/sdk/components/video_player.proto +8 -0
  485. package/proto/decentraland/sdk/components/virtual_camera.proto +18 -0
  486. package/proto/decentraland/sdk/components/visibility_component.proto +7 -0
  487. package/proto/decentraland/sdk/development/local_development.proto +29 -0
  488. package/proto/decentraland/sdk/ecs6/components_ecs6.proto +678 -0
  489. package/proto/decentraland/sdk/ecs6/engine_interface_ecs6.proto +151 -0
  490. package/proto/decentraland/social_service/errors.proto +30 -0
  491. package/proto/decentraland/social_service/v1/social_service_v1.proto +163 -0
  492. package/proto/decentraland/social_service/v2/social_service_v2.proto +721 -0
  493. package/protoc-gen-bitwise/generator_csharp.js +248 -0
  494. package/protoc-gen-bitwise/options.js +139 -0
  495. package/protoc-gen-bitwise/plugin.js +87 -0
  496. package/protoc-gen-bitwise/runtime/cs/Quantize.cs +70 -0
  497. package/protoc-gen-bitwise/wire.js +239 -0
  498. package/public/about.proto +5 -0
  499. package/public/comms.proto +2 -1
  500. package/public/quests.proto +5 -0
  501. package/public/sdk-apis.proto +3 -0
  502. package/public/sdk-components.proto +37 -19
  503. package/public/sdk-development.proto +5 -0
  504. package/public/social.proto +3 -1
  505. package/out-js/bff-services.gen.d.ts +0 -1
  506. package/out-js/bff-services.gen.js.map +0 -1
  507. package/out-js/decentraland/bff/authentication_service.gen.d.ts +0 -197
  508. package/out-js/decentraland/bff/authentication_service.gen.js +0 -266
  509. package/out-js/decentraland/bff/authentication_service.gen.js.map +0 -1
  510. package/out-js/decentraland/bff/comms_director_service.gen.d.ts +0 -289
  511. package/out-js/decentraland/bff/comms_director_service.gen.js +0 -228
  512. package/out-js/decentraland/bff/comms_director_service.gen.js.map +0 -1
  513. package/out-js/decentraland/bff/comms_service.gen.d.ts +0 -348
  514. package/out-js/decentraland/bff/comms_service.gen.js +0 -175
  515. package/out-js/decentraland/bff/comms_service.gen.js.map +0 -1
  516. package/out-js/decentraland/bff/http_endpoints.gen.d.ts +0 -929
  517. package/out-js/decentraland/bff/http_endpoints.gen.js +0 -873
  518. package/out-js/decentraland/bff/http_endpoints.gen.js.map +0 -1
  519. package/out-js/decentraland/bff/topics_service.gen.d.ts +0 -272
  520. package/out-js/decentraland/bff/topics_service.gen.js +0 -386
  521. package/out-js/decentraland/bff/topics_service.gen.js.map +0 -1
  522. package/out-js/decentraland/social/friendships/friendships.gen.d.ts +0 -4816
  523. package/out-js/decentraland/social/friendships/friendships.gen.js +0 -1334
  524. package/out-js/decentraland/social/friendships/friendships.gen.js.map +0 -1
  525. package/out-ts/bff-services.gen.ts +0 -3
  526. package/out-ts/decentraland/bff/authentication_service.gen.ts +0 -323
  527. package/out-ts/decentraland/bff/comms_director_service.gen.ts +0 -272
  528. package/out-ts/decentraland/bff/comms_service.gen.ts +0 -212
  529. package/out-ts/decentraland/bff/topics_service.gen.ts +0 -468
  530. package/out-ts/decentraland/social/friendships/friendships.gen.ts +0 -1598
  531. package/proto/buf.yaml +0 -47
  532. package/proto/decentraland/bff/authentication_service.proto +0 -27
  533. package/proto/decentraland/bff/comms_director_service.proto +0 -33
  534. package/proto/decentraland/bff/comms_service.proto +0 -25
  535. package/proto/decentraland/bff/http_endpoints.proto +0 -80
  536. package/proto/decentraland/bff/topics_service.proto +0 -34
  537. package/proto/decentraland/social/friendships/friendships.proto +0 -106
  538. package/proto/google/LICENSE +0 -27
  539. package/proto/google/README.md +0 -1
  540. package/proto/google/api/annotations.json +0 -83
  541. package/proto/google/api/annotations.proto +0 -11
  542. package/proto/google/api/http.json +0 -86
  543. package/proto/google/api/http.proto +0 -31
  544. package/proto/google/protobuf/api.json +0 -118
  545. package/proto/google/protobuf/api.proto +0 -34
  546. package/proto/google/protobuf/descriptor.json +0 -739
  547. package/proto/google/protobuf/descriptor.proto +0 -286
  548. package/proto/google/protobuf/source_context.json +0 -20
  549. package/proto/google/protobuf/source_context.proto +0 -7
  550. package/proto/google/protobuf/type.json +0 -202
  551. package/proto/google/protobuf/type.proto +0 -89
  552. package/public/bff-services.proto +0 -16
@@ -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 !== "") {
172
+ writer.uint32(10).string(message.programId);
173
+ }
174
+ if (message.recipient !== "") {
175
+ writer.uint32(18).string(message.recipient);
176
+ }
177
+ if (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":"","sources":["../../../../out-ts/decentraland/kernel/apis/scene_credits.gen.ts"],"names":[],"mappings":";;;;;;AAyEA,8DAiDC;AAED,0DAkCC;AA9JD,oBAAoB;AACpB,iEAAqC;AAExB,QAAA,eAAe,GAAG,0BAA0B,CAAC;AAE1D;;;;;GAKG;AACH,IAAY,iBA4DX;AA5DD,WAAY,iBAAiB;IAC3B;;;OAGG;IACH,+EAAmB,CAAA;IACnB;;;;OAIG;IACH,mFAAqB,CAAA;IACrB,uFAAuF;IACvF,uFAAuB,CAAA;IACvB;;;;OAIG;IACH,iFAAoB,CAAA;IACpB;;;;OAIG;IACH,+EAAmB,CAAA;IACnB;;;;OAIG;IACH,qFAAsB,CAAA;IACtB;;;OAGG;IACH,uGAA+B,CAAA;IAC/B,gEAAgE;IAChE,qFAAsB,CAAA;IACtB,2FAA2F;IAC3F,yFAAwB,CAAA;IACxB,o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