@misofm/platform 0.27.0 → 0.28.0

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 (425) hide show
  1. package/README.md +309 -204
  2. package/dist/Miso.d.ts +403 -0
  3. package/dist/Miso.d.ts.map +1 -0
  4. package/dist/Miso.js +455 -0
  5. package/dist/Miso.js.map +1 -0
  6. package/dist/auth.d.ts +11 -1
  7. package/dist/auth.d.ts.map +1 -1
  8. package/dist/auth.js +16 -3
  9. package/dist/auth.js.map +1 -1
  10. package/dist/catalog.d.ts +8 -5
  11. package/dist/catalog.d.ts.map +1 -1
  12. package/dist/catalog.js +36 -19
  13. package/dist/catalog.js.map +1 -1
  14. package/dist/client.d.ts +52 -443
  15. package/dist/client.d.ts.map +1 -1
  16. package/dist/client.js +58 -775
  17. package/dist/client.js.map +1 -1
  18. package/dist/contracts/composition_credits/composition_credits.d.ts +38 -48
  19. package/dist/contracts/composition_credits/composition_credits.d.ts.map +1 -1
  20. package/dist/contracts/composition_credits/composition_credits.js +20 -4
  21. package/dist/contracts/composition_credits/composition_credits.js.map +1 -1
  22. package/dist/contracts/composition_routed_stake/composition_routed_stake.d.ts +64 -1
  23. package/dist/contracts/composition_routed_stake/composition_routed_stake.d.ts.map +1 -1
  24. package/dist/contracts/composition_routed_stake/composition_routed_stake.js +66 -1
  25. package/dist/contracts/composition_routed_stake/composition_routed_stake.js.map +1 -1
  26. package/dist/contracts/composition_royalty_pool/composition_royalty_pool.d.ts +52 -4
  27. package/dist/contracts/composition_royalty_pool/composition_royalty_pool.d.ts.map +1 -1
  28. package/dist/contracts/composition_royalty_pool/composition_royalty_pool.js +52 -4
  29. package/dist/contracts/composition_royalty_pool/composition_royalty_pool.js.map +1 -1
  30. package/dist/contracts/composition_royalty_pool_plugin/composition_royalty_pool_plugin.d.ts +63 -1
  31. package/dist/contracts/composition_royalty_pool_plugin/composition_royalty_pool_plugin.d.ts.map +1 -1
  32. package/dist/contracts/composition_royalty_pool_plugin/composition_royalty_pool_plugin.js +63 -1
  33. package/dist/contracts/composition_royalty_pool_plugin/composition_royalty_pool_plugin.js.map +1 -1
  34. package/dist/contracts/genre/genre.d.ts +10 -1
  35. package/dist/contracts/genre/genre.d.ts.map +1 -1
  36. package/dist/contracts/genre/genre.js +8 -1
  37. package/dist/contracts/genre/genre.js.map +1 -1
  38. package/dist/contracts/miso_pay/deps/std/type_name.d.ts.map +1 -0
  39. package/dist/contracts/miso_pay/deps/std/type_name.js.map +1 -0
  40. package/dist/contracts/miso_pay/pay.d.ts +209 -0
  41. package/dist/contracts/miso_pay/pay.d.ts.map +1 -0
  42. package/dist/contracts/miso_pay/pay.js +195 -0
  43. package/dist/contracts/miso_pay/pay.js.map +1 -0
  44. package/dist/contracts/party_cta/party_cta.d.ts +49 -3
  45. package/dist/contracts/party_cta/party_cta.d.ts.map +1 -1
  46. package/dist/contracts/party_cta/party_cta.js +27 -5
  47. package/dist/contracts/party_cta/party_cta.js.map +1 -1
  48. package/dist/contracts/party_genre/party_genre.d.ts +25 -0
  49. package/dist/contracts/party_genre/party_genre.d.ts.map +1 -1
  50. package/dist/contracts/party_genre/party_genre.js +14 -3
  51. package/dist/contracts/party_genre/party_genre.js.map +1 -1
  52. package/dist/contracts/party_media/party_media.d.ts +19 -3
  53. package/dist/contracts/party_media/party_media.d.ts.map +1 -1
  54. package/dist/contracts/party_media/party_media.js +20 -4
  55. package/dist/contracts/party_media/party_media.js.map +1 -1
  56. package/dist/contracts/party_platform_link/party_platform_link.d.ts +15 -7
  57. package/dist/contracts/party_platform_link/party_platform_link.d.ts.map +1 -1
  58. package/dist/contracts/party_platform_link/party_platform_link.js +15 -7
  59. package/dist/contracts/party_platform_link/party_platform_link.js.map +1 -1
  60. package/dist/contracts/party_profile/party_profile.d.ts +63 -8
  61. package/dist/contracts/party_profile/party_profile.d.ts.map +1 -1
  62. package/dist/contracts/party_profile/party_profile.js +33 -8
  63. package/dist/contracts/party_profile/party_profile.js.map +1 -1
  64. package/dist/contracts/party_roles/party_roles.d.ts +28 -3
  65. package/dist/contracts/party_roles/party_roles.d.ts.map +1 -1
  66. package/dist/contracts/party_roles/party_roles.js +19 -4
  67. package/dist/contracts/party_roles/party_roles.js.map +1 -1
  68. package/dist/contracts/party_tags/party_tags.d.ts +23 -3
  69. package/dist/contracts/party_tags/party_tags.d.ts.map +1 -1
  70. package/dist/contracts/party_tags/party_tags.js +16 -4
  71. package/dist/contracts/party_tags/party_tags.js.map +1 -1
  72. package/dist/contracts/party_wallet/party_wallet.d.ts +4 -1
  73. package/dist/contracts/party_wallet/party_wallet.d.ts.map +1 -1
  74. package/dist/contracts/party_wallet/party_wallet.js +2 -1
  75. package/dist/contracts/party_wallet/party_wallet.js.map +1 -1
  76. package/dist/contracts/platform_link/platform_link.d.ts +207 -0
  77. package/dist/contracts/platform_link/platform_link.d.ts.map +1 -0
  78. package/dist/contracts/platform_link/platform_link.js +209 -0
  79. package/dist/contracts/platform_link/platform_link.js.map +1 -0
  80. package/dist/contracts/record/pressing.d.ts +53 -7
  81. package/dist/contracts/record/pressing.d.ts.map +1 -1
  82. package/dist/contracts/record/pressing.js +50 -4
  83. package/dist/contracts/record/pressing.js.map +1 -1
  84. package/dist/contracts/record/record.d.ts +14 -0
  85. package/dist/contracts/record/record.d.ts.map +1 -1
  86. package/dist/contracts/record/record.js +15 -1
  87. package/dist/contracts/record/record.js.map +1 -1
  88. package/dist/contracts/record_shop/listing.d.ts +80 -35
  89. package/dist/contracts/record_shop/listing.d.ts.map +1 -1
  90. package/dist/contracts/record_shop/listing.js +76 -13
  91. package/dist/contracts/record_shop/listing.js.map +1 -1
  92. package/dist/contracts/recording_advisory/recording_advisory.d.ts +15 -15
  93. package/dist/contracts/recording_advisory/recording_advisory.d.ts.map +1 -1
  94. package/dist/contracts/recording_advisory/recording_advisory.js +15 -8
  95. package/dist/contracts/recording_advisory/recording_advisory.js.map +1 -1
  96. package/dist/contracts/recording_credits/recording_credits.d.ts +95 -1350
  97. package/dist/contracts/recording_credits/recording_credits.d.ts.map +1 -1
  98. package/dist/contracts/recording_credits/recording_credits.js +63 -12
  99. package/dist/contracts/recording_credits/recording_credits.js.map +1 -1
  100. package/dist/contracts/recording_engine_session/recording_engine_session.d.ts +30 -49
  101. package/dist/contracts/recording_engine_session/recording_engine_session.d.ts.map +1 -1
  102. package/dist/contracts/recording_engine_session/recording_engine_session.js +19 -4
  103. package/dist/contracts/recording_engine_session/recording_engine_session.js.map +1 -1
  104. package/dist/contracts/recording_genre/recording_genre.d.ts +67 -9
  105. package/dist/contracts/recording_genre/recording_genre.d.ts.map +1 -1
  106. package/dist/contracts/recording_genre/recording_genre.js +53 -9
  107. package/dist/contracts/recording_genre/recording_genre.js.map +1 -1
  108. package/dist/contracts/recording_language/recording_language.d.ts +29 -5
  109. package/dist/contracts/recording_language/recording_language.d.ts.map +1 -1
  110. package/dist/contracts/recording_language/recording_language.js +18 -5
  111. package/dist/contracts/recording_language/recording_language.js.map +1 -1
  112. package/dist/contracts/recording_master_reference/recording_master_reference.d.ts +25 -15
  113. package/dist/contracts/recording_master_reference/recording_master_reference.d.ts.map +1 -1
  114. package/dist/contracts/recording_master_reference/recording_master_reference.js +18 -5
  115. package/dist/contracts/recording_master_reference/recording_master_reference.js.map +1 -1
  116. package/dist/contracts/recording_royalty_pool/recording_royalty_pool.d.ts +55 -4
  117. package/dist/contracts/recording_royalty_pool/recording_royalty_pool.d.ts.map +1 -1
  118. package/dist/contracts/recording_royalty_pool/recording_royalty_pool.js +55 -4
  119. package/dist/contracts/recording_royalty_pool/recording_royalty_pool.js.map +1 -1
  120. package/dist/contracts/recording_royalty_pool_plugin/recording_royalty_pool_plugin.d.ts +66 -1
  121. package/dist/contracts/recording_royalty_pool_plugin/recording_royalty_pool_plugin.d.ts.map +1 -1
  122. package/dist/contracts/recording_royalty_pool_plugin/recording_royalty_pool_plugin.js +66 -1
  123. package/dist/contracts/recording_royalty_pool_plugin/recording_royalty_pool_plugin.js.map +1 -1
  124. package/dist/contracts/recording_streaming_transcode/recording_streaming_transcode.d.ts +12 -9
  125. package/dist/contracts/recording_streaming_transcode/recording_streaming_transcode.d.ts.map +1 -1
  126. package/dist/contracts/recording_streaming_transcode/recording_streaming_transcode.js +11 -4
  127. package/dist/contracts/recording_streaming_transcode/recording_streaming_transcode.js.map +1 -1
  128. package/dist/contracts/release_cover_art/release_cover_art.d.ts +168 -74
  129. package/dist/contracts/release_cover_art/release_cover_art.d.ts.map +1 -1
  130. package/dist/contracts/release_cover_art/release_cover_art.js +126 -10
  131. package/dist/contracts/release_cover_art/release_cover_art.js.map +1 -1
  132. package/dist/contracts/release_credits/release_credits.d.ts +24 -28
  133. package/dist/contracts/release_credits/release_credits.d.ts.map +1 -1
  134. package/dist/contracts/release_credits/release_credits.js +18 -4
  135. package/dist/contracts/release_credits/release_credits.js.map +1 -1
  136. package/dist/contracts/release_description/release_description.d.ts +16 -5
  137. package/dist/contracts/release_description/release_description.d.ts.map +1 -1
  138. package/dist/contracts/release_description/release_description.js +9 -4
  139. package/dist/contracts/release_description/release_description.js.map +1 -1
  140. package/dist/contracts/release_dsp_link/release_dsp_link.d.ts +130 -160
  141. package/dist/contracts/release_dsp_link/release_dsp_link.d.ts.map +1 -1
  142. package/dist/contracts/release_dsp_link/release_dsp_link.js +74 -19
  143. package/dist/contracts/release_dsp_link/release_dsp_link.js.map +1 -1
  144. package/dist/contracts/release_genre/release_genre.d.ts +66 -11
  145. package/dist/contracts/release_genre/release_genre.d.ts.map +1 -1
  146. package/dist/contracts/release_genre/release_genre.js +52 -11
  147. package/dist/contracts/release_genre/release_genre.js.map +1 -1
  148. package/dist/contracts/release_kind/release_kind.d.ts +28 -5
  149. package/dist/contracts/release_kind/release_kind.d.ts.map +1 -1
  150. package/dist/contracts/release_kind/release_kind.js +19 -4
  151. package/dist/contracts/release_kind/release_kind.js.map +1 -1
  152. package/dist/contracts/release_revenue_distributor/release_revenue_distributor.d.ts +17 -0
  153. package/dist/contracts/release_revenue_distributor/release_revenue_distributor.d.ts.map +1 -1
  154. package/dist/contracts/release_revenue_distributor/release_revenue_distributor.js +15 -0
  155. package/dist/contracts/release_revenue_distributor/release_revenue_distributor.js.map +1 -1
  156. package/dist/contracts/release_revenue_distributor_plugin/release_revenue_distributor_plugin.d.ts +37 -1
  157. package/dist/contracts/release_revenue_distributor_plugin/release_revenue_distributor_plugin.d.ts.map +1 -1
  158. package/dist/contracts/release_revenue_distributor_plugin/release_revenue_distributor_plugin.js +37 -1
  159. package/dist/contracts/release_revenue_distributor_plugin/release_revenue_distributor_plugin.js.map +1 -1
  160. package/dist/contracts/routed_stake/routed_stake.d.ts +78 -6
  161. package/dist/contracts/routed_stake/routed_stake.d.ts.map +1 -1
  162. package/dist/contracts/routed_stake/routed_stake.js +79 -7
  163. package/dist/contracts/routed_stake/routed_stake.js.map +1 -1
  164. package/dist/contracts/royalty_pool/pool.d.ts +117 -27
  165. package/dist/contracts/royalty_pool/pool.d.ts.map +1 -1
  166. package/dist/contracts/royalty_pool/pool.js +117 -28
  167. package/dist/contracts/royalty_pool/pool.js.map +1 -1
  168. package/dist/contracts/royalty_pool/stake.d.ts +3 -0
  169. package/dist/contracts/royalty_pool/stake.d.ts.map +1 -1
  170. package/dist/contracts/royalty_pool/stake.js +5 -2
  171. package/dist/contracts/royalty_pool/stake.js.map +1 -1
  172. package/dist/contracts/share/share.d.ts +80 -0
  173. package/dist/contracts/share/share.d.ts.map +1 -0
  174. package/dist/contracts/share/share.js +72 -0
  175. package/dist/contracts/share/share.js.map +1 -0
  176. package/dist/contracts/vault/vault.d.ts +51 -0
  177. package/dist/contracts/vault/vault.d.ts.map +1 -1
  178. package/dist/contracts/vault/vault.js +55 -4
  179. package/dist/contracts/vault/vault.js.map +1 -1
  180. package/dist/contracts.d.ts +60 -0
  181. package/dist/contracts.d.ts.map +1 -1
  182. package/dist/contracts.js +17 -0
  183. package/dist/contracts.js.map +1 -1
  184. package/dist/cover.d.ts +5 -6
  185. package/dist/cover.d.ts.map +1 -1
  186. package/dist/cover.js +10 -10
  187. package/dist/cover.js.map +1 -1
  188. package/dist/credits.d.ts +12 -13
  189. package/dist/credits.d.ts.map +1 -1
  190. package/dist/credits.js +16 -10
  191. package/dist/credits.js.map +1 -1
  192. package/dist/deployments.d.ts +3 -3
  193. package/dist/deployments.d.ts.map +1 -1
  194. package/dist/deployments.js +2 -3
  195. package/dist/deployments.js.map +1 -1
  196. package/dist/errors.d.ts +24 -9
  197. package/dist/errors.d.ts.map +1 -1
  198. package/dist/errors.js +43 -16
  199. package/dist/errors.js.map +1 -1
  200. package/dist/events.d.ts +1687 -835
  201. package/dist/events.d.ts.map +1 -1
  202. package/dist/events.js +258 -39
  203. package/dist/events.js.map +1 -1
  204. package/dist/genre.d.ts +11 -12
  205. package/dist/genre.d.ts.map +1 -1
  206. package/dist/genre.js +5 -3
  207. package/dist/genre.js.map +1 -1
  208. package/dist/index.d.ts +3 -3
  209. package/dist/index.d.ts.map +1 -1
  210. package/dist/index.js +7 -2
  211. package/dist/index.js.map +1 -1
  212. package/dist/packages.d.ts +1047 -1695
  213. package/dist/packages.d.ts.map +1 -1
  214. package/dist/party/client.d.ts +113 -296
  215. package/dist/party/client.d.ts.map +1 -1
  216. package/dist/party/client.js +93 -178
  217. package/dist/party/client.js.map +1 -1
  218. package/dist/party/extensions/ctas.d.ts +3 -3
  219. package/dist/party/extensions/ctas.d.ts.map +1 -1
  220. package/dist/party/extensions/genres.d.ts +4 -4
  221. package/dist/party/extensions/genres.d.ts.map +1 -1
  222. package/dist/party/extensions/links.d.ts +5 -5
  223. package/dist/party/extensions/links.d.ts.map +1 -1
  224. package/dist/party/extensions/links.js.map +1 -1
  225. package/dist/party/extensions/media.d.ts +3 -3
  226. package/dist/party/extensions/media.d.ts.map +1 -1
  227. package/dist/party/extensions/profile.d.ts +3 -3
  228. package/dist/party/extensions/profile.d.ts.map +1 -1
  229. package/dist/party/extensions/roles.d.ts +4 -4
  230. package/dist/party/extensions/roles.d.ts.map +1 -1
  231. package/dist/party/extensions/roles.js.map +1 -1
  232. package/dist/party/extensions/tags.d.ts +4 -4
  233. package/dist/party/extensions/tags.d.ts.map +1 -1
  234. package/dist/party/index.d.ts +1 -1
  235. package/dist/party/index.d.ts.map +1 -1
  236. package/dist/party/index.js.map +1 -1
  237. package/dist/party/queries.d.ts +8 -8
  238. package/dist/party/queries.d.ts.map +1 -1
  239. package/dist/party/queries.js +83 -56
  240. package/dist/party/queries.js.map +1 -1
  241. package/dist/pressing.d.ts +13 -15
  242. package/dist/pressing.d.ts.map +1 -1
  243. package/dist/pressing.js +99 -29
  244. package/dist/pressing.js.map +1 -1
  245. package/dist/publication.d.ts +13 -6
  246. package/dist/publication.d.ts.map +1 -1
  247. package/dist/publication.js +26 -21
  248. package/dist/publication.js.map +1 -1
  249. package/dist/queries.js +3 -3
  250. package/dist/queries.js.map +1 -1
  251. package/dist/read/artist.d.ts +4 -3
  252. package/dist/read/artist.d.ts.map +1 -1
  253. package/dist/read/artist.js +24 -8
  254. package/dist/read/artist.js.map +1 -1
  255. package/dist/read/catalog.d.ts +17 -16
  256. package/dist/read/catalog.d.ts.map +1 -1
  257. package/dist/read/catalog.js +25 -11
  258. package/dist/read/catalog.js.map +1 -1
  259. package/dist/read/client.d.ts +41 -20
  260. package/dist/read/client.d.ts.map +1 -1
  261. package/dist/read/client.js +20 -12
  262. package/dist/read/client.js.map +1 -1
  263. package/dist/read/config.d.ts +25 -3
  264. package/dist/read/config.d.ts.map +1 -1
  265. package/dist/read/config.js +42 -25
  266. package/dist/read/config.js.map +1 -1
  267. package/dist/read/genres.d.ts +8 -3
  268. package/dist/read/genres.d.ts.map +1 -1
  269. package/dist/read/genres.js +23 -17
  270. package/dist/read/genres.js.map +1 -1
  271. package/dist/read/index.d.ts +1 -1
  272. package/dist/read/index.d.ts.map +1 -1
  273. package/dist/read/index.js +8 -6
  274. package/dist/read/index.js.map +1 -1
  275. package/dist/read/receipts.d.ts +5 -4
  276. package/dist/read/receipts.d.ts.map +1 -1
  277. package/dist/read/receipts.js +94 -46
  278. package/dist/read/receipts.js.map +1 -1
  279. package/dist/read/royalties.d.ts +6 -5
  280. package/dist/read/royalties.d.ts.map +1 -1
  281. package/dist/read/royalties.js +16 -9
  282. package/dist/read/royalties.js.map +1 -1
  283. package/dist/read/wallet.d.ts +23 -12
  284. package/dist/read/wallet.d.ts.map +1 -1
  285. package/dist/read/wallet.js +158 -177
  286. package/dist/read/wallet.js.map +1 -1
  287. package/dist/read/works.d.ts +6 -6
  288. package/dist/read/works.d.ts.map +1 -1
  289. package/dist/read/works.js +40 -26
  290. package/dist/read/works.js.map +1 -1
  291. package/dist/recording-extensions.d.ts +15 -16
  292. package/dist/recording-extensions.d.ts.map +1 -1
  293. package/dist/recording-extensions.js +12 -8
  294. package/dist/recording-extensions.js.map +1 -1
  295. package/dist/release-extensions.d.ts +5 -6
  296. package/dist/release-extensions.d.ts.map +1 -1
  297. package/dist/release-extensions.js +3 -2
  298. package/dist/release-extensions.js.map +1 -1
  299. package/dist/release-graph.d.ts +2 -2
  300. package/dist/release-graph.d.ts.map +1 -1
  301. package/dist/release-graph.js.map +1 -1
  302. package/dist/royalty.d.ts +4 -4
  303. package/dist/royalty.d.ts.map +1 -1
  304. package/dist/royalty.js +16 -7
  305. package/dist/royalty.js.map +1 -1
  306. package/dist/share.d.ts +58 -24
  307. package/dist/share.d.ts.map +1 -1
  308. package/dist/share.js +167 -92
  309. package/dist/share.js.map +1 -1
  310. package/dist/transactions.d.ts +15 -6
  311. package/dist/transactions.d.ts.map +1 -1
  312. package/dist/transactions.js +1 -0
  313. package/dist/transactions.js.map +1 -1
  314. package/dist/vault.d.ts +13 -3
  315. package/dist/vault.d.ts.map +1 -1
  316. package/dist/vault.js +22 -16
  317. package/dist/vault.js.map +1 -1
  318. package/package.json +9 -8
  319. package/src/Miso.ts +951 -0
  320. package/src/auth.ts +16 -3
  321. package/src/catalog.ts +58 -25
  322. package/src/client.ts +98 -1359
  323. package/src/contracts/composition_credits/composition_credits.ts +20 -4
  324. package/src/contracts/composition_routed_stake/composition_routed_stake.ts +67 -1
  325. package/src/contracts/composition_royalty_pool/composition_royalty_pool.ts +53 -4
  326. package/src/contracts/composition_royalty_pool_plugin/composition_royalty_pool_plugin.ts +64 -1
  327. package/src/contracts/genre/genre.ts +8 -1
  328. package/src/contracts/miso_pay/pay.ts +356 -0
  329. package/src/contracts/party_cta/party_cta.ts +27 -5
  330. package/src/contracts/party_genre/party_genre.ts +14 -3
  331. package/src/contracts/party_media/party_media.ts +20 -4
  332. package/src/contracts/party_platform_link/party_platform_link.ts +15 -7
  333. package/src/contracts/party_profile/party_profile.ts +33 -8
  334. package/src/contracts/party_roles/party_roles.ts +19 -4
  335. package/src/contracts/party_tags/party_tags.ts +16 -4
  336. package/src/contracts/party_wallet/party_wallet.ts +2 -1
  337. package/src/contracts/platform_link/platform_link.ts +322 -0
  338. package/src/contracts/record/pressing.ts +50 -4
  339. package/src/contracts/record/record.ts +15 -1
  340. package/src/contracts/record_shop/listing.ts +76 -13
  341. package/src/contracts/recording_advisory/recording_advisory.ts +15 -8
  342. package/src/contracts/recording_credits/recording_credits.ts +63 -12
  343. package/src/contracts/recording_engine_session/recording_engine_session.ts +19 -4
  344. package/src/contracts/recording_genre/recording_genre.ts +53 -9
  345. package/src/contracts/recording_language/recording_language.ts +18 -5
  346. package/src/contracts/recording_master_reference/recording_master_reference.ts +18 -5
  347. package/src/contracts/recording_royalty_pool/recording_royalty_pool.ts +56 -4
  348. package/src/contracts/recording_royalty_pool_plugin/recording_royalty_pool_plugin.ts +67 -1
  349. package/src/contracts/recording_streaming_transcode/recording_streaming_transcode.ts +11 -4
  350. package/src/contracts/release_cover_art/release_cover_art.ts +126 -10
  351. package/src/contracts/release_credits/release_credits.ts +18 -4
  352. package/src/contracts/release_description/release_description.ts +9 -4
  353. package/src/contracts/release_dsp_link/release_dsp_link.ts +74 -19
  354. package/src/contracts/release_genre/release_genre.ts +52 -11
  355. package/src/contracts/release_kind/release_kind.ts +19 -4
  356. package/src/contracts/release_revenue_distributor/release_revenue_distributor.ts +15 -0
  357. package/src/contracts/release_revenue_distributor_plugin/release_revenue_distributor_plugin.ts +38 -1
  358. package/src/contracts/routed_stake/routed_stake.ts +79 -7
  359. package/src/contracts/royalty_pool/pool.ts +140 -38
  360. package/src/contracts/royalty_pool/stake.ts +5 -2
  361. package/src/contracts/share/share.ts +97 -0
  362. package/src/contracts/vault/vault.ts +55 -4
  363. package/src/contracts.ts +18 -0
  364. package/src/cover.ts +14 -15
  365. package/src/credits.ts +27 -22
  366. package/src/deployments.ts +3 -4
  367. package/src/errors.ts +64 -34
  368. package/src/events.ts +260 -39
  369. package/src/genre.ts +15 -14
  370. package/src/index.ts +19 -10
  371. package/src/party/client.ts +217 -208
  372. package/src/party/extensions/ctas.ts +3 -3
  373. package/src/party/extensions/genres.ts +4 -4
  374. package/src/party/extensions/links.ts +7 -7
  375. package/src/party/extensions/media.ts +3 -3
  376. package/src/party/extensions/profile.ts +3 -3
  377. package/src/party/extensions/roles.ts +5 -5
  378. package/src/party/extensions/tags.ts +4 -4
  379. package/src/party/index.ts +0 -1
  380. package/src/party/queries.ts +90 -87
  381. package/src/pressing.ts +132 -89
  382. package/src/publication.ts +33 -32
  383. package/src/queries.ts +3 -3
  384. package/src/read/artist.ts +36 -17
  385. package/src/read/catalog.ts +68 -36
  386. package/src/read/client.ts +55 -30
  387. package/src/read/config.ts +55 -30
  388. package/src/read/genres.ts +22 -18
  389. package/src/read/index.ts +8 -6
  390. package/src/read/receipts.ts +130 -67
  391. package/src/read/royalties.ts +22 -10
  392. package/src/read/wallet.ts +226 -216
  393. package/src/read/works.ts +51 -44
  394. package/src/recording-extensions.ts +27 -24
  395. package/src/release-extensions.ts +7 -7
  396. package/src/release-graph.ts +2 -1
  397. package/src/royalty.ts +19 -25
  398. package/src/share.ts +197 -128
  399. package/src/transactions.ts +15 -8
  400. package/src/vault.ts +24 -31
  401. package/dist/contracts/record_shop/deps/std/type_name.d.ts.map +0 -1
  402. package/dist/contracts/record_shop/deps/std/type_name.js.map +0 -1
  403. package/dist/contracts/recording_language/deps/language_code/language_code.d.ts +0 -6
  404. package/dist/contracts/recording_language/deps/language_code/language_code.d.ts.map +0 -1
  405. package/dist/contracts/recording_language/deps/language_code/language_code.js +0 -8
  406. package/dist/contracts/recording_language/deps/language_code/language_code.js.map +0 -1
  407. package/dist/contracts/recording_master_reference/deps/ori/confidentiality.d.ts +0 -24
  408. package/dist/contracts/recording_master_reference/deps/ori/confidentiality.d.ts.map +0 -1
  409. package/dist/contracts/recording_master_reference/deps/ori/confidentiality.js +0 -24
  410. package/dist/contracts/recording_master_reference/deps/ori/confidentiality.js.map +0 -1
  411. package/dist/contracts/recording_master_reference/deps/ori/data.d.ts +0 -16
  412. package/dist/contracts/recording_master_reference/deps/ori/data.d.ts.map +0 -1
  413. package/dist/contracts/recording_master_reference/deps/ori/data.js +0 -12
  414. package/dist/contracts/recording_master_reference/deps/ori/data.js.map +0 -1
  415. package/dist/execute.d.ts +0 -32
  416. package/dist/execute.d.ts.map +0 -1
  417. package/dist/execute.js +0 -36
  418. package/dist/execute.js.map +0 -1
  419. package/src/contracts/recording_language/deps/language_code/language_code.ts +0 -8
  420. package/src/contracts/recording_master_reference/deps/ori/confidentiality.ts +0 -24
  421. package/src/contracts/recording_master_reference/deps/ori/data.ts +0 -12
  422. package/src/execute.ts +0 -56
  423. /package/dist/contracts/{record_shop → miso_pay}/deps/std/type_name.d.ts +0 -0
  424. /package/dist/contracts/{record_shop → miso_pay}/deps/std/type_name.js +0 -0
  425. /package/src/contracts/{record_shop → miso_pay}/deps/std/type_name.ts +0 -0
package/dist/events.d.ts CHANGED
@@ -1,986 +1,974 @@
1
+ import type { BcsType } from "@mysten/sui/bcs";
1
2
  /**
2
- * Platform event decoder registry, grouped by package responsibility:
3
- * `extensions` (work extensions) and `primitives` (royalty pool / routed
4
- * stake). Merge with `@misofm/musicos`'s `eventParsers.core` at the call site
5
- * when a single indexer needs both.
3
+ * Public decoder registry, grouped by package responsibility. Work and Party
4
+ * extensions belong to platform because they are Miso's product choices; the
5
+ * object model's own event registry is kept in its owning package.
6
6
  */
7
7
  export declare const platformEventParsers: {
8
8
  readonly extensions: {
9
9
  readonly compositionCredits: {
10
10
  readonly creditAdded: (bytes: Uint8Array) => {
11
11
  composition_id: string;
12
+ composition_admin_cap_id: string;
12
13
  party_id: string;
13
- credit: {
14
- display_name: string;
15
- roles: import("@mysten/bcs").EnumOutputShapeWithKeys<{
16
- Adapter: true;
17
- Arranger: true;
18
- Composer: true;
19
- Lyricist: true;
20
- Songwriter: true;
21
- Translator: true;
22
- Custom: string;
23
- }, "Adapter" | "Arranger" | "Composer" | "Custom" | "Lyricist" | "Songwriter" | "Translator">[];
24
- };
14
+ display_name: number[];
15
+ role_kinds: number[];
16
+ role_custom_names: number[][];
17
+ credit_count_before: string;
18
+ credit_count_after: string;
19
+ credit_index: string;
20
+ credits_record_existed_before: boolean;
21
+ credits_record_exists_after: boolean;
25
22
  };
26
23
  readonly creditRemoved: (bytes: Uint8Array) => {
27
24
  composition_id: string;
25
+ composition_admin_cap_id: string;
28
26
  party_id: string;
29
- credit: {
30
- display_name: string;
31
- roles: import("@mysten/bcs").EnumOutputShapeWithKeys<{
32
- Adapter: true;
33
- Arranger: true;
34
- Composer: true;
35
- Lyricist: true;
36
- Songwriter: true;
37
- Translator: true;
38
- Custom: string;
39
- }, "Adapter" | "Arranger" | "Composer" | "Custom" | "Lyricist" | "Songwriter" | "Translator">[];
40
- };
27
+ display_name: number[];
28
+ role_kinds: number[];
29
+ role_custom_names: number[][];
30
+ credit_count_before: string;
31
+ credit_count_after: string;
32
+ credit_index: string;
33
+ credits_record_existed_before: boolean;
34
+ credits_record_exists_after: boolean;
41
35
  };
42
36
  };
43
37
  readonly recordingAdvisory: {
44
38
  readonly ratingSet: (bytes: Uint8Array) => {
45
39
  recording_id: string;
46
- rating: import("@mysten/bcs").EnumOutputShapeWithKeys<{
47
- Explicit: true;
48
- NotExplicit: true;
49
- Cleaned: true;
50
- }, "Cleaned" | "Explicit" | "NotExplicit">;
40
+ composition_id: string;
41
+ admin_cap_id: string;
42
+ had_rating: boolean;
43
+ previous_rating: number;
44
+ rating: number;
51
45
  };
52
46
  readonly ratingUnset: (bytes: Uint8Array) => {
53
47
  recording_id: string;
48
+ composition_id: string;
49
+ admin_cap_id: string;
50
+ previous_rating: number;
51
+ };
52
+ readonly ratingCleared: (bytes: Uint8Array) => {
53
+ recording_id: string;
54
+ composition_id: string;
55
+ admin_cap_id: string;
56
+ previous_rating: number;
54
57
  };
55
58
  };
56
59
  readonly recordingCredits: {
57
60
  readonly creditAdded: (bytes: Uint8Array) => {
58
61
  recording_id: string;
62
+ composition_id: string;
63
+ admin_cap_id: string;
59
64
  party_id: string;
60
- credit: {
61
- display_name: string;
62
- roles: import("@mysten/bcs").EnumOutputShapeWithKeys<{
63
- Actor: import("@mysten/bcs").EnumOutputShapeWithKeys<{
64
- Additional: true;
65
- Assistant: true;
66
- Associate: true;
67
- Backing: true;
68
- Executive: true;
69
- Featured: true;
70
- Lead: true;
71
- Primary: true;
72
- Principal: true;
73
- }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
74
- Arranger: import("@mysten/bcs").EnumOutputShapeWithKeys<{
75
- Additional: true;
76
- Assistant: true;
77
- Associate: true;
78
- Backing: true;
79
- Executive: true;
80
- Featured: true;
81
- Lead: true;
82
- Primary: true;
83
- Principal: true;
84
- }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
85
- ArtistsAndRepertoire: true;
86
- BandLeader: import("@mysten/bcs").EnumOutputShapeWithKeys<{
87
- Additional: true;
88
- Assistant: true;
89
- Associate: true;
90
- Backing: true;
91
- Executive: true;
92
- Featured: true;
93
- Lead: true;
94
- Primary: true;
95
- Principal: true;
96
- }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
97
- Choir: import("@mysten/bcs").EnumOutputShapeWithKeys<{
98
- Additional: true;
99
- Assistant: true;
100
- Associate: true;
101
- Backing: true;
102
- Executive: true;
103
- Featured: true;
104
- Lead: true;
105
- Primary: true;
106
- Principal: true;
107
- }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
108
- ChoirMaster: import("@mysten/bcs").EnumOutputShapeWithKeys<{
109
- Additional: true;
110
- Assistant: true;
111
- Associate: true;
112
- Backing: true;
113
- Executive: true;
114
- Featured: true;
115
- Lead: true;
116
- Primary: true;
117
- Principal: true;
118
- }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
119
- ConcertMaster: import("@mysten/bcs").EnumOutputShapeWithKeys<{
120
- Additional: true;
121
- Assistant: true;
122
- Associate: true;
123
- Backing: true;
124
- Executive: true;
125
- Featured: true;
126
- Lead: true;
127
- Primary: true;
128
- Principal: true;
129
- }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
130
- Conductor: import("@mysten/bcs").EnumOutputShapeWithKeys<{
131
- Additional: true;
132
- Assistant: true;
133
- Associate: true;
134
- Backing: true;
135
- Executive: true;
136
- Featured: true;
137
- Lead: true;
138
- Primary: true;
139
- Principal: true;
140
- }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
141
- Contractor: import("@mysten/bcs").EnumOutputShapeWithKeys<{
142
- Additional: true;
143
- Assistant: true;
144
- Associate: true;
145
- Backing: true;
146
- Executive: true;
147
- Featured: true;
148
- Lead: true;
149
- Primary: true;
150
- Principal: true;
151
- }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
152
- Copyist: true;
153
- DJ: import("@mysten/bcs").EnumOutputShapeWithKeys<{
154
- Additional: true;
155
- Assistant: true;
156
- Associate: true;
157
- Backing: true;
158
- Executive: true;
159
- Featured: true;
160
- Lead: true;
161
- Primary: true;
162
- Principal: true;
163
- }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
164
- Editor: import("@mysten/bcs").EnumOutputShapeWithKeys<{
165
- Additional: true;
166
- Assistant: true;
167
- Associate: true;
168
- Backing: true;
169
- Executive: true;
170
- Featured: true;
171
- Lead: true;
172
- Primary: true;
173
- Principal: true;
174
- }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
175
- Engineer: import("@mysten/bcs").EnumOutputShapeWithKeys<{
176
- Additional: true;
177
- Assistant: true;
178
- Associate: true;
179
- Backing: true;
180
- Executive: true;
181
- Featured: true;
182
- Lead: true;
183
- Primary: true;
184
- Principal: true;
185
- }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
186
- Ensemble: import("@mysten/bcs").EnumOutputShapeWithKeys<{
187
- Additional: true;
188
- Assistant: true;
189
- Associate: true;
190
- Backing: true;
191
- Executive: true;
192
- Featured: true;
193
- Lead: true;
194
- Primary: true;
195
- Principal: true;
196
- }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
197
- Instrumentalist: [string, import("@mysten/bcs").EnumOutputShapeWithKeys<{
198
- Additional: true;
199
- Assistant: true;
200
- Associate: true;
201
- Backing: true;
202
- Executive: true;
203
- Featured: true;
204
- Lead: true;
205
- Primary: true;
206
- Principal: true;
207
- }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null];
208
- MasteringEngineer: import("@mysten/bcs").EnumOutputShapeWithKeys<{
209
- Additional: true;
210
- Assistant: true;
211
- Associate: true;
212
- Backing: true;
213
- Executive: true;
214
- Featured: true;
215
- Lead: true;
216
- Primary: true;
217
- Principal: true;
218
- }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
219
- MixingEngineer: import("@mysten/bcs").EnumOutputShapeWithKeys<{
220
- Additional: true;
221
- Assistant: true;
222
- Associate: true;
223
- Backing: true;
224
- Executive: true;
225
- Featured: true;
226
- Lead: true;
227
- Primary: true;
228
- Principal: true;
229
- }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
230
- MusicDirector: import("@mysten/bcs").EnumOutputShapeWithKeys<{
231
- Additional: true;
232
- Assistant: true;
233
- Associate: true;
234
- Backing: true;
235
- Executive: true;
236
- Featured: true;
237
- Lead: true;
238
- Primary: true;
239
- Principal: true;
240
- }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
241
- MusicSupervisor: import("@mysten/bcs").EnumOutputShapeWithKeys<{
242
- Additional: true;
243
- Assistant: true;
244
- Associate: true;
245
- Backing: true;
246
- Executive: true;
247
- Featured: true;
248
- Lead: true;
249
- Primary: true;
250
- Principal: true;
251
- }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
252
- Narrator: import("@mysten/bcs").EnumOutputShapeWithKeys<{
253
- Additional: true;
254
- Assistant: true;
255
- Associate: true;
256
- Backing: true;
257
- Executive: true;
258
- Featured: true;
259
- Lead: true;
260
- Primary: true;
261
- Principal: true;
262
- }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
263
- Orchestra: import("@mysten/bcs").EnumOutputShapeWithKeys<{
264
- Additional: true;
265
- Assistant: true;
266
- Associate: true;
267
- Backing: true;
268
- Executive: true;
269
- Featured: true;
270
- Lead: true;
271
- Primary: true;
272
- Principal: true;
273
- }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
274
- Orchestrator: import("@mysten/bcs").EnumOutputShapeWithKeys<{
275
- Additional: true;
276
- Assistant: true;
277
- Associate: true;
278
- Backing: true;
279
- Executive: true;
280
- Featured: true;
281
- Lead: true;
282
- Primary: true;
283
- Principal: true;
284
- }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
285
- Performer: import("@mysten/bcs").EnumOutputShapeWithKeys<{
286
- Additional: true;
287
- Assistant: true;
288
- Associate: true;
289
- Backing: true;
290
- Executive: true;
291
- Featured: true;
292
- Lead: true;
293
- Primary: true;
294
- Principal: true;
295
- }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
296
- Producer: import("@mysten/bcs").EnumOutputShapeWithKeys<{
297
- Additional: true;
298
- Assistant: true;
299
- Associate: true;
300
- Backing: true;
301
- Executive: true;
302
- Featured: true;
303
- Lead: true;
304
- Primary: true;
305
- Principal: true;
306
- }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
307
- Programmer: import("@mysten/bcs").EnumOutputShapeWithKeys<{
308
- Additional: true;
309
- Assistant: true;
310
- Associate: true;
311
- Backing: true;
312
- Executive: true;
313
- Featured: true;
314
- Lead: true;
315
- Primary: true;
316
- Principal: true;
317
- }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
318
- RecordingEngineer: import("@mysten/bcs").EnumOutputShapeWithKeys<{
319
- Additional: true;
320
- Assistant: true;
321
- Associate: true;
322
- Backing: true;
323
- Executive: true;
324
- Featured: true;
325
- Lead: true;
326
- Primary: true;
327
- Principal: true;
328
- }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
329
- RemixingEngineer: import("@mysten/bcs").EnumOutputShapeWithKeys<{
330
- Additional: true;
331
- Assistant: true;
332
- Associate: true;
333
- Backing: true;
334
- Executive: true;
335
- Featured: true;
336
- Lead: true;
337
- Primary: true;
338
- Principal: true;
339
- }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
340
- Soloist: import("@mysten/bcs").EnumOutputShapeWithKeys<{
341
- Additional: true;
342
- Assistant: true;
343
- Associate: true;
344
- Backing: true;
345
- Executive: true;
346
- Featured: true;
347
- Lead: true;
348
- Primary: true;
349
- Principal: true;
350
- }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
351
- SoundDesigner: import("@mysten/bcs").EnumOutputShapeWithKeys<{
352
- Additional: true;
353
- Assistant: true;
354
- Associate: true;
355
- Backing: true;
356
- Executive: true;
357
- Featured: true;
358
- Lead: true;
359
- Primary: true;
360
- Principal: true;
361
- }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
362
- Speaker: import("@mysten/bcs").EnumOutputShapeWithKeys<{
363
- Additional: true;
364
- Assistant: true;
365
- Associate: true;
366
- Backing: true;
367
- Executive: true;
368
- Featured: true;
369
- Lead: true;
370
- Primary: true;
371
- Principal: true;
372
- }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
373
- Vocalist: import("@mysten/bcs").EnumOutputShapeWithKeys<{
374
- Additional: true;
375
- Assistant: true;
376
- Associate: true;
377
- Backing: true;
378
- Executive: true;
379
- Featured: true;
380
- Lead: true;
381
- Primary: true;
382
- Principal: true;
383
- }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
384
- Custom: [string, import("@mysten/bcs").EnumOutputShapeWithKeys<{
385
- Additional: true;
386
- Assistant: true;
387
- Associate: true;
388
- Backing: true;
389
- Executive: true;
390
- Featured: true;
391
- Lead: true;
392
- Primary: true;
393
- Principal: true;
394
- }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null];
395
- }, "Actor" | "Arranger" | "ArtistsAndRepertoire" | "BandLeader" | "Choir" | "ChoirMaster" | "ConcertMaster" | "Conductor" | "Contractor" | "Copyist" | "Custom" | "DJ" | "Editor" | "Engineer" | "Ensemble" | "Instrumentalist" | "MasteringEngineer" | "MixingEngineer" | "MusicDirector" | "MusicSupervisor" | "Narrator" | "Orchestra" | "Orchestrator" | "Performer" | "Producer" | "Programmer" | "RecordingEngineer" | "RemixingEngineer" | "Soloist" | "SoundDesigner" | "Speaker" | "Vocalist">[];
396
- };
65
+ display_name: number[];
66
+ role_kinds: number[];
67
+ role_names: number[][];
68
+ role_instruments: number[][];
69
+ role_levels: number[];
70
+ credit_index: string;
71
+ credit_count_before: string;
72
+ credit_count_after: string;
73
+ credits_initialized: boolean;
397
74
  };
398
75
  readonly creditRemoved: (bytes: Uint8Array) => {
399
76
  recording_id: string;
77
+ composition_id: string;
78
+ admin_cap_id: string;
400
79
  party_id: string;
401
- credit: {
402
- display_name: string;
403
- roles: import("@mysten/bcs").EnumOutputShapeWithKeys<{
404
- Actor: import("@mysten/bcs").EnumOutputShapeWithKeys<{
405
- Additional: true;
406
- Assistant: true;
407
- Associate: true;
408
- Backing: true;
409
- Executive: true;
410
- Featured: true;
411
- Lead: true;
412
- Primary: true;
413
- Principal: true;
414
- }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
415
- Arranger: import("@mysten/bcs").EnumOutputShapeWithKeys<{
416
- Additional: true;
417
- Assistant: true;
418
- Associate: true;
419
- Backing: true;
420
- Executive: true;
421
- Featured: true;
422
- Lead: true;
423
- Primary: true;
424
- Principal: true;
425
- }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
426
- ArtistsAndRepertoire: true;
427
- BandLeader: import("@mysten/bcs").EnumOutputShapeWithKeys<{
428
- Additional: true;
429
- Assistant: true;
430
- Associate: true;
431
- Backing: true;
432
- Executive: true;
433
- Featured: true;
434
- Lead: true;
435
- Primary: true;
436
- Principal: true;
437
- }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
438
- Choir: import("@mysten/bcs").EnumOutputShapeWithKeys<{
439
- Additional: true;
440
- Assistant: true;
441
- Associate: true;
442
- Backing: true;
443
- Executive: true;
444
- Featured: true;
445
- Lead: true;
446
- Primary: true;
447
- Principal: true;
448
- }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
449
- ChoirMaster: import("@mysten/bcs").EnumOutputShapeWithKeys<{
450
- Additional: true;
451
- Assistant: true;
452
- Associate: true;
453
- Backing: true;
454
- Executive: true;
455
- Featured: true;
456
- Lead: true;
457
- Primary: true;
458
- Principal: true;
459
- }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
460
- ConcertMaster: import("@mysten/bcs").EnumOutputShapeWithKeys<{
461
- Additional: true;
462
- Assistant: true;
463
- Associate: true;
464
- Backing: true;
465
- Executive: true;
466
- Featured: true;
467
- Lead: true;
468
- Primary: true;
469
- Principal: true;
470
- }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
471
- Conductor: import("@mysten/bcs").EnumOutputShapeWithKeys<{
472
- Additional: true;
473
- Assistant: true;
474
- Associate: true;
475
- Backing: true;
476
- Executive: true;
477
- Featured: true;
478
- Lead: true;
479
- Primary: true;
480
- Principal: true;
481
- }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
482
- Contractor: import("@mysten/bcs").EnumOutputShapeWithKeys<{
483
- Additional: true;
484
- Assistant: true;
485
- Associate: true;
486
- Backing: true;
487
- Executive: true;
488
- Featured: true;
489
- Lead: true;
490
- Primary: true;
491
- Principal: true;
492
- }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
493
- Copyist: true;
494
- DJ: import("@mysten/bcs").EnumOutputShapeWithKeys<{
495
- Additional: true;
496
- Assistant: true;
497
- Associate: true;
498
- Backing: true;
499
- Executive: true;
500
- Featured: true;
501
- Lead: true;
502
- Primary: true;
503
- Principal: true;
504
- }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
505
- Editor: import("@mysten/bcs").EnumOutputShapeWithKeys<{
506
- Additional: true;
507
- Assistant: true;
508
- Associate: true;
509
- Backing: true;
510
- Executive: true;
511
- Featured: true;
512
- Lead: true;
513
- Primary: true;
514
- Principal: true;
515
- }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
516
- Engineer: import("@mysten/bcs").EnumOutputShapeWithKeys<{
517
- Additional: true;
518
- Assistant: true;
519
- Associate: true;
520
- Backing: true;
521
- Executive: true;
522
- Featured: true;
523
- Lead: true;
524
- Primary: true;
525
- Principal: true;
526
- }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
527
- Ensemble: import("@mysten/bcs").EnumOutputShapeWithKeys<{
528
- Additional: true;
529
- Assistant: true;
530
- Associate: true;
531
- Backing: true;
532
- Executive: true;
533
- Featured: true;
534
- Lead: true;
535
- Primary: true;
536
- Principal: true;
537
- }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
538
- Instrumentalist: [string, import("@mysten/bcs").EnumOutputShapeWithKeys<{
539
- Additional: true;
540
- Assistant: true;
541
- Associate: true;
542
- Backing: true;
543
- Executive: true;
544
- Featured: true;
545
- Lead: true;
546
- Primary: true;
547
- Principal: true;
548
- }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null];
549
- MasteringEngineer: import("@mysten/bcs").EnumOutputShapeWithKeys<{
550
- Additional: true;
551
- Assistant: true;
552
- Associate: true;
553
- Backing: true;
554
- Executive: true;
555
- Featured: true;
556
- Lead: true;
557
- Primary: true;
558
- Principal: true;
559
- }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
560
- MixingEngineer: import("@mysten/bcs").EnumOutputShapeWithKeys<{
561
- Additional: true;
562
- Assistant: true;
563
- Associate: true;
564
- Backing: true;
565
- Executive: true;
566
- Featured: true;
567
- Lead: true;
568
- Primary: true;
569
- Principal: true;
570
- }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
571
- MusicDirector: import("@mysten/bcs").EnumOutputShapeWithKeys<{
572
- Additional: true;
573
- Assistant: true;
574
- Associate: true;
575
- Backing: true;
576
- Executive: true;
577
- Featured: true;
578
- Lead: true;
579
- Primary: true;
580
- Principal: true;
581
- }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
582
- MusicSupervisor: import("@mysten/bcs").EnumOutputShapeWithKeys<{
583
- Additional: true;
584
- Assistant: true;
585
- Associate: true;
586
- Backing: true;
587
- Executive: true;
588
- Featured: true;
589
- Lead: true;
590
- Primary: true;
591
- Principal: true;
592
- }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
593
- Narrator: import("@mysten/bcs").EnumOutputShapeWithKeys<{
594
- Additional: true;
595
- Assistant: true;
596
- Associate: true;
597
- Backing: true;
598
- Executive: true;
599
- Featured: true;
600
- Lead: true;
601
- Primary: true;
602
- Principal: true;
603
- }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
604
- Orchestra: import("@mysten/bcs").EnumOutputShapeWithKeys<{
605
- Additional: true;
606
- Assistant: true;
607
- Associate: true;
608
- Backing: true;
609
- Executive: true;
610
- Featured: true;
611
- Lead: true;
612
- Primary: true;
613
- Principal: true;
614
- }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
615
- Orchestrator: import("@mysten/bcs").EnumOutputShapeWithKeys<{
616
- Additional: true;
617
- Assistant: true;
618
- Associate: true;
619
- Backing: true;
620
- Executive: true;
621
- Featured: true;
622
- Lead: true;
623
- Primary: true;
624
- Principal: true;
625
- }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
626
- Performer: import("@mysten/bcs").EnumOutputShapeWithKeys<{
627
- Additional: true;
628
- Assistant: true;
629
- Associate: true;
630
- Backing: true;
631
- Executive: true;
632
- Featured: true;
633
- Lead: true;
634
- Primary: true;
635
- Principal: true;
636
- }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
637
- Producer: import("@mysten/bcs").EnumOutputShapeWithKeys<{
638
- Additional: true;
639
- Assistant: true;
640
- Associate: true;
641
- Backing: true;
642
- Executive: true;
643
- Featured: true;
644
- Lead: true;
645
- Primary: true;
646
- Principal: true;
647
- }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
648
- Programmer: import("@mysten/bcs").EnumOutputShapeWithKeys<{
649
- Additional: true;
650
- Assistant: true;
651
- Associate: true;
652
- Backing: true;
653
- Executive: true;
654
- Featured: true;
655
- Lead: true;
656
- Primary: true;
657
- Principal: true;
658
- }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
659
- RecordingEngineer: import("@mysten/bcs").EnumOutputShapeWithKeys<{
660
- Additional: true;
661
- Assistant: true;
662
- Associate: true;
663
- Backing: true;
664
- Executive: true;
665
- Featured: true;
666
- Lead: true;
667
- Primary: true;
668
- Principal: true;
669
- }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
670
- RemixingEngineer: import("@mysten/bcs").EnumOutputShapeWithKeys<{
671
- Additional: true;
672
- Assistant: true;
673
- Associate: true;
674
- Backing: true;
675
- Executive: true;
676
- Featured: true;
677
- Lead: true;
678
- Primary: true;
679
- Principal: true;
680
- }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
681
- Soloist: import("@mysten/bcs").EnumOutputShapeWithKeys<{
682
- Additional: true;
683
- Assistant: true;
684
- Associate: true;
685
- Backing: true;
686
- Executive: true;
687
- Featured: true;
688
- Lead: true;
689
- Primary: true;
690
- Principal: true;
691
- }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
692
- SoundDesigner: import("@mysten/bcs").EnumOutputShapeWithKeys<{
693
- Additional: true;
694
- Assistant: true;
695
- Associate: true;
696
- Backing: true;
697
- Executive: true;
698
- Featured: true;
699
- Lead: true;
700
- Primary: true;
701
- Principal: true;
702
- }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
703
- Speaker: import("@mysten/bcs").EnumOutputShapeWithKeys<{
704
- Additional: true;
705
- Assistant: true;
706
- Associate: true;
707
- Backing: true;
708
- Executive: true;
709
- Featured: true;
710
- Lead: true;
711
- Primary: true;
712
- Principal: true;
713
- }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
714
- Vocalist: import("@mysten/bcs").EnumOutputShapeWithKeys<{
715
- Additional: true;
716
- Assistant: true;
717
- Associate: true;
718
- Backing: true;
719
- Executive: true;
720
- Featured: true;
721
- Lead: true;
722
- Primary: true;
723
- Principal: true;
724
- }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
725
- Custom: [string, import("@mysten/bcs").EnumOutputShapeWithKeys<{
726
- Additional: true;
727
- Assistant: true;
728
- Associate: true;
729
- Backing: true;
730
- Executive: true;
731
- Featured: true;
732
- Lead: true;
733
- Primary: true;
734
- Principal: true;
735
- }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null];
736
- }, "Actor" | "Arranger" | "ArtistsAndRepertoire" | "BandLeader" | "Choir" | "ChoirMaster" | "ConcertMaster" | "Conductor" | "Contractor" | "Copyist" | "Custom" | "DJ" | "Editor" | "Engineer" | "Ensemble" | "Instrumentalist" | "MasteringEngineer" | "MixingEngineer" | "MusicDirector" | "MusicSupervisor" | "Narrator" | "Orchestra" | "Orchestrator" | "Performer" | "Producer" | "Programmer" | "RecordingEngineer" | "RemixingEngineer" | "Soloist" | "SoundDesigner" | "Speaker" | "Vocalist">[];
737
- };
80
+ display_name: number[];
81
+ role_kinds: number[];
82
+ role_names: number[][];
83
+ role_instruments: number[][];
84
+ role_levels: number[];
85
+ credit_index: string;
86
+ credit_count_before: string;
87
+ credit_count_after: string;
88
+ was_primary_artist: boolean;
89
+ was_featured_artist: boolean;
738
90
  };
739
91
  readonly primaryArtistAdded: (bytes: Uint8Array) => {
740
92
  recording_id: string;
93
+ composition_id: string;
94
+ admin_cap_id: string;
741
95
  party_id: string;
96
+ display_name: number[];
97
+ primary_artist_index: string;
98
+ primary_artist_count_before: string;
99
+ primary_artist_count_after: string;
100
+ credit_count_after: string;
742
101
  };
743
102
  readonly primaryArtistRemoved: (bytes: Uint8Array) => {
744
103
  recording_id: string;
104
+ composition_id: string;
105
+ admin_cap_id: string;
745
106
  party_id: string;
107
+ display_name: number[];
108
+ primary_artist_index: string;
109
+ primary_artist_count_before: string;
110
+ primary_artist_count_after: string;
111
+ credit_count_after: string;
112
+ caused_by_credit_removal: boolean;
746
113
  };
747
114
  readonly featuredArtistAdded: (bytes: Uint8Array) => {
748
115
  recording_id: string;
116
+ composition_id: string;
117
+ admin_cap_id: string;
749
118
  party_id: string;
119
+ display_name: number[];
120
+ featured_artist_index: string;
121
+ featured_artist_count_before: string;
122
+ featured_artist_count_after: string;
123
+ credit_count_after: string;
750
124
  };
751
125
  readonly featuredArtistRemoved: (bytes: Uint8Array) => {
752
126
  recording_id: string;
127
+ composition_id: string;
128
+ admin_cap_id: string;
753
129
  party_id: string;
130
+ display_name: number[];
131
+ featured_artist_index: string;
132
+ featured_artist_count_before: string;
133
+ featured_artist_count_after: string;
134
+ credit_count_after: string;
135
+ caused_by_credit_removal: boolean;
136
+ };
137
+ };
138
+ readonly recordingEngineSession: {
139
+ readonly set: (bytes: Uint8Array) => {
140
+ recording_id: string;
141
+ composition_id: string;
142
+ admin_cap_id: string;
143
+ had_previous: boolean;
144
+ value_changed: boolean;
145
+ previous_session_blob_id: string;
146
+ previous_stem_count: string;
147
+ session_blob_id: string;
148
+ stem_count: string;
149
+ stem_digests: number[][];
150
+ stem_blob_ids: string[];
151
+ };
152
+ readonly unset: (bytes: Uint8Array) => {
153
+ recording_id: string;
154
+ composition_id: string;
155
+ admin_cap_id: string;
156
+ removed_session_blob_id: string;
157
+ removed_stem_count: string;
158
+ removed_stem_digests: number[][];
159
+ removed_stem_blob_ids: string[];
754
160
  };
755
161
  };
756
162
  readonly recordingGenre: {
757
163
  readonly genreAdded: (bytes: Uint8Array) => {
758
164
  recording_id: string;
165
+ composition_id: string;
166
+ admin_cap_id: string;
759
167
  genre_id: string;
168
+ genre_name: number[];
169
+ genre_index: string;
170
+ genres_before: string[];
171
+ genres_after: string[];
172
+ genre_count_before: string;
173
+ genre_count_after: string;
174
+ field_existed_before: boolean;
175
+ field_exists_after: boolean;
176
+ had_primary_before: boolean;
177
+ has_primary_after: boolean;
178
+ primary_genre_id_before: string;
179
+ primary_genre_id_after: string;
180
+ primary_changed: boolean;
760
181
  };
761
182
  readonly genreRemoved: (bytes: Uint8Array) => {
762
183
  recording_id: string;
184
+ composition_id: string;
185
+ admin_cap_id: string;
763
186
  genre_id: string;
187
+ genre_index: string;
188
+ genres_before: string[];
189
+ genres_after: string[];
190
+ genre_count_before: string;
191
+ genre_count_after: string;
192
+ field_existed_before: boolean;
193
+ field_exists_after: boolean;
194
+ had_primary_before: boolean;
195
+ has_primary_after: boolean;
196
+ primary_genre_id_before: string;
197
+ primary_genre_id_after: string;
198
+ primary_changed: boolean;
764
199
  };
765
200
  readonly genresCleared: (bytes: Uint8Array) => {
766
201
  recording_id: string;
202
+ composition_id: string;
203
+ admin_cap_id: string;
204
+ clear_cause: number;
205
+ trigger_genre_id: string;
206
+ genres_before: string[];
207
+ genres_after: string[];
208
+ genre_count_before: string;
209
+ genre_count_after: string;
210
+ field_existed_before: boolean;
211
+ field_exists_after: boolean;
212
+ had_primary_before: boolean;
213
+ has_primary_after: boolean;
214
+ primary_genre_id_before: string;
215
+ primary_genre_id_after: string;
216
+ primary_changed: boolean;
767
217
  };
768
218
  };
769
219
  readonly recordingLanguage: {
770
220
  readonly languagesSet: (bytes: Uint8Array) => {
771
221
  recording_id: string;
772
- languages: [string][];
222
+ composition_id: string;
223
+ admin_cap_id: string;
224
+ had_languages: boolean;
225
+ previous_languages: number[][];
226
+ languages: number[][];
227
+ language_count_before: string;
228
+ language_count_after: string;
229
+ was_instrumental: boolean;
230
+ is_instrumental: boolean;
231
+ max_languages: string;
773
232
  };
774
233
  readonly languagesUnset: (bytes: Uint8Array) => {
775
234
  recording_id: string;
235
+ composition_id: string;
236
+ admin_cap_id: string;
237
+ removed_languages: number[][];
238
+ language_count_before: string;
239
+ was_instrumental: boolean;
240
+ };
241
+ readonly languagesCleared: (bytes: Uint8Array) => {
242
+ recording_id: string;
243
+ composition_id: string;
244
+ admin_cap_id: string;
245
+ removed_languages: number[][];
246
+ language_count_before: string;
247
+ was_instrumental: boolean;
776
248
  };
777
249
  };
778
250
  readonly recordingMasterReference: {
779
251
  readonly masterReferenceSet: (bytes: Uint8Array) => {
780
252
  recording_id: string;
781
- reference: {
782
- blob_id: string;
783
- confidentiality: import("@mysten/bcs").EnumOutputShapeWithKeys<{
784
- Unencrypted: true;
785
- Encrypted: {
786
- sealed_dek: number[];
787
- };
788
- }, "Encrypted" | "Unencrypted">;
789
- };
253
+ composition_id: string;
254
+ had_master_reference: boolean;
255
+ previous_blob_id: string;
256
+ previous_is_encrypted: boolean;
257
+ previous_sealed_dek_length: string;
258
+ previous_sealed_dek_digest: number[];
259
+ blob_id: string;
260
+ is_encrypted: boolean;
261
+ sealed_dek_length: string;
262
+ sealed_dek_digest: number[];
790
263
  };
791
264
  readonly masterReferenceUnset: (bytes: Uint8Array) => {
792
265
  recording_id: string;
266
+ composition_id: string;
267
+ removed_blob_id: string;
268
+ removed_is_encrypted: boolean;
269
+ removed_sealed_dek_length: string;
270
+ removed_sealed_dek_digest: number[];
271
+ };
272
+ readonly masterReferenceCleared: (bytes: Uint8Array) => {
273
+ recording_id: string;
274
+ composition_id: string;
275
+ removed_blob_id: string;
276
+ removed_is_encrypted: boolean;
277
+ removed_sealed_dek_length: string;
278
+ removed_sealed_dek_digest: number[];
279
+ };
280
+ };
281
+ readonly recordingStreamingTranscode: {
282
+ readonly set: (bytes: Uint8Array) => {
283
+ recording_id: string;
284
+ composition_id: string;
285
+ admin_cap_id: string;
286
+ had_transcode: boolean;
287
+ previous_quilt_id: string;
288
+ quilt_id: string;
289
+ };
290
+ readonly cleared: (bytes: Uint8Array) => {
291
+ recording_id: string;
292
+ composition_id: string;
293
+ admin_cap_id: string;
294
+ quilt_id: string;
793
295
  };
794
296
  };
795
297
  readonly releaseCoverArt: {
796
298
  readonly coverSet: (bytes: Uint8Array) => {
797
299
  release_id: string;
798
- art: {
799
- still: {
800
- blob_id: string;
801
- confidentiality: import("@mysten/bcs").EnumOutputShapeWithKeys<{
802
- Unencrypted: true;
803
- Encrypted: {
804
- sealed_dek: number[];
805
- };
806
- }, "Encrypted" | "Unencrypted">;
807
- };
808
- animated: {
809
- blob_id: string;
810
- confidentiality: import("@mysten/bcs").EnumOutputShapeWithKeys<{
811
- Unencrypted: true;
812
- Encrypted: {
813
- sealed_dek: number[];
814
- };
815
- }, "Encrypted" | "Unencrypted">;
816
- } | null;
817
- };
300
+ admin_cap_id: string;
301
+ track_count: string;
302
+ field_existed_before: boolean;
303
+ field_exists_after: boolean;
304
+ previous_present: boolean;
305
+ previous_still_blob_id: string;
306
+ previous_still_is_encrypted: boolean;
307
+ previous_still_sealed_dek_length: string;
308
+ previous_still_sealed_dek_digest: number[];
309
+ previous_has_animated: boolean;
310
+ previous_animated_blob_id: string;
311
+ previous_animated_is_encrypted: boolean;
312
+ previous_animated_sealed_dek_length: string;
313
+ previous_animated_sealed_dek_digest: number[];
314
+ current_present: boolean;
315
+ current_still_blob_id: string;
316
+ current_still_is_encrypted: boolean;
317
+ current_still_sealed_dek_length: string;
318
+ current_still_sealed_dek_digest: number[];
319
+ current_has_animated: boolean;
320
+ current_animated_blob_id: string;
321
+ current_animated_is_encrypted: boolean;
322
+ current_animated_sealed_dek_length: string;
323
+ current_animated_sealed_dek_digest: number[];
818
324
  };
819
325
  readonly coverUnset: (bytes: Uint8Array) => {
820
326
  release_id: string;
327
+ admin_cap_id: string;
328
+ track_count: string;
329
+ field_existed_before: boolean;
330
+ field_exists_after: boolean;
331
+ previous_present: boolean;
332
+ previous_still_blob_id: string;
333
+ previous_still_is_encrypted: boolean;
334
+ previous_still_sealed_dek_length: string;
335
+ previous_still_sealed_dek_digest: number[];
336
+ previous_has_animated: boolean;
337
+ previous_animated_blob_id: string;
338
+ previous_animated_is_encrypted: boolean;
339
+ previous_animated_sealed_dek_length: string;
340
+ previous_animated_sealed_dek_digest: number[];
341
+ current_present: boolean;
342
+ current_still_blob_id: string;
343
+ current_still_is_encrypted: boolean;
344
+ current_still_sealed_dek_length: string;
345
+ current_still_sealed_dek_digest: number[];
346
+ current_has_animated: boolean;
347
+ current_animated_blob_id: string;
348
+ current_animated_is_encrypted: boolean;
349
+ current_animated_sealed_dek_length: string;
350
+ current_animated_sealed_dek_digest: number[];
351
+ };
352
+ readonly coverCleared: (bytes: Uint8Array) => {
353
+ release_id: string;
354
+ admin_cap_id: string;
355
+ track_count: string;
356
+ field_existed_before: boolean;
357
+ field_exists_after: boolean;
358
+ previous_present: boolean;
359
+ previous_still_blob_id: string;
360
+ previous_still_is_encrypted: boolean;
361
+ previous_still_sealed_dek_length: string;
362
+ previous_still_sealed_dek_digest: number[];
363
+ previous_has_animated: boolean;
364
+ previous_animated_blob_id: string;
365
+ previous_animated_is_encrypted: boolean;
366
+ previous_animated_sealed_dek_length: string;
367
+ previous_animated_sealed_dek_digest: number[];
368
+ current_present: boolean;
369
+ current_still_blob_id: string;
370
+ current_still_is_encrypted: boolean;
371
+ current_still_sealed_dek_length: string;
372
+ current_still_sealed_dek_digest: number[];
373
+ current_has_animated: boolean;
374
+ current_animated_blob_id: string;
375
+ current_animated_is_encrypted: boolean;
376
+ current_animated_sealed_dek_length: string;
377
+ current_animated_sealed_dek_digest: number[];
821
378
  };
822
379
  readonly trackCoverSet: (bytes: Uint8Array) => {
823
380
  release_id: string;
381
+ admin_cap_id: string;
382
+ track_count: string;
383
+ field_existed_before: boolean;
384
+ field_exists_after: boolean;
824
385
  track_index: string;
825
- art: {
826
- still: {
827
- blob_id: string;
828
- confidentiality: import("@mysten/bcs").EnumOutputShapeWithKeys<{
829
- Unencrypted: true;
830
- Encrypted: {
831
- sealed_dek: number[];
832
- };
833
- }, "Encrypted" | "Unencrypted">;
834
- };
835
- animated: {
836
- blob_id: string;
837
- confidentiality: import("@mysten/bcs").EnumOutputShapeWithKeys<{
838
- Unencrypted: true;
839
- Encrypted: {
840
- sealed_dek: number[];
841
- };
842
- }, "Encrypted" | "Unencrypted">;
843
- } | null;
844
- };
386
+ recording_id: string;
387
+ composition_id: string;
388
+ previous_present: boolean;
389
+ previous_still_blob_id: string;
390
+ previous_still_is_encrypted: boolean;
391
+ previous_still_sealed_dek_length: string;
392
+ previous_still_sealed_dek_digest: number[];
393
+ previous_has_animated: boolean;
394
+ previous_animated_blob_id: string;
395
+ previous_animated_is_encrypted: boolean;
396
+ previous_animated_sealed_dek_length: string;
397
+ previous_animated_sealed_dek_digest: number[];
398
+ current_present: boolean;
399
+ current_still_blob_id: string;
400
+ current_still_is_encrypted: boolean;
401
+ current_still_sealed_dek_length: string;
402
+ current_still_sealed_dek_digest: number[];
403
+ current_has_animated: boolean;
404
+ current_animated_blob_id: string;
405
+ current_animated_is_encrypted: boolean;
406
+ current_animated_sealed_dek_length: string;
407
+ current_animated_sealed_dek_digest: number[];
408
+ album_present: boolean;
409
+ album_still_blob_id: string;
410
+ album_still_is_encrypted: boolean;
411
+ album_still_sealed_dek_length: string;
412
+ album_still_sealed_dek_digest: number[];
413
+ album_has_animated: boolean;
414
+ album_animated_blob_id: string;
415
+ album_animated_is_encrypted: boolean;
416
+ album_animated_sealed_dek_length: string;
417
+ album_animated_sealed_dek_digest: number[];
845
418
  };
846
419
  readonly trackCoverUnset: (bytes: Uint8Array) => {
847
420
  release_id: string;
421
+ admin_cap_id: string;
422
+ track_count: string;
423
+ field_existed_before: boolean;
424
+ field_exists_after: boolean;
848
425
  track_index: string;
426
+ recording_id: string;
427
+ composition_id: string;
428
+ previous_present: boolean;
429
+ previous_still_blob_id: string;
430
+ previous_still_is_encrypted: boolean;
431
+ previous_still_sealed_dek_length: string;
432
+ previous_still_sealed_dek_digest: number[];
433
+ previous_has_animated: boolean;
434
+ previous_animated_blob_id: string;
435
+ previous_animated_is_encrypted: boolean;
436
+ previous_animated_sealed_dek_length: string;
437
+ previous_animated_sealed_dek_digest: number[];
438
+ current_present: boolean;
439
+ current_still_blob_id: string;
440
+ current_still_is_encrypted: boolean;
441
+ current_still_sealed_dek_length: string;
442
+ current_still_sealed_dek_digest: number[];
443
+ current_has_animated: boolean;
444
+ current_animated_blob_id: string;
445
+ current_animated_is_encrypted: boolean;
446
+ current_animated_sealed_dek_length: string;
447
+ current_animated_sealed_dek_digest: number[];
448
+ album_present: boolean;
449
+ album_still_blob_id: string;
450
+ album_still_is_encrypted: boolean;
451
+ album_still_sealed_dek_length: string;
452
+ album_still_sealed_dek_digest: number[];
453
+ album_has_animated: boolean;
454
+ album_animated_blob_id: string;
455
+ album_animated_is_encrypted: boolean;
456
+ album_animated_sealed_dek_length: string;
457
+ album_animated_sealed_dek_digest: number[];
458
+ };
459
+ readonly trackCoverCleared: (bytes: Uint8Array) => {
460
+ release_id: string;
461
+ admin_cap_id: string;
462
+ track_count: string;
463
+ field_existed_before: boolean;
464
+ field_exists_after: boolean;
465
+ track_index: string;
466
+ recording_id: string;
467
+ composition_id: string;
468
+ previous_present: boolean;
469
+ previous_still_blob_id: string;
470
+ previous_still_is_encrypted: boolean;
471
+ previous_still_sealed_dek_length: string;
472
+ previous_still_sealed_dek_digest: number[];
473
+ previous_has_animated: boolean;
474
+ previous_animated_blob_id: string;
475
+ previous_animated_is_encrypted: boolean;
476
+ previous_animated_sealed_dek_length: string;
477
+ previous_animated_sealed_dek_digest: number[];
478
+ current_present: boolean;
479
+ current_still_blob_id: string;
480
+ current_still_is_encrypted: boolean;
481
+ current_still_sealed_dek_length: string;
482
+ current_still_sealed_dek_digest: number[];
483
+ current_has_animated: boolean;
484
+ current_animated_blob_id: string;
485
+ current_animated_is_encrypted: boolean;
486
+ current_animated_sealed_dek_length: string;
487
+ current_animated_sealed_dek_digest: number[];
488
+ album_present: boolean;
489
+ album_still_blob_id: string;
490
+ album_still_is_encrypted: boolean;
491
+ album_still_sealed_dek_length: string;
492
+ album_still_sealed_dek_digest: number[];
493
+ album_has_animated: boolean;
494
+ album_animated_blob_id: string;
495
+ album_animated_is_encrypted: boolean;
496
+ album_animated_sealed_dek_length: string;
497
+ album_animated_sealed_dek_digest: number[];
849
498
  };
850
499
  };
851
500
  readonly releaseCredits: {
852
501
  readonly creditAdded: (bytes: Uint8Array) => {
853
502
  release_id: string;
503
+ release_admin_cap_id: string;
854
504
  party_id: string;
855
- credit: {
856
- display_name: string;
857
- roles: import("@mysten/bcs").EnumOutputShapeWithKeys<{
858
- Primary: true;
859
- Featured: true;
860
- }, "Featured" | "Primary">[];
861
- };
505
+ display_name: number[];
506
+ role_kind: number;
507
+ credit_count_before: string;
508
+ credit_count_after: string;
509
+ credit_index: string;
510
+ credits_record_existed_before: boolean;
511
+ credits_record_exists_after: boolean;
862
512
  };
863
513
  readonly creditRemoved: (bytes: Uint8Array) => {
864
514
  release_id: string;
515
+ release_admin_cap_id: string;
865
516
  party_id: string;
866
- credit: {
867
- display_name: string;
868
- roles: import("@mysten/bcs").EnumOutputShapeWithKeys<{
869
- Primary: true;
870
- Featured: true;
871
- }, "Featured" | "Primary">[];
872
- };
517
+ display_name: number[];
518
+ role_kind: number;
519
+ credit_count_before: string;
520
+ credit_count_after: string;
521
+ credit_index: string;
522
+ credits_record_existed_before: boolean;
523
+ credits_record_exists_after: boolean;
873
524
  };
874
525
  };
875
526
  readonly releaseDescription: {
876
527
  readonly descriptionSet: (bytes: Uint8Array) => {
877
528
  release_id: string;
878
- description: string;
529
+ release_admin_cap_id: string;
530
+ description_existed_before: boolean;
531
+ description_before: number[];
532
+ description_after: number[];
879
533
  };
880
534
  readonly descriptionCleared: (bytes: Uint8Array) => {
881
535
  release_id: string;
536
+ release_admin_cap_id: string;
537
+ description_before: number[];
882
538
  };
883
539
  };
884
540
  readonly releaseDspLink: {
885
541
  readonly releaseLinkSet: (bytes: Uint8Array) => {
886
542
  release_id: string;
887
- link: import("@mysten/bcs").EnumOutputShapeWithKeys<{
888
- Spotify: {
889
- id: string;
890
- };
891
- AppleMusic: {
892
- storefront: string;
893
- album_id: string;
894
- track_id: string | null;
895
- };
896
- AmazonMusic: {
897
- album_id: string;
898
- track_id: string | null;
899
- };
900
- Bandcamp: {
901
- subdomain: string;
902
- slug: string;
903
- };
904
- Deezer: {
905
- id: string;
906
- };
907
- SoundCloud: {
908
- user: string;
909
- slug: string;
910
- };
911
- Tidal: {
912
- id: string;
913
- };
914
- YouTubeMusic: {
915
- id: string;
916
- };
917
- }, "AmazonMusic" | "AppleMusic" | "Bandcamp" | "Deezer" | "SoundCloud" | "Spotify" | "Tidal" | "YouTubeMusic">;
543
+ admin_cap_id: string;
544
+ platform: number;
545
+ track_count: string;
546
+ field_existed_before: boolean;
547
+ field_exists_after: boolean;
548
+ previous_present: boolean;
549
+ previous_fields: number[][];
550
+ current_present: boolean;
551
+ current_fields: number[][];
918
552
  };
919
553
  readonly releaseLinkCleared: (bytes: Uint8Array) => {
920
554
  release_id: string;
555
+ admin_cap_id: string;
921
556
  platform: number;
557
+ track_count: string;
558
+ field_existed_before: boolean;
559
+ field_exists_after: boolean;
560
+ previous_present: boolean;
561
+ previous_fields: number[][];
562
+ current_present: boolean;
563
+ current_fields: number[][];
922
564
  };
923
565
  readonly trackLinkSet: (bytes: Uint8Array) => {
924
566
  release_id: string;
567
+ admin_cap_id: string;
925
568
  platform: number;
569
+ track_count: string;
570
+ field_existed_before: boolean;
571
+ field_exists_after: boolean;
926
572
  track_index: string;
927
- link: import("@mysten/bcs").EnumOutputShapeWithKeys<{
928
- Spotify: {
929
- id: string;
930
- };
931
- AppleMusic: {
932
- storefront: string;
933
- album_id: string;
934
- track_id: string | null;
935
- };
936
- AmazonMusic: {
937
- album_id: string;
938
- track_id: string | null;
939
- };
940
- Bandcamp: {
941
- subdomain: string;
942
- slug: string;
943
- };
944
- Deezer: {
945
- id: string;
946
- };
947
- SoundCloud: {
948
- user: string;
949
- slug: string;
950
- };
951
- Tidal: {
952
- id: string;
953
- };
954
- YouTubeMusic: {
955
- id: string;
956
- };
957
- }, "AmazonMusic" | "AppleMusic" | "Bandcamp" | "Deezer" | "SoundCloud" | "Spotify" | "Tidal" | "YouTubeMusic"> | null;
573
+ recording_id: string;
574
+ composition_id: string;
575
+ previous_present: boolean;
576
+ previous_fields: number[][];
577
+ current_present: boolean;
578
+ current_fields: number[][];
579
+ album_present: boolean;
580
+ album_fields: number[][];
581
+ };
582
+ readonly trackLinkCleared: (bytes: Uint8Array) => {
583
+ release_id: string;
584
+ admin_cap_id: string;
585
+ platform: number;
586
+ track_count: string;
587
+ field_existed_before: boolean;
588
+ field_exists_after: boolean;
589
+ track_index: string;
590
+ recording_id: string;
591
+ composition_id: string;
592
+ previous_present: boolean;
593
+ previous_fields: number[][];
594
+ current_present: boolean;
595
+ current_fields: number[][];
596
+ album_present: boolean;
597
+ album_fields: number[][];
958
598
  };
959
599
  readonly trackLinksCleared: (bytes: Uint8Array) => {
960
600
  release_id: string;
601
+ admin_cap_id: string;
961
602
  platform: number;
603
+ track_count: string;
604
+ field_existed_before: boolean;
605
+ field_exists_after: boolean;
606
+ removed_link_count: string;
607
+ removed_track_indices: string[];
608
+ removed_recording_ids: string[];
609
+ removed_composition_ids: string[];
610
+ removed_link_fields: number[][][];
611
+ album_present: boolean;
612
+ album_fields: number[][];
962
613
  };
963
614
  };
964
615
  readonly releaseGenre: {
965
616
  readonly genreAdded: (bytes: Uint8Array) => {
966
617
  release_id: string;
618
+ admin_cap_id: string;
967
619
  genre_id: string;
620
+ genre_name: number[];
621
+ genre_index: string;
622
+ genres_before: string[];
623
+ genres_after: string[];
624
+ genre_count_before: string;
625
+ genre_count_after: string;
626
+ field_existed_before: boolean;
627
+ field_exists_after: boolean;
628
+ had_primary_before: boolean;
629
+ has_primary_after: boolean;
630
+ primary_genre_id_before: string;
631
+ primary_genre_id_after: string;
632
+ primary_changed: boolean;
968
633
  };
969
634
  readonly genreRemoved: (bytes: Uint8Array) => {
970
635
  release_id: string;
636
+ admin_cap_id: string;
971
637
  genre_id: string;
638
+ genre_index: string;
639
+ genres_before: string[];
640
+ genres_after: string[];
641
+ genre_count_before: string;
642
+ genre_count_after: string;
643
+ field_existed_before: boolean;
644
+ field_exists_after: boolean;
645
+ had_primary_before: boolean;
646
+ has_primary_after: boolean;
647
+ primary_genre_id_before: string;
648
+ primary_genre_id_after: string;
649
+ primary_changed: boolean;
972
650
  };
973
651
  readonly genresCleared: (bytes: Uint8Array) => {
974
652
  release_id: string;
653
+ admin_cap_id: string;
654
+ clear_cause: number;
655
+ trigger_genre_id: string;
656
+ genres_before: string[];
657
+ genres_after: string[];
658
+ genre_count_before: string;
659
+ genre_count_after: string;
660
+ field_existed_before: boolean;
661
+ field_exists_after: boolean;
662
+ had_primary_before: boolean;
663
+ has_primary_after: boolean;
664
+ primary_genre_id_before: string;
665
+ primary_genre_id_after: string;
666
+ primary_changed: boolean;
975
667
  };
976
668
  };
977
669
  readonly releaseKind: {
978
670
  readonly kindSet: (bytes: Uint8Array) => {
979
671
  release_id: string;
980
- kind: string;
672
+ release_admin_cap_id: string;
673
+ kind_record_existed_before: boolean;
674
+ previous_kind: number[];
675
+ previous_kind_length: string;
676
+ kind: number[];
677
+ kind_length: string;
678
+ kind_record_exists_after: boolean;
679
+ kind_changed: boolean;
981
680
  };
982
681
  readonly kindUnset: (bytes: Uint8Array) => {
983
682
  release_id: string;
683
+ release_admin_cap_id: string;
684
+ kind_record_existed_before: boolean;
685
+ previous_kind: number[];
686
+ previous_kind_length: string;
687
+ kind: number[];
688
+ kind_length: string;
689
+ kind_record_exists_after: boolean;
690
+ kind_changed: boolean;
691
+ };
692
+ readonly kindCleared: (bytes: Uint8Array) => {
693
+ release_id: string;
694
+ release_admin_cap_id: string;
695
+ kind_record_existed_before: boolean;
696
+ previous_kind: number[];
697
+ previous_kind_length: string;
698
+ kind: number[];
699
+ kind_length: string;
700
+ kind_record_exists_after: boolean;
701
+ kind_changed: boolean;
702
+ };
703
+ };
704
+ readonly partyCta: {
705
+ readonly set: (bytes: Uint8Array) => {
706
+ party_id: string;
707
+ admin_cap_id: string;
708
+ existed_before: boolean;
709
+ previous_count: string;
710
+ count: string;
711
+ previous_labels: number[][];
712
+ previous_urls: number[][];
713
+ labels: number[][];
714
+ urls: number[][];
715
+ };
716
+ readonly cleared: (bytes: Uint8Array) => {
717
+ party_id: string;
718
+ admin_cap_id: string;
719
+ previous_count: string;
720
+ previous_labels: number[][];
721
+ previous_urls: number[][];
722
+ };
723
+ readonly ctasSet: (bytes: Uint8Array) => {
724
+ party_id: string;
725
+ admin_cap_id: string;
726
+ existed_before: boolean;
727
+ previous_count: string;
728
+ count: string;
729
+ previous_labels: number[][];
730
+ previous_urls: number[][];
731
+ labels: number[][];
732
+ urls: number[][];
733
+ };
734
+ readonly ctasCleared: (bytes: Uint8Array) => {
735
+ party_id: string;
736
+ admin_cap_id: string;
737
+ previous_count: string;
738
+ previous_labels: number[][];
739
+ previous_urls: number[][];
740
+ };
741
+ };
742
+ readonly partyGenre: {
743
+ readonly added: (bytes: Uint8Array) => {
744
+ party_id: string;
745
+ admin_cap_id: string;
746
+ genre_id: string;
747
+ genre_name: number[];
748
+ genre_ids_before: string[];
749
+ genre_ids_after: string[];
750
+ max_genres: string;
751
+ };
752
+ readonly removed: (bytes: Uint8Array) => {
753
+ party_id: string;
754
+ admin_cap_id: string;
755
+ genre_id: string;
756
+ genre_ids_before: string[];
757
+ genre_ids_after: string[];
758
+ };
759
+ readonly cleared: (bytes: Uint8Array) => {
760
+ party_id: string;
761
+ admin_cap_id: string;
762
+ genre_ids_before: string[];
763
+ genre_ids_after: string[];
764
+ };
765
+ readonly genreAdded: (bytes: Uint8Array) => {
766
+ party_id: string;
767
+ admin_cap_id: string;
768
+ genre_id: string;
769
+ genre_name: number[];
770
+ genre_ids_before: string[];
771
+ genre_ids_after: string[];
772
+ max_genres: string;
773
+ };
774
+ readonly genreRemoved: (bytes: Uint8Array) => {
775
+ party_id: string;
776
+ admin_cap_id: string;
777
+ genre_id: string;
778
+ genre_ids_before: string[];
779
+ genre_ids_after: string[];
780
+ };
781
+ readonly genresCleared: (bytes: Uint8Array) => {
782
+ party_id: string;
783
+ admin_cap_id: string;
784
+ genre_ids_before: string[];
785
+ genre_ids_after: string[];
786
+ };
787
+ };
788
+ readonly partyMedia: {
789
+ readonly set: (bytes: Uint8Array) => {
790
+ party_id: string;
791
+ admin_cap_id: string;
792
+ existed_before: boolean;
793
+ previous_quilt: string;
794
+ quilt: string;
795
+ };
796
+ readonly cleared: (bytes: Uint8Array) => {
797
+ party_id: string;
798
+ admin_cap_id: string;
799
+ previous_quilt: string;
800
+ };
801
+ readonly mediaSet: (bytes: Uint8Array) => {
802
+ party_id: string;
803
+ admin_cap_id: string;
804
+ existed_before: boolean;
805
+ previous_quilt: string;
806
+ quilt: string;
807
+ };
808
+ readonly mediaCleared: (bytes: Uint8Array) => {
809
+ party_id: string;
810
+ admin_cap_id: string;
811
+ previous_quilt: string;
812
+ };
813
+ };
814
+ readonly partyPlatformLink: {
815
+ readonly legacy: {
816
+ readonly set: (bytes: Uint8Array) => {
817
+ party_id: string;
818
+ };
819
+ readonly cleared: (bytes: Uint8Array) => {
820
+ party_id: string;
821
+ };
822
+ readonly linkSet: (bytes: Uint8Array) => {
823
+ party_id: string;
824
+ };
825
+ readonly linkCleared: (bytes: Uint8Array) => {
826
+ party_id: string;
827
+ };
828
+ };
829
+ readonly legacySet: (bytes: Uint8Array) => {
830
+ party_id: string;
831
+ };
832
+ readonly legacyCleared: (bytes: Uint8Array) => {
833
+ party_id: string;
834
+ };
835
+ };
836
+ readonly partyProfile: {
837
+ readonly set: (bytes: Uint8Array) => {
838
+ party_id: string;
839
+ admin_cap_id: string;
840
+ had_profile: boolean;
841
+ previous_bio_short: number[];
842
+ previous_bio_long: number[] | null;
843
+ previous_country: number[] | null;
844
+ previous_languages: number[][];
845
+ bio_short: number[];
846
+ bio_long: number[] | null;
847
+ country: number[] | null;
848
+ languages: number[][];
849
+ };
850
+ readonly cleared: (bytes: Uint8Array) => {
851
+ party_id: string;
852
+ admin_cap_id: string;
853
+ previous_bio_short: number[];
854
+ previous_bio_long: number[] | null;
855
+ previous_country: number[] | null;
856
+ previous_languages: number[][];
857
+ };
858
+ readonly profileSet: (bytes: Uint8Array) => {
859
+ party_id: string;
860
+ admin_cap_id: string;
861
+ had_profile: boolean;
862
+ previous_bio_short: number[];
863
+ previous_bio_long: number[] | null;
864
+ previous_country: number[] | null;
865
+ previous_languages: number[][];
866
+ bio_short: number[];
867
+ bio_long: number[] | null;
868
+ country: number[] | null;
869
+ languages: number[][];
870
+ };
871
+ readonly profileCleared: (bytes: Uint8Array) => {
872
+ party_id: string;
873
+ admin_cap_id: string;
874
+ previous_bio_short: number[];
875
+ previous_bio_long: number[] | null;
876
+ previous_country: number[] | null;
877
+ previous_languages: number[][];
878
+ };
879
+ };
880
+ readonly partyRoles: {
881
+ readonly added: (bytes: Uint8Array) => {
882
+ party_id: string;
883
+ admin_cap_id: string;
884
+ role_kind: number;
885
+ role_name: number[];
886
+ roles_count_before: string;
887
+ roles_count_after: string;
888
+ };
889
+ readonly removed: (bytes: Uint8Array) => {
890
+ party_id: string;
891
+ admin_cap_id: string;
892
+ role_kind: number;
893
+ role_name: number[];
894
+ roles_count_before: string;
895
+ roles_count_after: string;
896
+ };
897
+ readonly cleared: (bytes: Uint8Array) => {
898
+ party_id: string;
899
+ admin_cap_id: string;
900
+ removed_role_kinds: number[];
901
+ removed_role_names: number[][];
902
+ roles_count_before: string;
903
+ roles_count_after: string;
904
+ };
905
+ readonly roleAdded: (bytes: Uint8Array) => {
906
+ party_id: string;
907
+ admin_cap_id: string;
908
+ role_kind: number;
909
+ role_name: number[];
910
+ roles_count_before: string;
911
+ roles_count_after: string;
912
+ };
913
+ readonly roleRemoved: (bytes: Uint8Array) => {
914
+ party_id: string;
915
+ admin_cap_id: string;
916
+ role_kind: number;
917
+ role_name: number[];
918
+ roles_count_before: string;
919
+ roles_count_after: string;
920
+ };
921
+ readonly rolesCleared: (bytes: Uint8Array) => {
922
+ party_id: string;
923
+ admin_cap_id: string;
924
+ removed_role_kinds: number[];
925
+ removed_role_names: number[][];
926
+ roles_count_before: string;
927
+ roles_count_after: string;
928
+ };
929
+ };
930
+ readonly partyTags: {
931
+ readonly added: (bytes: Uint8Array) => {
932
+ party_id: string;
933
+ admin_cap_id: string;
934
+ tag: number[];
935
+ tag_count_before: string;
936
+ tag_count_after: string;
937
+ };
938
+ readonly removed: (bytes: Uint8Array) => {
939
+ party_id: string;
940
+ admin_cap_id: string;
941
+ tag: number[];
942
+ tag_count_before: string;
943
+ tag_count_after: string;
944
+ };
945
+ readonly cleared: (bytes: Uint8Array) => {
946
+ party_id: string;
947
+ admin_cap_id: string;
948
+ removed_tags: number[][];
949
+ tag_count_before: string;
950
+ tag_count_after: string;
951
+ };
952
+ readonly tagAdded: (bytes: Uint8Array) => {
953
+ party_id: string;
954
+ admin_cap_id: string;
955
+ tag: number[];
956
+ tag_count_before: string;
957
+ tag_count_after: string;
958
+ };
959
+ readonly tagRemoved: (bytes: Uint8Array) => {
960
+ party_id: string;
961
+ admin_cap_id: string;
962
+ tag: number[];
963
+ tag_count_before: string;
964
+ tag_count_after: string;
965
+ };
966
+ readonly tagsCleared: (bytes: Uint8Array) => {
967
+ party_id: string;
968
+ admin_cap_id: string;
969
+ removed_tags: number[][];
970
+ tag_count_before: string;
971
+ tag_count_after: string;
984
972
  };
985
973
  };
986
974
  };
@@ -989,57 +977,921 @@ export declare const platformEventParsers: {
989
977
  readonly poolCreated: (bytes: Uint8Array) => {
990
978
  pool_id: string;
991
979
  parent_id: string;
980
+ precision: string;
981
+ pool_balance_after: string;
982
+ staked_shares_after: string;
983
+ cumulative_reward_per_share_after: string;
984
+ carry_after: string;
985
+ cumulative_deposits_after: string;
986
+ };
987
+ readonly poolShared: (bytes: Uint8Array) => {
988
+ pool_id: string;
989
+ pool_balance_after: string;
990
+ staked_shares_after: string;
991
+ cumulative_reward_per_share_after: string;
992
+ carry_after: string;
993
+ cumulative_deposits_after: string;
992
994
  };
993
995
  readonly deposited: (bytes: Uint8Array) => {
994
996
  pool_id: string;
995
997
  value: string;
998
+ cumulative_reward_per_share_before: string;
999
+ carry_before: string;
1000
+ pool_balance_after: string;
1001
+ staked_shares_after: string;
1002
+ cumulative_reward_per_share_after: string;
1003
+ carry_after: string;
1004
+ cumulative_deposits_after: string;
1005
+ };
1006
+ readonly fundsSettled: (bytes: Uint8Array) => {
1007
+ pool_id: string;
1008
+ source_address: string;
1009
+ accumulator_root_id: string;
1010
+ value: string;
1011
+ pool_balance_after: string;
1012
+ staked_shares_after: string;
1013
+ cumulative_reward_per_share_after: string;
1014
+ carry_after: string;
1015
+ cumulative_deposits_after: string;
1016
+ };
1017
+ readonly coinsRecovered: (bytes: Uint8Array) => {
1018
+ pool_id: string;
1019
+ coin_ids: string[];
1020
+ coin_count: string;
1021
+ funds_recipient: string;
1022
+ value: string;
1023
+ pool_balance_after: string;
1024
+ staked_shares_after: string;
1025
+ cumulative_reward_per_share_after: string;
1026
+ carry_after: string;
1027
+ cumulative_deposits_after: string;
996
1028
  };
997
1029
  readonly stakeRegistered: (bytes: Uint8Array) => {
998
1030
  pool_id: string;
999
1031
  stake_id: string;
1000
1032
  staked_amount: string;
1033
+ registration_debt_after: string;
1034
+ stake_registration_count_after: string;
1035
+ pool_balance_after: string;
1036
+ staked_shares_after: string;
1037
+ cumulative_reward_per_share_after: string;
1038
+ carry_after: string;
1039
+ cumulative_deposits_after: string;
1001
1040
  };
1002
1041
  readonly stakeUnregistered: (bytes: Uint8Array) => {
1003
1042
  pool_id: string;
1004
1043
  stake_id: string;
1005
1044
  unstaked_amount: string;
1045
+ removed_registration_debt: string;
1046
+ forfeited_reward_numerator: string;
1047
+ stake_registration_count_after: string;
1048
+ pool_balance_after: string;
1049
+ staked_shares_after: string;
1050
+ cumulative_reward_per_share_after: string;
1051
+ carry_after: string;
1052
+ cumulative_deposits_after: string;
1006
1053
  };
1007
1054
  readonly royaltyClaimed: (bytes: Uint8Array) => {
1008
1055
  pool_id: string;
1009
1056
  stake_id: string;
1057
+ staked_amount: string;
1010
1058
  reward_amount: string;
1059
+ registration_debt_before: string;
1060
+ registration_debt_after: string;
1061
+ reward_residue_after: string;
1062
+ stake_registration_count_after: string;
1063
+ pool_balance_after: string;
1064
+ staked_shares_after: string;
1065
+ cumulative_reward_per_share_after: string;
1066
+ carry_after: string;
1067
+ cumulative_deposits_after: string;
1011
1068
  };
1012
1069
  readonly stakeCreated: (bytes: Uint8Array) => {
1013
1070
  stake_id: string;
1071
+ transaction_sender: string;
1014
1072
  amount: string;
1073
+ registration_count_after: string;
1015
1074
  };
1016
1075
  readonly stakeDestroyed: (bytes: Uint8Array) => {
1017
1076
  stake_id: string;
1018
1077
  amount: string;
1078
+ registration_count_before: string;
1019
1079
  };
1020
1080
  };
1021
1081
  readonly routedStake: {
1022
1082
  readonly created: (bytes: Uint8Array) => {
1023
1083
  routed_stake_id: string;
1024
1084
  parent_id: string;
1085
+ stake_id: string;
1086
+ staked_value: string;
1087
+ };
1088
+ readonly shared: (bytes: Uint8Array) => {
1089
+ routed_stake_id: string;
1090
+ has_stake: boolean;
1091
+ stake_id: string;
1092
+ staked_value: string;
1093
+ registration_count: string;
1094
+ };
1095
+ readonly registered: (bytes: Uint8Array) => {
1096
+ routed_stake_id: string;
1097
+ parent_id: string;
1098
+ stake_id: string;
1099
+ stake_pool_id: string;
1100
+ staked_value: string;
1101
+ registration_count_before: string;
1102
+ registration_count_after: string;
1103
+ pool_staked_shares_before: string;
1104
+ pool_staked_shares_after: string;
1105
+ pool_cumulative_reward_per_share: string;
1106
+ registration_debt_after: string;
1107
+ };
1108
+ readonly unregistered: (bytes: Uint8Array) => {
1109
+ routed_stake_id: string;
1110
+ parent_id: string;
1111
+ stake_id: string;
1112
+ stake_pool_id: string;
1025
1113
  staked_value: string;
1114
+ registration_count_before: string;
1115
+ registration_count_after: string;
1116
+ pool_staked_shares_before: string;
1117
+ pool_staked_shares_after: string;
1118
+ pool_cumulative_reward_per_share: string;
1119
+ registration_debt_before: string;
1026
1120
  };
1027
1121
  readonly swept: (bytes: Uint8Array) => {
1028
1122
  routed_stake_id: string;
1029
1123
  parent_id: string;
1124
+ stake_id: string;
1125
+ stake_pool_id: string;
1126
+ routed_pool_id: string;
1030
1127
  value: string;
1128
+ parked: boolean;
1129
+ staked_value: string;
1130
+ source_balance_before: string;
1131
+ source_balance_after: string;
1132
+ source_staked_shares: string;
1133
+ source_index: string;
1134
+ source_carry: string;
1135
+ source_cumulative_deposits: string;
1136
+ registration_debt_before: string;
1137
+ registration_debt_after: string;
1138
+ destination_balance_before: string;
1139
+ destination_balance_after: string;
1140
+ destination_staked_shares: string;
1141
+ destination_index_before: string;
1142
+ destination_index_after: string;
1143
+ destination_carry_before: string;
1144
+ destination_carry_after: string;
1145
+ destination_cumulative_deposits_before: string;
1146
+ destination_cumulative_deposits_after: string;
1031
1147
  };
1032
1148
  readonly unstaked: (bytes: Uint8Array) => {
1033
1149
  routed_stake_id: string;
1034
1150
  parent_id: string;
1151
+ stake_id: string;
1035
1152
  unstaked_value: string;
1036
1153
  };
1037
1154
  readonly restaked: (bytes: Uint8Array) => {
1038
1155
  routed_stake_id: string;
1039
1156
  parent_id: string;
1157
+ stake_id: string;
1040
1158
  staked_value: string;
1041
1159
  };
1042
1160
  };
1161
+ readonly vault: {
1162
+ readonly registryCreated: (bytes: Uint8Array) => {
1163
+ registry_id: string;
1164
+ shared: boolean;
1165
+ };
1166
+ readonly created: (bytes: Uint8Array) => {
1167
+ registry_id: string;
1168
+ vault_id: string;
1169
+ cap_id: string;
1170
+ admin_cap_id: string;
1171
+ authorized_plugins_id: string;
1172
+ authorized_plugin_count: string;
1173
+ active: boolean;
1174
+ capability_available: boolean;
1175
+ };
1176
+ readonly shared: (bytes: Uint8Array) => {
1177
+ vault_id: string;
1178
+ cap_id: string;
1179
+ };
1180
+ readonly pluginAuthorized: (bytes: Uint8Array) => {
1181
+ vault_id: string;
1182
+ cap_id: string;
1183
+ admin_cap_id: string;
1184
+ authorized_plugins_id: string;
1185
+ authorized_plugin_count: string;
1186
+ authorized: boolean;
1187
+ };
1188
+ readonly pluginRevoked: (bytes: Uint8Array) => {
1189
+ vault_id: string;
1190
+ cap_id: string;
1191
+ admin_cap_id: string;
1192
+ authorized_plugins_id: string;
1193
+ authorized_plugin_count: string;
1194
+ authorized: boolean;
1195
+ };
1196
+ readonly capabilityWithdrawn: (bytes: Uint8Array) => {
1197
+ vault_id: string;
1198
+ cap_id: string;
1199
+ admin_cap_id: string;
1200
+ active: boolean;
1201
+ capability_available: boolean;
1202
+ };
1203
+ readonly capabilityRestored: (bytes: Uint8Array) => {
1204
+ vault_id: string;
1205
+ cap_id: string;
1206
+ admin_cap_id: string;
1207
+ active: boolean;
1208
+ capability_available: boolean;
1209
+ };
1210
+ readonly capabilityBorrowedByPlugin: (bytes: Uint8Array) => {
1211
+ vault_id: string;
1212
+ cap_id: string;
1213
+ active: boolean;
1214
+ capability_available: boolean;
1215
+ };
1216
+ readonly capabilityBorrowedByAdmin: (bytes: Uint8Array) => {
1217
+ vault_id: string;
1218
+ cap_id: string;
1219
+ admin_cap_id: string;
1220
+ active: boolean;
1221
+ capability_available: boolean;
1222
+ };
1223
+ readonly capabilityReturned: (bytes: Uint8Array) => {
1224
+ vault_id: string;
1225
+ cap_id: string;
1226
+ active: boolean;
1227
+ capability_available: boolean;
1228
+ };
1229
+ readonly vaultRegistryCreated: (bytes: Uint8Array) => {
1230
+ registry_id: string;
1231
+ shared: boolean;
1232
+ };
1233
+ readonly vaultCreated: (bytes: Uint8Array) => {
1234
+ registry_id: string;
1235
+ vault_id: string;
1236
+ cap_id: string;
1237
+ admin_cap_id: string;
1238
+ authorized_plugins_id: string;
1239
+ authorized_plugin_count: string;
1240
+ active: boolean;
1241
+ capability_available: boolean;
1242
+ };
1243
+ readonly vaultShared: (bytes: Uint8Array) => {
1244
+ vault_id: string;
1245
+ cap_id: string;
1246
+ };
1247
+ };
1248
+ readonly genre: {
1249
+ readonly registryCreated: (bytes: Uint8Array) => {
1250
+ registry_id: string;
1251
+ initializer: string;
1252
+ is_shared: boolean;
1253
+ };
1254
+ readonly created: (bytes: Uint8Array) => {
1255
+ registry_id: string;
1256
+ genre_id: string;
1257
+ name: number[];
1258
+ is_frozen: boolean;
1259
+ };
1260
+ readonly genreRegistryCreated: (bytes: Uint8Array) => {
1261
+ registry_id: string;
1262
+ initializer: string;
1263
+ is_shared: boolean;
1264
+ };
1265
+ readonly genreCreated: (bytes: Uint8Array) => {
1266
+ registry_id: string;
1267
+ genre_id: string;
1268
+ name: number[];
1269
+ is_frozen: boolean;
1270
+ };
1271
+ };
1272
+ readonly platformLink: {
1273
+ readonly set: (bytes: Uint8Array) => {
1274
+ parent_id: string;
1275
+ data_type: number[];
1276
+ existed_before: boolean;
1277
+ exists_after: boolean;
1278
+ previous_bcs_length: string;
1279
+ previous_bcs_hash: number[];
1280
+ data_bcs_length: string;
1281
+ data_bcs_hash: number[];
1282
+ };
1283
+ readonly removed: (bytes: Uint8Array) => {
1284
+ parent_id: string;
1285
+ data_type: number[];
1286
+ existed_before: boolean;
1287
+ exists_after: boolean;
1288
+ removed_bcs_length: string;
1289
+ removed_bcs_hash: number[];
1290
+ };
1291
+ readonly linkSet: (bytes: Uint8Array) => {
1292
+ parent_id: string;
1293
+ data_type: number[];
1294
+ existed_before: boolean;
1295
+ exists_after: boolean;
1296
+ previous_bcs_length: string;
1297
+ previous_bcs_hash: number[];
1298
+ data_bcs_length: string;
1299
+ data_bcs_hash: number[];
1300
+ };
1301
+ readonly linkRemoved: (bytes: Uint8Array) => {
1302
+ parent_id: string;
1303
+ data_type: number[];
1304
+ existed_before: boolean;
1305
+ exists_after: boolean;
1306
+ removed_bcs_length: string;
1307
+ removed_bcs_hash: number[];
1308
+ };
1309
+ readonly platformLinkSet: (bytes: Uint8Array) => {
1310
+ parent_id: string;
1311
+ data_type: number[];
1312
+ existed_before: boolean;
1313
+ exists_after: boolean;
1314
+ previous_bcs_length: string;
1315
+ previous_bcs_hash: number[];
1316
+ data_bcs_length: string;
1317
+ data_bcs_hash: number[];
1318
+ };
1319
+ readonly platformLinkRemoved: (bytes: Uint8Array) => {
1320
+ parent_id: string;
1321
+ data_type: number[];
1322
+ existed_before: boolean;
1323
+ exists_after: boolean;
1324
+ removed_bcs_length: string;
1325
+ removed_bcs_hash: number[];
1326
+ };
1327
+ };
1328
+ readonly share: {
1329
+ readonly initialized: (bytes: Uint8Array) => {
1330
+ currency_id: string;
1331
+ treasury_cap_id: string;
1332
+ share_type: number[];
1333
+ decimals: number;
1334
+ supply: string;
1335
+ fixed_supply: boolean;
1336
+ metadata_cap_deleted: boolean;
1337
+ regulated: boolean;
1338
+ name: number[];
1339
+ symbol: number[];
1340
+ description: number[];
1341
+ icon_url: number[];
1342
+ };
1343
+ readonly shareInitialized: (bytes: Uint8Array) => {
1344
+ currency_id: string;
1345
+ treasury_cap_id: string;
1346
+ share_type: number[];
1347
+ decimals: number;
1348
+ supply: string;
1349
+ fixed_supply: boolean;
1350
+ metadata_cap_deleted: boolean;
1351
+ regulated: boolean;
1352
+ name: number[];
1353
+ symbol: number[];
1354
+ description: number[];
1355
+ icon_url: number[];
1356
+ };
1357
+ };
1358
+ };
1359
+ readonly actions: {
1360
+ readonly compositionRoyaltyPool: {
1361
+ readonly poolCreated: (bytes: Uint8Array) => {
1362
+ composition_id: string;
1363
+ admin_cap_id: string;
1364
+ pool_id: string;
1365
+ pool_balance: string;
1366
+ staked_shares: string;
1367
+ cumulative_reward_per_share: string;
1368
+ carry: string;
1369
+ cumulative_deposits: string;
1370
+ };
1371
+ readonly coinsDeposited: (bytes: Uint8Array) => {
1372
+ composition_id: string;
1373
+ admin_cap_id: string;
1374
+ pool_id: string;
1375
+ amount: string;
1376
+ pool_balance_before: string;
1377
+ pool_balance_after: string;
1378
+ staked_shares: string;
1379
+ reward_per_share_before: string;
1380
+ reward_per_share_after: string;
1381
+ carry_before: string;
1382
+ carry_after: string;
1383
+ cumulative_deposits_before: string;
1384
+ cumulative_deposits_after: string;
1385
+ coin_ids: string[];
1386
+ };
1387
+ readonly fundsDeposited: (bytes: Uint8Array) => {
1388
+ composition_id: string;
1389
+ admin_cap_id: string;
1390
+ pool_id: string;
1391
+ amount: string;
1392
+ pool_balance_before: string;
1393
+ pool_balance_after: string;
1394
+ staked_shares: string;
1395
+ reward_per_share_before: string;
1396
+ reward_per_share_after: string;
1397
+ carry_before: string;
1398
+ carry_after: string;
1399
+ cumulative_deposits_before: string;
1400
+ cumulative_deposits_after: string;
1401
+ };
1402
+ };
1403
+ readonly recordingRoyaltyPool: {
1404
+ readonly poolCreated: (bytes: Uint8Array) => {
1405
+ recording_id: string;
1406
+ composition_id: string;
1407
+ admin_cap_id: string;
1408
+ pool_id: string;
1409
+ pool_balance: string;
1410
+ staked_shares: string;
1411
+ cumulative_reward_per_share: string;
1412
+ carry: string;
1413
+ cumulative_deposits: string;
1414
+ };
1415
+ readonly coinsDeposited: (bytes: Uint8Array) => {
1416
+ recording_id: string;
1417
+ composition_id: string;
1418
+ admin_cap_id: string;
1419
+ pool_id: string;
1420
+ amount: string;
1421
+ pool_balance_before: string;
1422
+ pool_balance_after: string;
1423
+ staked_shares: string;
1424
+ reward_per_share_before: string;
1425
+ reward_per_share_after: string;
1426
+ carry_before: string;
1427
+ carry_after: string;
1428
+ cumulative_deposits_before: string;
1429
+ cumulative_deposits_after: string;
1430
+ coin_ids: string[];
1431
+ };
1432
+ readonly fundsDeposited: (bytes: Uint8Array) => {
1433
+ recording_id: string;
1434
+ composition_id: string;
1435
+ admin_cap_id: string;
1436
+ pool_id: string;
1437
+ amount: string;
1438
+ pool_balance_before: string;
1439
+ pool_balance_after: string;
1440
+ staked_shares: string;
1441
+ reward_per_share_before: string;
1442
+ reward_per_share_after: string;
1443
+ carry_before: string;
1444
+ carry_after: string;
1445
+ cumulative_deposits_before: string;
1446
+ cumulative_deposits_after: string;
1447
+ };
1448
+ };
1449
+ readonly compositionRoutedStake: {
1450
+ readonly created: (bytes: Uint8Array) => {
1451
+ composition_id: string;
1452
+ admin_cap_id: string;
1453
+ recording_id: string;
1454
+ routed_stake_id: string;
1455
+ stake_id: string;
1456
+ sender: string;
1457
+ principal_value: string;
1458
+ registration_count: string;
1459
+ };
1460
+ readonly registered: (bytes: Uint8Array) => {
1461
+ composition_id: string;
1462
+ admin_cap_id: string;
1463
+ recording_id: string;
1464
+ routed_stake_id: string;
1465
+ stake_id: string;
1466
+ pool_id: string;
1467
+ principal_value: string;
1468
+ registration_count_before: string;
1469
+ registration_count_after: string;
1470
+ pool_staked_shares_before: string;
1471
+ pool_staked_shares_after: string;
1472
+ pool_balance: string;
1473
+ pool_cumulative_reward_per_share: string;
1474
+ registration_debt: string;
1475
+ pool_carry: string;
1476
+ pool_cumulative_deposits: string;
1477
+ };
1478
+ readonly unregistered: (bytes: Uint8Array) => {
1479
+ composition_id: string;
1480
+ admin_cap_id: string;
1481
+ recording_id: string;
1482
+ routed_stake_id: string;
1483
+ stake_id: string;
1484
+ pool_id: string;
1485
+ principal_value: string;
1486
+ registration_count_before: string;
1487
+ registration_count_after: string;
1488
+ pool_staked_shares_before: string;
1489
+ pool_staked_shares_after: string;
1490
+ pool_balance: string;
1491
+ pool_cumulative_reward_per_share: string;
1492
+ registration_debt: string;
1493
+ pool_carry: string;
1494
+ pool_cumulative_deposits: string;
1495
+ forfeited_scaled_reward: string;
1496
+ };
1497
+ readonly unstaked: (bytes: Uint8Array) => {
1498
+ composition_id: string;
1499
+ admin_cap_id: string;
1500
+ routed_stake_id: string;
1501
+ stake_id: string;
1502
+ principal_value: string;
1503
+ };
1504
+ readonly restaked: (bytes: Uint8Array) => {
1505
+ composition_id: string;
1506
+ admin_cap_id: string;
1507
+ routed_stake_id: string;
1508
+ stake_id: string;
1509
+ sender: string;
1510
+ principal_value: string;
1511
+ registration_count: string;
1512
+ };
1513
+ };
1514
+ readonly releaseRevenueDistributor: {
1515
+ readonly coinsReceived: (bytes: Uint8Array) => {
1516
+ release_id: string;
1517
+ admin_cap_id: string;
1518
+ coin_ids: string[];
1519
+ amount: string;
1520
+ };
1521
+ readonly fundsRedeemed: (bytes: Uint8Array) => {
1522
+ release_id: string;
1523
+ admin_cap_id: string;
1524
+ amount: string;
1525
+ };
1526
+ readonly trackRevenueDistributed: (bytes: Uint8Array) => {
1527
+ release_id: string;
1528
+ track_index: string;
1529
+ composition_id: string;
1530
+ recording_id: string;
1531
+ split_bps: number;
1532
+ total_input: string;
1533
+ amount: string;
1534
+ };
1535
+ readonly revenueDistributed: (bytes: Uint8Array) => {
1536
+ release_id: string;
1537
+ track_count: string;
1538
+ total_input: string;
1539
+ total_distributed: string;
1540
+ remainder: string;
1541
+ };
1542
+ };
1543
+ readonly partyWallet: {
1544
+ readonly objectReceived: (bytes: Uint8Array) => {
1545
+ party_id: string;
1546
+ object_id: string;
1547
+ };
1548
+ readonly coinsReceived: (bytes: Uint8Array) => {
1549
+ party_id: string;
1550
+ coin_ids: string[];
1551
+ amount: string;
1552
+ coins: string;
1553
+ };
1554
+ readonly fundsRedeemed: (bytes: Uint8Array) => {
1555
+ party_id: string;
1556
+ amount: string;
1557
+ };
1558
+ };
1559
+ readonly pay: {
1560
+ readonly paymentSent: <Metadata extends BcsType<any>>(metadata: Metadata) => (bytes: Uint8Array) => {
1561
+ target_id: string;
1562
+ target_type: {
1563
+ name: string;
1564
+ };
1565
+ payer: string;
1566
+ value: string;
1567
+ metadata: Metadata extends BcsType<infer U, any, string> ? U : never;
1568
+ paid_at_ms: string;
1569
+ };
1570
+ };
1571
+ };
1572
+ readonly plugins: {
1573
+ readonly compositionRoyaltyPool: {
1574
+ readonly installed: (bytes: Uint8Array) => {
1575
+ vault_id: string;
1576
+ cap_id: string;
1577
+ vault_admin_cap_id: string;
1578
+ authorized_plugins_id: string;
1579
+ authorized_plugin_count: string;
1580
+ installed: boolean;
1581
+ };
1582
+ readonly uninstalled: (bytes: Uint8Array) => {
1583
+ vault_id: string;
1584
+ cap_id: string;
1585
+ vault_admin_cap_id: string;
1586
+ authorized_plugins_id: string;
1587
+ authorized_plugin_count: string;
1588
+ installed: boolean;
1589
+ };
1590
+ readonly capabilityBorrowed: (bytes: Uint8Array) => {
1591
+ vault_id: string;
1592
+ cap_id: string;
1593
+ composition_id: string;
1594
+ pool_id: string;
1595
+ active: boolean;
1596
+ capability_available: boolean;
1597
+ };
1598
+ readonly coinsDeposited: (bytes: Uint8Array) => {
1599
+ vault_id: string;
1600
+ cap_id: string;
1601
+ composition_id: string;
1602
+ pool_id: string;
1603
+ pool_balance_before: string;
1604
+ pool_balance_after: string;
1605
+ staked_shares: string;
1606
+ reward_per_share_before: string;
1607
+ reward_per_share_after: string;
1608
+ carry_before: string;
1609
+ carry_after: string;
1610
+ cumulative_deposits_before: string;
1611
+ cumulative_deposits_after: string;
1612
+ active: boolean;
1613
+ capability_available: boolean;
1614
+ coin_ids: string[];
1615
+ };
1616
+ readonly fundsDeposited: (bytes: Uint8Array) => {
1617
+ vault_id: string;
1618
+ cap_id: string;
1619
+ composition_id: string;
1620
+ pool_id: string;
1621
+ pool_balance_before: string;
1622
+ pool_balance_after: string;
1623
+ staked_shares: string;
1624
+ reward_per_share_before: string;
1625
+ reward_per_share_after: string;
1626
+ carry_before: string;
1627
+ carry_after: string;
1628
+ cumulative_deposits_before: string;
1629
+ cumulative_deposits_after: string;
1630
+ active: boolean;
1631
+ capability_available: boolean;
1632
+ amount: string;
1633
+ };
1634
+ };
1635
+ readonly recordingRoyaltyPool: {
1636
+ readonly installed: (bytes: Uint8Array) => {
1637
+ vault_id: string;
1638
+ cap_id: string;
1639
+ vault_admin_cap_id: string;
1640
+ authorized_plugins_id: string;
1641
+ authorized_plugin_count: string;
1642
+ installed: boolean;
1643
+ };
1644
+ readonly uninstalled: (bytes: Uint8Array) => {
1645
+ vault_id: string;
1646
+ cap_id: string;
1647
+ vault_admin_cap_id: string;
1648
+ authorized_plugins_id: string;
1649
+ authorized_plugin_count: string;
1650
+ installed: boolean;
1651
+ };
1652
+ readonly capabilityBorrowed: (bytes: Uint8Array) => {
1653
+ vault_id: string;
1654
+ cap_id: string;
1655
+ recording_id: string;
1656
+ composition_id: string;
1657
+ pool_id: string;
1658
+ active: boolean;
1659
+ capability_available: boolean;
1660
+ };
1661
+ readonly coinsDeposited: (bytes: Uint8Array) => {
1662
+ vault_id: string;
1663
+ cap_id: string;
1664
+ recording_id: string;
1665
+ composition_id: string;
1666
+ pool_id: string;
1667
+ pool_balance_before: string;
1668
+ pool_balance_after: string;
1669
+ staked_shares: string;
1670
+ reward_per_share_before: string;
1671
+ reward_per_share_after: string;
1672
+ carry_before: string;
1673
+ carry_after: string;
1674
+ cumulative_deposits_before: string;
1675
+ cumulative_deposits_after: string;
1676
+ active: boolean;
1677
+ capability_available: boolean;
1678
+ coin_ids: string[];
1679
+ };
1680
+ readonly fundsDeposited: (bytes: Uint8Array) => {
1681
+ vault_id: string;
1682
+ cap_id: string;
1683
+ recording_id: string;
1684
+ composition_id: string;
1685
+ pool_id: string;
1686
+ pool_balance_before: string;
1687
+ pool_balance_after: string;
1688
+ staked_shares: string;
1689
+ reward_per_share_before: string;
1690
+ reward_per_share_after: string;
1691
+ carry_before: string;
1692
+ carry_after: string;
1693
+ cumulative_deposits_before: string;
1694
+ cumulative_deposits_after: string;
1695
+ active: boolean;
1696
+ capability_available: boolean;
1697
+ amount: string;
1698
+ };
1699
+ };
1700
+ readonly releaseRevenueDistributor: {
1701
+ readonly installed: (bytes: Uint8Array) => {
1702
+ vault_id: string;
1703
+ vault_admin_cap_id: string;
1704
+ release_admin_cap_id: string;
1705
+ vault_active: boolean;
1706
+ authorized_before: boolean;
1707
+ authorized_after: boolean;
1708
+ authorized_plugin_count_before: string;
1709
+ authorized_plugin_count_after: string;
1710
+ };
1711
+ readonly uninstalled: (bytes: Uint8Array) => {
1712
+ vault_id: string;
1713
+ vault_admin_cap_id: string;
1714
+ release_admin_cap_id: string;
1715
+ vault_active: boolean;
1716
+ authorized_before: boolean;
1717
+ authorized_after: boolean;
1718
+ authorized_plugin_count_before: string;
1719
+ authorized_plugin_count_after: string;
1720
+ };
1721
+ readonly coinsDistributed: (bytes: Uint8Array) => {
1722
+ vault_id: string;
1723
+ release_admin_cap_id: string;
1724
+ release_id: string;
1725
+ input_coin_count: string;
1726
+ input_coin_ids: string[];
1727
+ };
1728
+ readonly fundsDistributed: (bytes: Uint8Array) => {
1729
+ vault_id: string;
1730
+ release_admin_cap_id: string;
1731
+ release_id: string;
1732
+ accumulator_root_id: string;
1733
+ settled_input: string;
1734
+ };
1735
+ };
1736
+ };
1737
+ readonly products: {
1738
+ readonly record: {
1739
+ readonly destroyed: (bytes: Uint8Array) => {
1740
+ record_id: string;
1741
+ release_id: string;
1742
+ pressing_id: string;
1743
+ edition: number;
1744
+ number: number;
1745
+ purchase_currency: string;
1746
+ purchase_price: string;
1747
+ purchased_by: string;
1748
+ purchased_timestamp_ms: string;
1749
+ };
1750
+ readonly legacy: {
1751
+ readonly created: (bytes: Uint8Array) => {
1752
+ record_id: string;
1753
+ release_id: string;
1754
+ pressing_id: string;
1755
+ edition: number;
1756
+ number: number;
1757
+ };
1758
+ };
1759
+ };
1760
+ readonly pressing: {
1761
+ readonly created: (bytes: Uint8Array) => {
1762
+ pressing_id: string;
1763
+ release_id: string;
1764
+ pressing_admin_cap_id: string;
1765
+ release_admin_cap_id: string;
1766
+ edition: number;
1767
+ supply: number;
1768
+ max_supply: number | null;
1769
+ distributors: string[];
1770
+ };
1771
+ readonly purchased: (bytes: Uint8Array) => {
1772
+ record_id: string;
1773
+ release_id: string;
1774
+ pressing_id: string;
1775
+ edition: number;
1776
+ number: number;
1777
+ purchase_currency: string;
1778
+ purchase_price: string;
1779
+ purchased_by: string;
1780
+ purchased_timestamp_ms: string;
1781
+ distributor: string;
1782
+ supply_before: number;
1783
+ supply_delta: number;
1784
+ supply_after: number;
1785
+ max_supply: number | null;
1786
+ };
1787
+ readonly shared: (bytes: Uint8Array) => {
1788
+ pressing_id: string;
1789
+ release_id: string;
1790
+ edition: number;
1791
+ supply: number;
1792
+ max_supply: number | null;
1793
+ distributors: string[];
1794
+ };
1795
+ readonly distributorAuthorized: (bytes: Uint8Array) => {
1796
+ pressing_id: string;
1797
+ release_id: string;
1798
+ edition: number;
1799
+ pressing_admin_cap_id: string;
1800
+ distributor: string;
1801
+ authorized_before: boolean;
1802
+ authorized_after: boolean;
1803
+ distributor_count_before: string;
1804
+ distributor_count_after: string;
1805
+ };
1806
+ readonly distributorRevoked: (bytes: Uint8Array) => {
1807
+ pressing_id: string;
1808
+ release_id: string;
1809
+ edition: number;
1810
+ pressing_admin_cap_id: string;
1811
+ distributor: string;
1812
+ authorized_before: boolean;
1813
+ authorized_after: boolean;
1814
+ distributor_count_before: string;
1815
+ distributor_count_after: string;
1816
+ };
1817
+ readonly legacy: {
1818
+ readonly distributorAuthorized: (bytes: Uint8Array) => {
1819
+ pressing_id: string;
1820
+ distributor: {
1821
+ name: string;
1822
+ };
1823
+ };
1824
+ readonly distributorRevoked: (bytes: Uint8Array) => {
1825
+ pressing_id: string;
1826
+ distributor: {
1827
+ name: string;
1828
+ };
1829
+ };
1830
+ };
1831
+ };
1832
+ readonly listing: {
1833
+ readonly created: (bytes: Uint8Array) => {
1834
+ listing_id: string;
1835
+ release_id: string;
1836
+ pressing_id: string;
1837
+ pressing_admin_cap_id: string;
1838
+ pricing_is_fixed: boolean;
1839
+ price: string;
1840
+ enabled: boolean;
1841
+ };
1842
+ readonly shared: (bytes: Uint8Array) => {
1843
+ listing_id: string;
1844
+ release_id: string;
1845
+ pressing_id: string;
1846
+ pricing_is_fixed: boolean;
1847
+ price: string;
1848
+ enabled: boolean;
1849
+ };
1850
+ readonly priceChanged: (bytes: Uint8Array) => {
1851
+ listing_id: string;
1852
+ release_id: string;
1853
+ pressing_id: string;
1854
+ pressing_admin_cap_id: string;
1855
+ pricing_is_fixed_before: boolean;
1856
+ price_before: string;
1857
+ pricing_is_fixed_after: boolean;
1858
+ price_after: string;
1859
+ enabled: boolean;
1860
+ };
1861
+ readonly stateChanged: (bytes: Uint8Array) => {
1862
+ listing_id: string;
1863
+ release_id: string;
1864
+ pressing_id: string;
1865
+ pressing_admin_cap_id: string;
1866
+ pricing_is_fixed: boolean;
1867
+ price: string;
1868
+ enabled_before: boolean;
1869
+ enabled_after: boolean;
1870
+ };
1871
+ readonly sold: (bytes: Uint8Array) => {
1872
+ listing_id: string;
1873
+ record_id: string;
1874
+ release_id: string;
1875
+ pressing_id: string;
1876
+ edition: number;
1877
+ number: number;
1878
+ purchase_currency: number[];
1879
+ purchase_price: string;
1880
+ purchased_by: string;
1881
+ purchased_timestamp_ms: string;
1882
+ pricing_is_fixed: boolean;
1883
+ price: string;
1884
+ enabled: boolean;
1885
+ distributor: number[];
1886
+ supply_before: number;
1887
+ supply_delta: number;
1888
+ supply_after: number;
1889
+ has_max_supply: boolean;
1890
+ max_supply: number;
1891
+ payment_recipient: string;
1892
+ proceeds_amount: string;
1893
+ };
1894
+ };
1043
1895
  };
1044
1896
  };
1045
1897
  //# sourceMappingURL=events.d.ts.map