@misonetwork/sdk 0.6.0 → 0.8.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 (296) hide show
  1. package/README.md +181 -124
  2. package/dist/client.d.ts +1229 -15
  3. package/dist/client.d.ts.map +1 -1
  4. package/dist/client.js +43 -21
  5. package/dist/client.js.map +1 -1
  6. package/dist/contracts/composition_credits/composition_credits.d.ts +181 -0
  7. package/dist/contracts/composition_credits/composition_credits.d.ts.map +1 -0
  8. package/dist/contracts/composition_credits/composition_credits.js +109 -0
  9. package/dist/contracts/composition_credits/composition_credits.js.map +1 -0
  10. package/dist/contracts/composition_credits/composition_party_role.d.ts +119 -0
  11. package/dist/contracts/composition_credits/composition_party_role.d.ts.map +1 -0
  12. package/dist/contracts/composition_credits/composition_party_role.js +139 -0
  13. package/dist/contracts/composition_credits/composition_party_role.js.map +1 -0
  14. package/dist/contracts/composition_credits/deps/miso_credit/credit.d.ts +24 -0
  15. package/dist/contracts/composition_credits/deps/miso_credit/credit.d.ts.map +1 -0
  16. package/dist/contracts/composition_credits/deps/miso_credit/credit.js +23 -0
  17. package/dist/contracts/composition_credits/deps/miso_credit/credit.js.map +1 -0
  18. package/dist/contracts/composition_credits/deps/sui/vec_map.d.ts +37 -0
  19. package/dist/contracts/composition_credits/deps/sui/vec_map.d.ts.map +1 -0
  20. package/dist/contracts/composition_credits/deps/sui/vec_map.js +28 -0
  21. package/dist/contracts/composition_credits/deps/sui/vec_map.js.map +1 -0
  22. package/dist/contracts/miso/composition.d.ts +17 -39
  23. package/dist/contracts/miso/composition.d.ts.map +1 -1
  24. package/dist/contracts/miso/composition.js +18 -39
  25. package/dist/contracts/miso/composition.js.map +1 -1
  26. package/dist/contracts/miso/deps/bps/bps.d.ts +1 -1
  27. package/dist/contracts/miso/deps/bps/bps.js +1 -1
  28. package/dist/contracts/miso/recording.d.ts +44 -19
  29. package/dist/contracts/miso/recording.d.ts.map +1 -1
  30. package/dist/contracts/miso/recording.js +46 -20
  31. package/dist/contracts/miso/recording.js.map +1 -1
  32. package/dist/contracts/miso/release.d.ts +63 -37
  33. package/dist/contracts/miso/release.d.ts.map +1 -1
  34. package/dist/contracts/miso/release.js +65 -38
  35. package/dist/contracts/miso/release.js.map +1 -1
  36. package/dist/contracts/miso/track.d.ts +41 -10
  37. package/dist/contracts/miso/track.d.ts.map +1 -1
  38. package/dist/contracts/miso/track.js +44 -10
  39. package/dist/contracts/miso/track.js.map +1 -1
  40. package/dist/contracts/recording_advisory/recording_advisory.d.ts +194 -0
  41. package/dist/contracts/recording_advisory/recording_advisory.d.ts.map +1 -0
  42. package/dist/contracts/recording_advisory/recording_advisory.js +204 -0
  43. package/dist/contracts/recording_advisory/recording_advisory.js.map +1 -0
  44. package/dist/contracts/recording_credits/deps/miso_credit/credit.d.ts +24 -0
  45. package/dist/contracts/recording_credits/deps/miso_credit/credit.d.ts.map +1 -0
  46. package/dist/contracts/recording_credits/deps/miso_credit/credit.js +23 -0
  47. package/dist/contracts/recording_credits/deps/miso_credit/credit.js.map +1 -0
  48. package/dist/contracts/recording_credits/deps/sui/vec_map.d.ts +37 -0
  49. package/dist/contracts/recording_credits/deps/sui/vec_map.d.ts.map +1 -0
  50. package/dist/contracts/recording_credits/deps/sui/vec_map.js +28 -0
  51. package/dist/contracts/recording_credits/deps/sui/vec_map.js.map +1 -0
  52. package/dist/contracts/recording_credits/deps/sui/vec_set.d.ts +21 -0
  53. package/dist/contracts/recording_credits/deps/sui/vec_set.d.ts.map +1 -0
  54. package/dist/contracts/recording_credits/deps/sui/vec_set.js +20 -0
  55. package/dist/contracts/recording_credits/deps/sui/vec_set.js.map +1 -0
  56. package/dist/contracts/recording_credits/recording_credits.d.ts +2313 -0
  57. package/dist/contracts/recording_credits/recording_credits.d.ts.map +1 -0
  58. package/dist/contracts/recording_credits/recording_credits.js +270 -0
  59. package/dist/contracts/recording_credits/recording_credits.js.map +1 -0
  60. package/dist/contracts/recording_credits/recording_party_role.d.ts +1174 -0
  61. package/dist/contracts/recording_credits/recording_party_role.d.ts.map +1 -0
  62. package/dist/contracts/recording_credits/recording_party_role.js +692 -0
  63. package/dist/contracts/recording_credits/recording_party_role.js.map +1 -0
  64. package/dist/contracts/recording_language/deps/language_code/language_code.d.ts +6 -0
  65. package/dist/contracts/recording_language/deps/language_code/language_code.d.ts.map +1 -0
  66. package/dist/contracts/recording_language/deps/language_code/language_code.js +8 -0
  67. package/dist/contracts/recording_language/deps/language_code/language_code.js.map +1 -0
  68. package/dist/contracts/recording_language/recording_language.d.ts +152 -0
  69. package/dist/contracts/recording_language/recording_language.d.ts.map +1 -0
  70. package/dist/contracts/recording_language/recording_language.js +149 -0
  71. package/dist/contracts/recording_language/recording_language.js.map +1 -0
  72. package/dist/contracts/recording_master_reference/deps/ori/walrus_data.d.ts +52 -0
  73. package/dist/contracts/recording_master_reference/deps/ori/walrus_data.d.ts.map +1 -0
  74. package/dist/contracts/recording_master_reference/deps/ori/walrus_data.js +37 -0
  75. package/dist/contracts/recording_master_reference/deps/ori/walrus_data.js.map +1 -0
  76. package/dist/contracts/recording_master_reference/recording_master_reference.d.ts +131 -0
  77. package/dist/contracts/recording_master_reference/recording_master_reference.d.ts.map +1 -0
  78. package/dist/contracts/recording_master_reference/recording_master_reference.js +121 -0
  79. package/dist/contracts/recording_master_reference/recording_master_reference.js.map +1 -0
  80. package/dist/contracts/recording_preview/deps/ori/walrus_data.d.ts +52 -0
  81. package/dist/contracts/recording_preview/deps/ori/walrus_data.d.ts.map +1 -0
  82. package/dist/contracts/recording_preview/deps/ori/walrus_data.js +37 -0
  83. package/dist/contracts/recording_preview/deps/ori/walrus_data.js.map +1 -0
  84. package/dist/contracts/recording_preview/recording_preview.d.ts +104 -0
  85. package/dist/contracts/recording_preview/recording_preview.d.ts.map +1 -0
  86. package/dist/contracts/recording_preview/recording_preview.js +94 -0
  87. package/dist/contracts/recording_preview/recording_preview.js.map +1 -0
  88. package/dist/contracts/release_cover_art/deps/0x340057f2174fb59e4626742dd2b46c662237837b6187450cb59e4976ce7eac78/walrus_data.d.ts +52 -0
  89. package/dist/contracts/release_cover_art/deps/0x340057f2174fb59e4626742dd2b46c662237837b6187450cb59e4976ce7eac78/walrus_data.d.ts.map +1 -0
  90. package/dist/contracts/release_cover_art/deps/0x340057f2174fb59e4626742dd2b46c662237837b6187450cb59e4976ce7eac78/walrus_data.js +37 -0
  91. package/dist/contracts/release_cover_art/deps/0x340057f2174fb59e4626742dd2b46c662237837b6187450cb59e4976ce7eac78/walrus_data.js.map +1 -0
  92. package/dist/contracts/release_cover_art/deps/cover_art/cover_art.d.ts +46 -0
  93. package/dist/contracts/release_cover_art/deps/cover_art/cover_art.d.ts.map +1 -0
  94. package/dist/contracts/release_cover_art/deps/cover_art/cover_art.js +21 -0
  95. package/dist/contracts/release_cover_art/deps/cover_art/cover_art.js.map +1 -0
  96. package/dist/contracts/release_cover_art/deps/per_track/per_track.d.ts +33 -0
  97. package/dist/contracts/release_cover_art/deps/per_track/per_track.d.ts.map +1 -0
  98. package/dist/contracts/release_cover_art/deps/per_track/per_track.js +32 -0
  99. package/dist/contracts/release_cover_art/deps/per_track/per_track.js.map +1 -0
  100. package/dist/contracts/release_cover_art/release_cover_art.d.ts +300 -0
  101. package/dist/contracts/release_cover_art/release_cover_art.d.ts.map +1 -0
  102. package/dist/contracts/release_cover_art/release_cover_art.js +168 -0
  103. package/dist/contracts/release_cover_art/release_cover_art.js.map +1 -0
  104. package/dist/contracts/release_credits/deps/miso_credit/credit.d.ts +24 -0
  105. package/dist/contracts/release_credits/deps/miso_credit/credit.d.ts.map +1 -0
  106. package/dist/contracts/release_credits/deps/miso_credit/credit.js +23 -0
  107. package/dist/contracts/release_credits/deps/miso_credit/credit.js.map +1 -0
  108. package/dist/contracts/release_credits/deps/sui/vec_map.d.ts +37 -0
  109. package/dist/contracts/release_credits/deps/sui/vec_map.d.ts.map +1 -0
  110. package/dist/contracts/release_credits/deps/sui/vec_map.js +28 -0
  111. package/dist/contracts/release_credits/deps/sui/vec_map.js.map +1 -0
  112. package/dist/contracts/release_credits/release_credits.d.ts +142 -0
  113. package/dist/contracts/release_credits/release_credits.d.ts.map +1 -0
  114. package/dist/contracts/release_credits/release_credits.js +108 -0
  115. package/dist/contracts/release_credits/release_credits.js.map +1 -0
  116. package/dist/contracts/release_credits/release_party_role.d.ts +58 -0
  117. package/dist/contracts/release_credits/release_party_role.d.ts.map +1 -0
  118. package/dist/contracts/release_credits/release_party_role.js +66 -0
  119. package/dist/contracts/release_credits/release_party_role.js.map +1 -0
  120. package/dist/contracts/release_description/release_description.d.ts +112 -0
  121. package/dist/contracts/release_description/release_description.d.ts.map +1 -0
  122. package/dist/contracts/release_description/release_description.js +123 -0
  123. package/dist/contracts/release_description/release_description.js.map +1 -0
  124. package/dist/contracts/release_dsp_link/release_dsp_link.d.ts +644 -0
  125. package/dist/contracts/release_dsp_link/release_dsp_link.d.ts.map +1 -0
  126. package/dist/contracts/release_dsp_link/release_dsp_link.js +556 -0
  127. package/dist/contracts/release_dsp_link/release_dsp_link.js.map +1 -0
  128. package/dist/contracts/release_genre/deps/per_track/per_track.d.ts +33 -0
  129. package/dist/contracts/release_genre/deps/per_track/per_track.d.ts.map +1 -0
  130. package/dist/contracts/release_genre/deps/per_track/per_track.js +32 -0
  131. package/dist/contracts/release_genre/deps/per_track/per_track.js.map +1 -0
  132. package/dist/contracts/release_genre/release_genre.d.ts +193 -0
  133. package/dist/contracts/release_genre/release_genre.d.ts.map +1 -0
  134. package/dist/contracts/release_genre/release_genre.js +207 -0
  135. package/dist/contracts/release_genre/release_genre.js.map +1 -0
  136. package/dist/contracts/release_kind/release_kind.d.ts +98 -0
  137. package/dist/contracts/release_kind/release_kind.d.ts.map +1 -0
  138. package/dist/contracts/release_kind/release_kind.js +109 -0
  139. package/dist/contracts/release_kind/release_kind.js.map +1 -0
  140. package/dist/contracts/release_snapshot_bundle/deps/ori/walrus_data.d.ts +52 -0
  141. package/dist/contracts/release_snapshot_bundle/deps/ori/walrus_data.d.ts.map +1 -0
  142. package/dist/contracts/release_snapshot_bundle/deps/ori/walrus_data.js +37 -0
  143. package/dist/contracts/release_snapshot_bundle/deps/ori/walrus_data.js.map +1 -0
  144. package/dist/contracts/release_snapshot_bundle/release_snapshot_bundle.d.ts +91 -0
  145. package/dist/contracts/release_snapshot_bundle/release_snapshot_bundle.d.ts.map +1 -0
  146. package/dist/contracts/release_snapshot_bundle/release_snapshot_bundle.js +91 -0
  147. package/dist/contracts/release_snapshot_bundle/release_snapshot_bundle.js.map +1 -0
  148. package/dist/contracts/routed_stake/deps/royalty_pool/stake.d.ts +54 -0
  149. package/dist/contracts/routed_stake/deps/royalty_pool/stake.d.ts.map +1 -0
  150. package/dist/contracts/routed_stake/deps/royalty_pool/stake.js +37 -0
  151. package/dist/contracts/routed_stake/deps/royalty_pool/stake.js.map +1 -0
  152. package/dist/contracts/routed_stake/deps/std/type_name.d.ts +18 -0
  153. package/dist/contracts/routed_stake/deps/std/type_name.d.ts.map +1 -0
  154. package/dist/contracts/routed_stake/deps/std/type_name.js +20 -0
  155. package/dist/contracts/routed_stake/deps/std/type_name.js.map +1 -0
  156. package/dist/contracts/routed_stake/deps/sui/balance.d.ts +13 -0
  157. package/dist/contracts/routed_stake/deps/sui/balance.d.ts.map +1 -0
  158. package/dist/contracts/routed_stake/deps/sui/balance.js +15 -0
  159. package/dist/contracts/routed_stake/deps/sui/balance.js.map +1 -0
  160. package/dist/contracts/routed_stake/deps/sui/vec_map.d.ts +37 -0
  161. package/dist/contracts/routed_stake/deps/sui/vec_map.d.ts.map +1 -0
  162. package/dist/contracts/routed_stake/deps/sui/vec_map.js +28 -0
  163. package/dist/contracts/routed_stake/deps/sui/vec_map.js.map +1 -0
  164. package/dist/contracts/routed_stake/routed_stake.d.ts +356 -0
  165. package/dist/contracts/routed_stake/routed_stake.d.ts.map +1 -0
  166. package/dist/contracts/routed_stake/routed_stake.js +311 -0
  167. package/dist/contracts/routed_stake/routed_stake.js.map +1 -0
  168. package/dist/contracts/royalty_pool/deps/std/type_name.d.ts +18 -0
  169. package/dist/contracts/royalty_pool/deps/std/type_name.d.ts.map +1 -0
  170. package/dist/contracts/royalty_pool/deps/std/type_name.js +20 -0
  171. package/dist/contracts/royalty_pool/deps/std/type_name.js.map +1 -0
  172. package/dist/contracts/royalty_pool/deps/sui/balance.d.ts +13 -0
  173. package/dist/contracts/royalty_pool/deps/sui/balance.d.ts.map +1 -0
  174. package/dist/contracts/royalty_pool/deps/sui/balance.js +15 -0
  175. package/dist/contracts/royalty_pool/deps/sui/balance.js.map +1 -0
  176. package/dist/contracts/royalty_pool/deps/sui/vec_map.d.ts +37 -0
  177. package/dist/contracts/royalty_pool/deps/sui/vec_map.d.ts.map +1 -0
  178. package/dist/contracts/royalty_pool/deps/sui/vec_map.js +28 -0
  179. package/dist/contracts/royalty_pool/deps/sui/vec_map.js.map +1 -0
  180. package/dist/contracts/royalty_pool/pool.d.ts +394 -0
  181. package/dist/contracts/royalty_pool/pool.d.ts.map +1 -0
  182. package/dist/contracts/royalty_pool/pool.js +387 -0
  183. package/dist/contracts/royalty_pool/pool.js.map +1 -0
  184. package/dist/contracts/royalty_pool/stake.d.ts +202 -0
  185. package/dist/contracts/royalty_pool/stake.d.ts.map +1 -0
  186. package/dist/contracts/royalty_pool/stake.js +197 -0
  187. package/dist/contracts/royalty_pool/stake.js.map +1 -0
  188. package/dist/contracts.d.ts +37 -3
  189. package/dist/contracts.d.ts.map +1 -1
  190. package/dist/contracts.js +42 -8
  191. package/dist/contracts.js.map +1 -1
  192. package/dist/deployments.d.ts +46 -12
  193. package/dist/deployments.d.ts.map +1 -1
  194. package/dist/deployments.js +119 -11
  195. package/dist/deployments.js.map +1 -1
  196. package/dist/events.d.ts +1081 -0
  197. package/dist/events.d.ts.map +1 -0
  198. package/dist/events.js +124 -0
  199. package/dist/events.js.map +1 -0
  200. package/dist/execute.d.ts.map +1 -1
  201. package/dist/execute.js +0 -4
  202. package/dist/execute.js.map +1 -1
  203. package/dist/index.d.ts +3 -0
  204. package/dist/index.d.ts.map +1 -1
  205. package/dist/index.js +6 -3
  206. package/dist/index.js.map +1 -1
  207. package/dist/internal.d.ts.map +1 -1
  208. package/dist/internal.js +2 -0
  209. package/dist/internal.js.map +1 -1
  210. package/dist/numeric.d.ts +5 -0
  211. package/dist/numeric.d.ts.map +1 -0
  212. package/dist/numeric.js +21 -0
  213. package/dist/numeric.js.map +1 -0
  214. package/dist/packages.d.ts +159 -0
  215. package/dist/packages.d.ts.map +1 -0
  216. package/dist/packages.js +179 -0
  217. package/dist/packages.js.map +1 -0
  218. package/dist/parsers.d.ts +5 -2
  219. package/dist/parsers.d.ts.map +1 -1
  220. package/dist/parsers.js +19 -7
  221. package/dist/parsers.js.map +1 -1
  222. package/dist/queries.d.ts +92 -0
  223. package/dist/queries.d.ts.map +1 -1
  224. package/dist/queries.js +132 -23
  225. package/dist/queries.js.map +1 -1
  226. package/dist/transactions.d.ts +96 -12
  227. package/dist/transactions.d.ts.map +1 -1
  228. package/dist/transactions.js +124 -14
  229. package/dist/transactions.js.map +1 -1
  230. package/dist/types.d.ts +35 -8
  231. package/dist/types.d.ts.map +1 -1
  232. package/dist/view.d.ts +6 -5
  233. package/dist/view.d.ts.map +1 -1
  234. package/dist/view.js +8 -2
  235. package/dist/view.js.map +1 -1
  236. package/package.json +14 -4
  237. package/src/client.ts +57 -25
  238. package/src/contracts/composition_credits/composition_credits.ts +169 -0
  239. package/src/contracts/composition_credits/composition_party_role.ts +189 -0
  240. package/src/contracts/composition_credits/deps/miso_credit/credit.ts +27 -0
  241. package/src/contracts/composition_credits/deps/sui/vec_map.ts +33 -0
  242. package/src/contracts/miso/composition.ts +24 -61
  243. package/src/contracts/miso/deps/bps/bps.ts +3 -3
  244. package/src/contracts/miso/recording.ts +69 -32
  245. package/src/contracts/miso/release.ts +103 -67
  246. package/src/contracts/miso/track.ts +56 -13
  247. package/src/contracts/recording_advisory/recording_advisory.ts +315 -0
  248. package/src/contracts/recording_credits/deps/miso_credit/credit.ts +27 -0
  249. package/src/contracts/recording_credits/deps/sui/vec_map.ts +33 -0
  250. package/src/contracts/recording_credits/deps/sui/vec_set.ts +21 -0
  251. package/src/contracts/recording_credits/recording_credits.ts +458 -0
  252. package/src/contracts/recording_credits/recording_party_role.ts +1041 -0
  253. package/src/contracts/recording_language/deps/language_code/language_code.ts +7 -0
  254. package/src/contracts/recording_language/recording_language.ts +237 -0
  255. package/src/contracts/recording_master_reference/deps/ori/walrus_data.ts +36 -0
  256. package/src/contracts/recording_master_reference/recording_master_reference.ts +181 -0
  257. package/src/contracts/recording_preview/deps/ori/walrus_data.ts +36 -0
  258. package/src/contracts/recording_preview/recording_preview.ts +154 -0
  259. package/src/contracts/release_cover_art/deps/0x340057f2174fb59e4626742dd2b46c662237837b6187450cb59e4976ce7eac78/walrus_data.ts +36 -0
  260. package/src/contracts/release_cover_art/deps/cover_art/cover_art.ts +23 -0
  261. package/src/contracts/release_cover_art/deps/per_track/per_track.ts +36 -0
  262. package/src/contracts/release_cover_art/release_cover_art.ts +251 -0
  263. package/src/contracts/release_credits/deps/miso_credit/credit.ts +27 -0
  264. package/src/contracts/release_credits/deps/sui/vec_map.ts +33 -0
  265. package/src/contracts/release_credits/release_credits.ts +156 -0
  266. package/src/contracts/release_credits/release_party_role.ts +87 -0
  267. package/src/contracts/release_description/release_description.ts +167 -0
  268. package/src/contracts/release_dsp_link/release_dsp_link.ts +813 -0
  269. package/src/contracts/release_genre/deps/per_track/per_track.ts +36 -0
  270. package/src/contracts/release_genre/release_genre.ts +314 -0
  271. package/src/contracts/release_kind/release_kind.ts +153 -0
  272. package/src/contracts/release_snapshot_bundle/deps/ori/walrus_data.ts +36 -0
  273. package/src/contracts/release_snapshot_bundle/release_snapshot_bundle.ts +124 -0
  274. package/src/contracts/routed_stake/deps/royalty_pool/stake.ts +39 -0
  275. package/src/contracts/routed_stake/deps/std/type_name.ts +22 -0
  276. package/src/contracts/routed_stake/deps/sui/balance.ts +17 -0
  277. package/src/contracts/routed_stake/deps/sui/vec_map.ts +33 -0
  278. package/src/contracts/routed_stake/routed_stake.ts +508 -0
  279. package/src/contracts/royalty_pool/deps/std/type_name.ts +22 -0
  280. package/src/contracts/royalty_pool/deps/sui/balance.ts +17 -0
  281. package/src/contracts/royalty_pool/deps/sui/vec_map.ts +33 -0
  282. package/src/contracts/royalty_pool/pool.ts +613 -0
  283. package/src/contracts/royalty_pool/stake.ts +317 -0
  284. package/src/contracts.ts +59 -6
  285. package/src/deployments.ts +160 -22
  286. package/src/events.ts +129 -0
  287. package/src/execute.ts +0 -4
  288. package/src/index.ts +6 -3
  289. package/src/internal.ts +2 -4
  290. package/src/numeric.ts +25 -0
  291. package/src/packages.ts +251 -0
  292. package/src/parsers.ts +32 -11
  293. package/src/queries.ts +227 -25
  294. package/src/transactions.ts +255 -23
  295. package/src/types.ts +37 -9
  296. package/src/view.ts +12 -6
package/dist/client.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import type { ClientWithCoreApi, SuiClientRegistration } from "@mysten/sui/client";
2
2
  import type { SuiGraphQLClient } from "@mysten/sui/graphql";
3
- import { type MisoProtocolDeployment } from "./deployments.ts";
3
+ import { type MisoDeployment, type MisoProtocolDeployment } from "./deployments.ts";
4
+ import { MisoPackageBindings } from "./packages.ts";
4
5
  import * as parsers from "./parsers.ts";
5
6
  import * as queries from "./queries.ts";
6
7
  import * as view from "./view.ts";
@@ -13,10 +14,10 @@ export interface MisoOptions<Name extends string = "miso"> {
13
14
  /** Name for the client extension. Defaults to "miso". */
14
15
  name?: Name;
15
16
  /**
16
- * Complete custom deployment. Omit for bundled Mainnet/Testnet addresses,
17
- * selected from the Sui client's `network`.
17
+ * Explicit core-only deployment or complete package manifest. Omit only after
18
+ * this SDK has a verified bundled manifest for the client's network.
18
19
  */
19
- deployment?: MisoProtocolDeployment;
20
+ deployment?: MisoProtocolDeployment | MisoDeployment;
20
21
  /** @deprecated Use `deployment`. Retained for compatibility with pre-0.4 callers. */
21
22
  misoPackageId?: string;
22
23
  /**
@@ -40,6 +41,7 @@ export interface MisoOptions<Name extends string = "miso"> {
40
41
  export declare function miso<const Name extends string = "miso">(options?: MisoOptions<Name>): SuiClientRegistration<ClientWithCoreApi, Name, MisoProtocolClient>;
41
42
  export interface MisoProtocolClientOptions {
42
43
  deployment: MisoProtocolDeployment;
44
+ packageDeployment?: MisoDeployment;
43
45
  graphqlClient?: SuiGraphQLClient;
44
46
  }
45
47
  export declare class MisoProtocolClient {
@@ -47,6 +49,11 @@ export declare class MisoProtocolClient {
47
49
  constructor(client: ClientWithCoreApi, options: MisoProtocolClientOptions);
48
50
  /** The exact deployment selected for this client. */
49
51
  get deployment(): MisoProtocolDeployment;
52
+ /**
53
+ * Complete package-bound calls and BCS codecs, available only when `miso()`
54
+ * was given a full fresh deployment manifest.
55
+ */
56
+ get packages(): MisoPackageBindings;
50
57
  getCompositionById(compositionId: string): Promise<Composition>;
51
58
  getCompositionsByIds(ids: string[]): Promise<Record<string, Composition>>;
52
59
  getWorksByIds(ids: queries.WorkIds): Promise<queries.WorksById>;
@@ -64,6 +71,10 @@ export declare class MisoProtocolClient {
64
71
  getOwnedRecordingAdminCaps(owner: string): Promise<RecordingAdminCap[]>;
65
72
  deriveRecordingAdminCapId(recordingId: string): string;
66
73
  getReleaseById(releaseId: string): Promise<Release>;
74
+ /** Read the shared canonical core `miso::release::ReleaseRegistry`. */
75
+ getReleaseRegistryById(registryId: string): Promise<{
76
+ id: string;
77
+ }>;
67
78
  getReleasesByIds(ids: string[]): Promise<Record<string, Release>>;
68
79
  getReleaseAdminCapById(adminCapId: string): Promise<ReleaseAdminCap>;
69
80
  deriveReleaseAdminCapId(releaseId: string): string;
@@ -79,10 +90,142 @@ export declare class MisoProtocolClient {
79
90
  deriveTargetReleaseId: (params: view.DeriveTargetReleaseIdParams) => Promise<string>;
80
91
  };
81
92
  get call(): {
82
- composition: typeof composition;
83
- recording: typeof recording;
84
- release: typeof release;
85
- track: typeof track;
93
+ composition: {
94
+ id: (options: Omit<composition.IdOptions, "package">) => (tx: import("@mysten/sui/transactions").Transaction) => import("@mysten/sui/transactions").TransactionResult;
95
+ publish: (options: Omit<composition.PublishOptions, "package">) => (tx: import("@mysten/sui/transactions").Transaction) => import("@mysten/sui/transactions").TransactionResult;
96
+ _new: (options: Omit<composition.NewOptions, "package">) => (tx: import("@mysten/sui/transactions").Transaction) => import("@mysten/sui/transactions").TransactionResult;
97
+ royaltyRate: (options: Omit<composition.RoyaltyRateOptions, "package">) => (tx: import("@mysten/sui/transactions").Transaction) => import("@mysten/sui/transactions").TransactionResult;
98
+ CompositionState: import("./contracts/utils/index.ts").MoveEnum<{
99
+ Initialized: null;
100
+ Published: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
101
+ }, "@local-pkg/miso::composition::CompositionState">;
102
+ Composition: import("./contracts/utils/index.ts").MoveStruct<{
103
+ id: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
104
+ state: import("./contracts/utils/index.ts").MoveEnum<{
105
+ Initialized: null;
106
+ Published: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
107
+ }, "@local-pkg/miso::composition::CompositionState">;
108
+ title: import("@mysten/bcs").BcsType<string, string, "string">;
109
+ royalty_rate: import("./contracts/utils/index.ts").MoveTuple<readonly [import("@mysten/bcs").BcsType<number, number, "u16">], "bps::bps::BPS">;
110
+ }, "@local-pkg/miso::composition::Composition<phantom CompositionShare>">;
111
+ CompositionAdminCap: import("./contracts/utils/index.ts").MoveStruct<{
112
+ id: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
113
+ }, "@local-pkg/miso::composition::CompositionAdminCap<phantom CompositionShare>">;
114
+ CompositionAdminCapKey: import("./contracts/utils/index.ts").MoveTuple<readonly [import("@mysten/bcs").BcsType<boolean, boolean, "bool">], "@local-pkg/miso::composition::CompositionAdminCapKey">;
115
+ CompositionPublishedEvent: import("./contracts/utils/index.ts").MoveStruct<{
116
+ composition_id: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
117
+ }, "@local-pkg/miso::composition::CompositionPublishedEvent<phantom CompositionShare>">;
118
+ };
119
+ recording: {
120
+ id: (options: Omit<recording.IdOptions, "package">) => (tx: import("@mysten/sui/transactions").Transaction) => import("@mysten/sui/transactions").TransactionResult;
121
+ publish: (options: Omit<recording.PublishOptions, "package">) => (tx: import("@mysten/sui/transactions").Transaction) => import("@mysten/sui/transactions").TransactionResult;
122
+ _new: (options: Omit<recording.NewOptions, "package">) => (tx: import("@mysten/sui/transactions").Transaction) => import("@mysten/sui/transactions").TransactionResult;
123
+ compositionId: (options: Omit<recording.CompositionIdOptions, "package">) => (tx: import("@mysten/sui/transactions").Transaction) => import("@mysten/sui/transactions").TransactionResult;
124
+ RecordingState: import("./contracts/utils/index.ts").MoveEnum<{
125
+ Initialized: null;
126
+ Published: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
127
+ }, "@local-pkg/miso::recording::RecordingState">;
128
+ Recording: import("./contracts/utils/index.ts").MoveStruct<{
129
+ id: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
130
+ state: import("./contracts/utils/index.ts").MoveEnum<{
131
+ Initialized: null;
132
+ Published: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
133
+ }, "@local-pkg/miso::recording::RecordingState">;
134
+ composition_id: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
135
+ }, "@local-pkg/miso::recording::Recording<phantom RecordingShare, phantom CompositionShare>">;
136
+ RecordingAdminCap: import("./contracts/utils/index.ts").MoveStruct<{
137
+ id: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
138
+ }, "@local-pkg/miso::recording::RecordingAdminCap<phantom RecordingShare>">;
139
+ RecordingAdminCapKey: import("./contracts/utils/index.ts").MoveTuple<readonly [import("@mysten/bcs").BcsType<boolean, boolean, "bool">], "@local-pkg/miso::recording::RecordingAdminCapKey">;
140
+ RecordingPublishedEvent: import("./contracts/utils/index.ts").MoveStruct<{
141
+ recording_id: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
142
+ }, "@local-pkg/miso::recording::RecordingPublishedEvent<phantom RecordingShare, phantom CompositionShare>">;
143
+ CompositionSharesGrantedEvent: import("./contracts/utils/index.ts").MoveStruct<{
144
+ recording_id: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
145
+ composition_id: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
146
+ value: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
147
+ rate_bps: import("@mysten/bcs").BcsType<number, number, "u16">;
148
+ granted_by: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
149
+ }, "@local-pkg/miso::recording::CompositionSharesGrantedEvent<phantom RecordingShare, phantom CompositionShare>">;
150
+ };
151
+ release: {
152
+ id: (options: Omit<release.IdOptions, "package">) => (tx: import("@mysten/sui/transactions").Transaction) => import("@mysten/sui/transactions").TransactionResult;
153
+ publish: (options: Omit<release.PublishOptions, "package">) => (tx: import("@mysten/sui/transactions").Transaction) => import("@mysten/sui/transactions").TransactionResult;
154
+ authorize: (options: Omit<release.AuthorizeOptions, "package">) => (tx: import("@mysten/sui/transactions").Transaction) => import("@mysten/sui/transactions").TransactionResult;
155
+ _new: (options: Omit<release.NewOptions, "package">) => (tx: import("@mysten/sui/transactions").Transaction) => import("@mysten/sui/transactions").TransactionResult;
156
+ deriveTargetReleaseId: (options: Omit<release.DeriveTargetReleaseIdOptions, "package">) => (tx: import("@mysten/sui/transactions").Transaction) => import("@mysten/sui/transactions").TransactionResult;
157
+ releaseRegistryId: (options: Omit<release.ReleaseRegistryIdOptions, "package">) => (tx: import("@mysten/sui/transactions").Transaction) => import("@mysten/sui/transactions").TransactionResult;
158
+ releaseAdminCapReleaseId: (options: Omit<release.ReleaseAdminCapReleaseIdOptions, "package">) => (tx: import("@mysten/sui/transactions").Transaction) => import("@mysten/sui/transactions").TransactionResult;
159
+ ReleaseState: import("./contracts/utils/index.ts").MoveEnum<{
160
+ Initialized: null;
161
+ Published: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
162
+ }, "@local-pkg/miso::release::ReleaseState">;
163
+ Release: import("./contracts/utils/index.ts").MoveStruct<{
164
+ id: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
165
+ state: import("./contracts/utils/index.ts").MoveEnum<{
166
+ Initialized: null;
167
+ Published: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
168
+ }, "@local-pkg/miso::release::ReleaseState">;
169
+ title: import("@mysten/bcs").BcsType<string, string, "string">;
170
+ tracks: import("@mysten/bcs").BcsType<{
171
+ state: import("@mysten/bcs").EnumOutputShapeWithKeys<{
172
+ Unassigned: string;
173
+ Assigned: true;
174
+ }, "Unassigned" | "Assigned">;
175
+ composition_id: string;
176
+ recording_id: string;
177
+ split_bps: [number];
178
+ }[], Iterable<{
179
+ state: import("@mysten/bcs").EnumInputShape<{
180
+ Unassigned: string | Uint8Array<ArrayBufferLike>;
181
+ Assigned: boolean | object | null;
182
+ }>;
183
+ composition_id: string | Uint8Array<ArrayBufferLike>;
184
+ recording_id: string | Uint8Array<ArrayBufferLike>;
185
+ split_bps: readonly [number];
186
+ }> & {
187
+ length: number;
188
+ }, string>;
189
+ }, "@local-pkg/miso::release::Release">;
190
+ ReleaseRegistry: import("./contracts/utils/index.ts").MoveStruct<{
191
+ id: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
192
+ }, "@local-pkg/miso::release::ReleaseRegistry">;
193
+ ReleaseKey: import("./contracts/utils/index.ts").MoveTuple<readonly [import("@mysten/bcs").BcsType<number[], Iterable<number> & {
194
+ length: number;
195
+ }, string>], "@local-pkg/miso::release::ReleaseKey">;
196
+ ReleaseAdminCap: import("./contracts/utils/index.ts").MoveStruct<{
197
+ id: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
198
+ release_id: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
199
+ }, "@local-pkg/miso::release::ReleaseAdminCap">;
200
+ ReleaseAdminCapKey: import("./contracts/utils/index.ts").MoveTuple<readonly [import("@mysten/bcs").BcsType<boolean, boolean, "bool">], "@local-pkg/miso::release::ReleaseAdminCapKey">;
201
+ ReleasePublishedEvent: import("./contracts/utils/index.ts").MoveStruct<{
202
+ release_id: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
203
+ }, "@local-pkg/miso::release::ReleasePublishedEvent">;
204
+ ReleaseRegistryCreatedEvent: import("./contracts/utils/index.ts").MoveStruct<{
205
+ registry_id: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
206
+ created_by: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
207
+ }, "@local-pkg/miso::release::ReleaseRegistryCreatedEvent">;
208
+ };
209
+ track: {
210
+ targetReleaseId: (options: Omit<track.TargetReleaseIdOptions, "package">) => (tx: import("@mysten/sui/transactions").Transaction) => import("@mysten/sui/transactions").TransactionResult;
211
+ _new: (options: Omit<track.NewOptions, "package">) => (tx: import("@mysten/sui/transactions").Transaction) => import("@mysten/sui/transactions").TransactionResult;
212
+ compositionId: (options: Omit<track.CompositionIdOptions, "package">) => (tx: import("@mysten/sui/transactions").Transaction) => import("@mysten/sui/transactions").TransactionResult;
213
+ recordingId: (options: Omit<track.RecordingIdOptions, "package">) => (tx: import("@mysten/sui/transactions").Transaction) => import("@mysten/sui/transactions").TransactionResult;
214
+ splitBps: (options: Omit<track.SplitBpsOptions, "package">) => (tx: import("@mysten/sui/transactions").Transaction) => import("@mysten/sui/transactions").TransactionResult;
215
+ TrackState: import("./contracts/utils/index.ts").MoveEnum<{
216
+ Unassigned: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
217
+ Assigned: null;
218
+ }, "@local-pkg/miso::track::TrackState">;
219
+ Track: import("./contracts/utils/index.ts").MoveStruct<{
220
+ state: import("./contracts/utils/index.ts").MoveEnum<{
221
+ Unassigned: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
222
+ Assigned: null;
223
+ }, "@local-pkg/miso::track::TrackState">;
224
+ composition_id: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
225
+ recording_id: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
226
+ split_bps: import("./contracts/utils/index.ts").MoveTuple<readonly [import("@mysten/bcs").BcsType<number, number, "u16">], "bps::bps::BPS">;
227
+ }, "@local-pkg/miso::track::Track">;
228
+ };
86
229
  };
87
230
  get bcs(): {
88
231
  Composition: import("./contracts/utils/index.ts").MoveStruct<{
@@ -100,6 +243,7 @@ export declare class MisoProtocolClient {
100
243
  Initialized: null;
101
244
  Published: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
102
245
  }, "@local-pkg/miso::recording::RecordingState">;
246
+ composition_id: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
103
247
  }, "@local-pkg/miso::recording::Recording<phantom RecordingShare, phantom CompositionShare>">;
104
248
  Release: import("./contracts/utils/index.ts").MoveStruct<{
105
249
  id: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
@@ -113,6 +257,7 @@ export declare class MisoProtocolClient {
113
257
  Unassigned: string;
114
258
  Assigned: true;
115
259
  }, "Unassigned" | "Assigned">;
260
+ composition_id: string;
116
261
  recording_id: string;
117
262
  split_bps: [number];
118
263
  }[], Iterable<{
@@ -120,6 +265,7 @@ export declare class MisoProtocolClient {
120
265
  Unassigned: string | Uint8Array<ArrayBufferLike>;
121
266
  Assigned: boolean | object | null;
122
267
  }>;
268
+ composition_id: string | Uint8Array<ArrayBufferLike>;
123
269
  recording_id: string | Uint8Array<ArrayBufferLike>;
124
270
  split_bps: readonly [number];
125
271
  }> & {
@@ -131,18 +277,13 @@ export declare class MisoProtocolClient {
131
277
  Unassigned: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
132
278
  Assigned: null;
133
279
  }, "@local-pkg/miso::track::TrackState">;
280
+ composition_id: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
134
281
  recording_id: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
135
282
  split_bps: import("./contracts/utils/index.ts").MoveTuple<readonly [import("@mysten/bcs").BcsType<number, number, "u16">], "bps::bps::BPS">;
136
283
  }, "@local-pkg/miso::track::Track">;
137
284
  CompositionPublishedEvent: import("./contracts/utils/index.ts").MoveStruct<{
138
285
  composition_id: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
139
286
  }, "@local-pkg/miso::composition::CompositionPublishedEvent<phantom CompositionShare>">;
140
- CompositionRoyaltySetEvent: import("./contracts/utils/index.ts").MoveStruct<{
141
- composition_id: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
142
- previous_royalty_rate_bps: import("@mysten/bcs").BcsType<number, number, "u16">;
143
- royalty_rate_bps: import("@mysten/bcs").BcsType<number, number, "u16">;
144
- changed_by: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
145
- }, "@local-pkg/miso::composition::CompositionRoyaltySetEvent<phantom CompositionShare>">;
146
287
  RecordingPublishedEvent: import("./contracts/utils/index.ts").MoveStruct<{
147
288
  recording_id: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
148
289
  }, "@local-pkg/miso::recording::RecordingPublishedEvent<phantom RecordingShare, phantom CompositionShare>">;
@@ -152,9 +293,1082 @@ export declare class MisoProtocolClient {
152
293
  };
153
294
  get parse(): {
154
295
  compositionPublishedEvent: typeof parsers.parseCompositionPublishedEvent;
155
- compositionRoyaltySetEvent: typeof parsers.parseCompositionRoyaltySetEvent;
156
296
  recordingPublishedEvent: typeof parsers.parseRecordingPublishedEvent;
297
+ compositionSharesGrantedEvent: typeof parsers.parseCompositionSharesGrantedEvent;
157
298
  releasePublishedEvent: typeof parsers.parseReleasePublishedEvent;
299
+ releaseRegistryCreatedEvent: typeof parsers.parseReleaseRegistryCreatedEvent;
300
+ events: {
301
+ readonly core: {
302
+ readonly releaseRegistryCreated: (bytes: Uint8Array) => {
303
+ registry_id: string;
304
+ created_by: string;
305
+ };
306
+ };
307
+ readonly extensions: {
308
+ readonly compositionCredits: {
309
+ readonly creditAdded: (bytes: Uint8Array) => {
310
+ composition_id: string;
311
+ party_id: string;
312
+ credit: {
313
+ display_name: string;
314
+ roles: import("@mysten/bcs").EnumOutputShapeWithKeys<{
315
+ Adapter: true;
316
+ Arranger: true;
317
+ Composer: true;
318
+ Lyricist: true;
319
+ Songwriter: true;
320
+ Translator: true;
321
+ Custom: string;
322
+ }, "Adapter" | "Arranger" | "Composer" | "Lyricist" | "Songwriter" | "Translator" | "Custom">[];
323
+ };
324
+ };
325
+ readonly creditRemoved: (bytes: Uint8Array) => {
326
+ composition_id: string;
327
+ party_id: string;
328
+ credit: {
329
+ display_name: string;
330
+ roles: import("@mysten/bcs").EnumOutputShapeWithKeys<{
331
+ Adapter: true;
332
+ Arranger: true;
333
+ Composer: true;
334
+ Lyricist: true;
335
+ Songwriter: true;
336
+ Translator: true;
337
+ Custom: string;
338
+ }, "Adapter" | "Arranger" | "Composer" | "Lyricist" | "Songwriter" | "Translator" | "Custom">[];
339
+ };
340
+ };
341
+ };
342
+ readonly recordingAdvisory: {
343
+ readonly ratingSet: (bytes: Uint8Array) => {
344
+ recording_id: string;
345
+ rating: import("@mysten/bcs").EnumOutputShapeWithKeys<{
346
+ Explicit: true;
347
+ NotExplicit: true;
348
+ Cleaned: true;
349
+ }, "Explicit" | "NotExplicit" | "Cleaned">;
350
+ };
351
+ readonly ratingUnset: (bytes: Uint8Array) => {
352
+ recording_id: string;
353
+ };
354
+ };
355
+ readonly recordingCredits: {
356
+ readonly creditAdded: (bytes: Uint8Array) => {
357
+ recording_id: string;
358
+ party_id: string;
359
+ credit: {
360
+ display_name: string;
361
+ roles: import("@mysten/bcs").EnumOutputShapeWithKeys<{
362
+ Actor: 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
+ Arranger: 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
+ ArtistsAndRepertoire: true;
385
+ BandLeader: import("@mysten/bcs").EnumOutputShapeWithKeys<{
386
+ Additional: true;
387
+ Assistant: true;
388
+ Associate: true;
389
+ Backing: true;
390
+ Executive: true;
391
+ Featured: true;
392
+ Lead: true;
393
+ Primary: true;
394
+ Principal: true;
395
+ }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
396
+ Choir: import("@mysten/bcs").EnumOutputShapeWithKeys<{
397
+ Additional: true;
398
+ Assistant: true;
399
+ Associate: true;
400
+ Backing: true;
401
+ Executive: true;
402
+ Featured: true;
403
+ Lead: true;
404
+ Primary: true;
405
+ Principal: true;
406
+ }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
407
+ ChoirMaster: import("@mysten/bcs").EnumOutputShapeWithKeys<{
408
+ Additional: true;
409
+ Assistant: true;
410
+ Associate: true;
411
+ Backing: true;
412
+ Executive: true;
413
+ Featured: true;
414
+ Lead: true;
415
+ Primary: true;
416
+ Principal: true;
417
+ }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
418
+ ConcertMaster: import("@mysten/bcs").EnumOutputShapeWithKeys<{
419
+ Additional: true;
420
+ Assistant: true;
421
+ Associate: true;
422
+ Backing: true;
423
+ Executive: true;
424
+ Featured: true;
425
+ Lead: true;
426
+ Primary: true;
427
+ Principal: true;
428
+ }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
429
+ Conductor: import("@mysten/bcs").EnumOutputShapeWithKeys<{
430
+ Additional: true;
431
+ Assistant: true;
432
+ Associate: true;
433
+ Backing: true;
434
+ Executive: true;
435
+ Featured: true;
436
+ Lead: true;
437
+ Primary: true;
438
+ Principal: true;
439
+ }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
440
+ Contractor: import("@mysten/bcs").EnumOutputShapeWithKeys<{
441
+ Additional: true;
442
+ Assistant: true;
443
+ Associate: true;
444
+ Backing: true;
445
+ Executive: true;
446
+ Featured: true;
447
+ Lead: true;
448
+ Primary: true;
449
+ Principal: true;
450
+ }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
451
+ Copyist: true;
452
+ DJ: import("@mysten/bcs").EnumOutputShapeWithKeys<{
453
+ Additional: true;
454
+ Assistant: true;
455
+ Associate: true;
456
+ Backing: true;
457
+ Executive: true;
458
+ Featured: true;
459
+ Lead: true;
460
+ Primary: true;
461
+ Principal: true;
462
+ }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
463
+ Editor: import("@mysten/bcs").EnumOutputShapeWithKeys<{
464
+ Additional: true;
465
+ Assistant: true;
466
+ Associate: true;
467
+ Backing: true;
468
+ Executive: true;
469
+ Featured: true;
470
+ Lead: true;
471
+ Primary: true;
472
+ Principal: true;
473
+ }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
474
+ Engineer: import("@mysten/bcs").EnumOutputShapeWithKeys<{
475
+ Additional: true;
476
+ Assistant: true;
477
+ Associate: true;
478
+ Backing: true;
479
+ Executive: true;
480
+ Featured: true;
481
+ Lead: true;
482
+ Primary: true;
483
+ Principal: true;
484
+ }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
485
+ Ensemble: import("@mysten/bcs").EnumOutputShapeWithKeys<{
486
+ Additional: true;
487
+ Assistant: true;
488
+ Associate: true;
489
+ Backing: true;
490
+ Executive: true;
491
+ Featured: true;
492
+ Lead: true;
493
+ Primary: true;
494
+ Principal: true;
495
+ }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
496
+ Instrumentalist: [string, import("@mysten/bcs").EnumOutputShapeWithKeys<{
497
+ Additional: true;
498
+ Assistant: true;
499
+ Associate: true;
500
+ Backing: true;
501
+ Executive: true;
502
+ Featured: true;
503
+ Lead: true;
504
+ Primary: true;
505
+ Principal: true;
506
+ }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null];
507
+ MasteringEngineer: import("@mysten/bcs").EnumOutputShapeWithKeys<{
508
+ Additional: true;
509
+ Assistant: true;
510
+ Associate: true;
511
+ Backing: true;
512
+ Executive: true;
513
+ Featured: true;
514
+ Lead: true;
515
+ Primary: true;
516
+ Principal: true;
517
+ }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
518
+ MixingEngineer: import("@mysten/bcs").EnumOutputShapeWithKeys<{
519
+ Additional: true;
520
+ Assistant: true;
521
+ Associate: true;
522
+ Backing: true;
523
+ Executive: true;
524
+ Featured: true;
525
+ Lead: true;
526
+ Primary: true;
527
+ Principal: true;
528
+ }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
529
+ MusicDirector: import("@mysten/bcs").EnumOutputShapeWithKeys<{
530
+ Additional: true;
531
+ Assistant: true;
532
+ Associate: true;
533
+ Backing: true;
534
+ Executive: true;
535
+ Featured: true;
536
+ Lead: true;
537
+ Primary: true;
538
+ Principal: true;
539
+ }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
540
+ MusicSupervisor: import("@mysten/bcs").EnumOutputShapeWithKeys<{
541
+ Additional: true;
542
+ Assistant: true;
543
+ Associate: true;
544
+ Backing: true;
545
+ Executive: true;
546
+ Featured: true;
547
+ Lead: true;
548
+ Primary: true;
549
+ Principal: true;
550
+ }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
551
+ Narrator: import("@mysten/bcs").EnumOutputShapeWithKeys<{
552
+ Additional: true;
553
+ Assistant: true;
554
+ Associate: true;
555
+ Backing: true;
556
+ Executive: true;
557
+ Featured: true;
558
+ Lead: true;
559
+ Primary: true;
560
+ Principal: true;
561
+ }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
562
+ Orchestra: import("@mysten/bcs").EnumOutputShapeWithKeys<{
563
+ Additional: true;
564
+ Assistant: true;
565
+ Associate: true;
566
+ Backing: true;
567
+ Executive: true;
568
+ Featured: true;
569
+ Lead: true;
570
+ Primary: true;
571
+ Principal: true;
572
+ }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
573
+ Orchestrator: import("@mysten/bcs").EnumOutputShapeWithKeys<{
574
+ Additional: true;
575
+ Assistant: true;
576
+ Associate: true;
577
+ Backing: true;
578
+ Executive: true;
579
+ Featured: true;
580
+ Lead: true;
581
+ Primary: true;
582
+ Principal: true;
583
+ }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
584
+ Performer: import("@mysten/bcs").EnumOutputShapeWithKeys<{
585
+ Additional: true;
586
+ Assistant: true;
587
+ Associate: true;
588
+ Backing: true;
589
+ Executive: true;
590
+ Featured: true;
591
+ Lead: true;
592
+ Primary: true;
593
+ Principal: true;
594
+ }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
595
+ Producer: import("@mysten/bcs").EnumOutputShapeWithKeys<{
596
+ Additional: true;
597
+ Assistant: true;
598
+ Associate: true;
599
+ Backing: true;
600
+ Executive: true;
601
+ Featured: true;
602
+ Lead: true;
603
+ Primary: true;
604
+ Principal: true;
605
+ }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
606
+ Programmer: import("@mysten/bcs").EnumOutputShapeWithKeys<{
607
+ Additional: true;
608
+ Assistant: true;
609
+ Associate: true;
610
+ Backing: true;
611
+ Executive: true;
612
+ Featured: true;
613
+ Lead: true;
614
+ Primary: true;
615
+ Principal: true;
616
+ }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
617
+ RecordingEngineer: import("@mysten/bcs").EnumOutputShapeWithKeys<{
618
+ Additional: true;
619
+ Assistant: true;
620
+ Associate: true;
621
+ Backing: true;
622
+ Executive: true;
623
+ Featured: true;
624
+ Lead: true;
625
+ Primary: true;
626
+ Principal: true;
627
+ }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
628
+ RemixingEngineer: import("@mysten/bcs").EnumOutputShapeWithKeys<{
629
+ Additional: true;
630
+ Assistant: true;
631
+ Associate: true;
632
+ Backing: true;
633
+ Executive: true;
634
+ Featured: true;
635
+ Lead: true;
636
+ Primary: true;
637
+ Principal: true;
638
+ }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
639
+ Soloist: import("@mysten/bcs").EnumOutputShapeWithKeys<{
640
+ Additional: true;
641
+ Assistant: true;
642
+ Associate: true;
643
+ Backing: true;
644
+ Executive: true;
645
+ Featured: true;
646
+ Lead: true;
647
+ Primary: true;
648
+ Principal: true;
649
+ }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
650
+ SoundDesigner: import("@mysten/bcs").EnumOutputShapeWithKeys<{
651
+ Additional: true;
652
+ Assistant: true;
653
+ Associate: true;
654
+ Backing: true;
655
+ Executive: true;
656
+ Featured: true;
657
+ Lead: true;
658
+ Primary: true;
659
+ Principal: true;
660
+ }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
661
+ Speaker: import("@mysten/bcs").EnumOutputShapeWithKeys<{
662
+ Additional: true;
663
+ Assistant: true;
664
+ Associate: true;
665
+ Backing: true;
666
+ Executive: true;
667
+ Featured: true;
668
+ Lead: true;
669
+ Primary: true;
670
+ Principal: true;
671
+ }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
672
+ Vocalist: import("@mysten/bcs").EnumOutputShapeWithKeys<{
673
+ Additional: true;
674
+ Assistant: true;
675
+ Associate: true;
676
+ Backing: true;
677
+ Executive: true;
678
+ Featured: true;
679
+ Lead: true;
680
+ Primary: true;
681
+ Principal: true;
682
+ }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
683
+ Custom: [string, import("@mysten/bcs").EnumOutputShapeWithKeys<{
684
+ Additional: true;
685
+ Assistant: true;
686
+ Associate: true;
687
+ Backing: true;
688
+ Executive: true;
689
+ Featured: true;
690
+ Lead: true;
691
+ Primary: true;
692
+ Principal: true;
693
+ }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null];
694
+ }, "Arranger" | "Custom" | "Actor" | "ArtistsAndRepertoire" | "BandLeader" | "Choir" | "ChoirMaster" | "ConcertMaster" | "Conductor" | "Contractor" | "Copyist" | "DJ" | "Editor" | "Engineer" | "Ensemble" | "Instrumentalist" | "MasteringEngineer" | "MixingEngineer" | "MusicDirector" | "MusicSupervisor" | "Narrator" | "Orchestra" | "Orchestrator" | "Performer" | "Producer" | "Programmer" | "RecordingEngineer" | "RemixingEngineer" | "Soloist" | "SoundDesigner" | "Speaker" | "Vocalist">[];
695
+ };
696
+ };
697
+ readonly creditRemoved: (bytes: Uint8Array) => {
698
+ recording_id: string;
699
+ party_id: string;
700
+ credit: {
701
+ display_name: string;
702
+ roles: import("@mysten/bcs").EnumOutputShapeWithKeys<{
703
+ Actor: 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
+ Arranger: 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
+ ArtistsAndRepertoire: true;
726
+ BandLeader: import("@mysten/bcs").EnumOutputShapeWithKeys<{
727
+ Additional: true;
728
+ Assistant: true;
729
+ Associate: true;
730
+ Backing: true;
731
+ Executive: true;
732
+ Featured: true;
733
+ Lead: true;
734
+ Primary: true;
735
+ Principal: true;
736
+ }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
737
+ Choir: import("@mysten/bcs").EnumOutputShapeWithKeys<{
738
+ Additional: true;
739
+ Assistant: true;
740
+ Associate: true;
741
+ Backing: true;
742
+ Executive: true;
743
+ Featured: true;
744
+ Lead: true;
745
+ Primary: true;
746
+ Principal: true;
747
+ }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
748
+ ChoirMaster: import("@mysten/bcs").EnumOutputShapeWithKeys<{
749
+ Additional: true;
750
+ Assistant: true;
751
+ Associate: true;
752
+ Backing: true;
753
+ Executive: true;
754
+ Featured: true;
755
+ Lead: true;
756
+ Primary: true;
757
+ Principal: true;
758
+ }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
759
+ ConcertMaster: import("@mysten/bcs").EnumOutputShapeWithKeys<{
760
+ Additional: true;
761
+ Assistant: true;
762
+ Associate: true;
763
+ Backing: true;
764
+ Executive: true;
765
+ Featured: true;
766
+ Lead: true;
767
+ Primary: true;
768
+ Principal: true;
769
+ }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
770
+ Conductor: import("@mysten/bcs").EnumOutputShapeWithKeys<{
771
+ Additional: true;
772
+ Assistant: true;
773
+ Associate: true;
774
+ Backing: true;
775
+ Executive: true;
776
+ Featured: true;
777
+ Lead: true;
778
+ Primary: true;
779
+ Principal: true;
780
+ }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
781
+ Contractor: import("@mysten/bcs").EnumOutputShapeWithKeys<{
782
+ Additional: true;
783
+ Assistant: true;
784
+ Associate: true;
785
+ Backing: true;
786
+ Executive: true;
787
+ Featured: true;
788
+ Lead: true;
789
+ Primary: true;
790
+ Principal: true;
791
+ }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
792
+ Copyist: true;
793
+ DJ: import("@mysten/bcs").EnumOutputShapeWithKeys<{
794
+ Additional: true;
795
+ Assistant: true;
796
+ Associate: true;
797
+ Backing: true;
798
+ Executive: true;
799
+ Featured: true;
800
+ Lead: true;
801
+ Primary: true;
802
+ Principal: true;
803
+ }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
804
+ Editor: import("@mysten/bcs").EnumOutputShapeWithKeys<{
805
+ Additional: true;
806
+ Assistant: true;
807
+ Associate: true;
808
+ Backing: true;
809
+ Executive: true;
810
+ Featured: true;
811
+ Lead: true;
812
+ Primary: true;
813
+ Principal: true;
814
+ }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
815
+ Engineer: import("@mysten/bcs").EnumOutputShapeWithKeys<{
816
+ Additional: true;
817
+ Assistant: true;
818
+ Associate: true;
819
+ Backing: true;
820
+ Executive: true;
821
+ Featured: true;
822
+ Lead: true;
823
+ Primary: true;
824
+ Principal: true;
825
+ }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
826
+ Ensemble: import("@mysten/bcs").EnumOutputShapeWithKeys<{
827
+ Additional: true;
828
+ Assistant: true;
829
+ Associate: true;
830
+ Backing: true;
831
+ Executive: true;
832
+ Featured: true;
833
+ Lead: true;
834
+ Primary: true;
835
+ Principal: true;
836
+ }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
837
+ Instrumentalist: [string, import("@mysten/bcs").EnumOutputShapeWithKeys<{
838
+ Additional: true;
839
+ Assistant: true;
840
+ Associate: true;
841
+ Backing: true;
842
+ Executive: true;
843
+ Featured: true;
844
+ Lead: true;
845
+ Primary: true;
846
+ Principal: true;
847
+ }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null];
848
+ MasteringEngineer: import("@mysten/bcs").EnumOutputShapeWithKeys<{
849
+ Additional: true;
850
+ Assistant: true;
851
+ Associate: true;
852
+ Backing: true;
853
+ Executive: true;
854
+ Featured: true;
855
+ Lead: true;
856
+ Primary: true;
857
+ Principal: true;
858
+ }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
859
+ MixingEngineer: import("@mysten/bcs").EnumOutputShapeWithKeys<{
860
+ Additional: true;
861
+ Assistant: true;
862
+ Associate: true;
863
+ Backing: true;
864
+ Executive: true;
865
+ Featured: true;
866
+ Lead: true;
867
+ Primary: true;
868
+ Principal: true;
869
+ }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
870
+ MusicDirector: import("@mysten/bcs").EnumOutputShapeWithKeys<{
871
+ Additional: true;
872
+ Assistant: true;
873
+ Associate: true;
874
+ Backing: true;
875
+ Executive: true;
876
+ Featured: true;
877
+ Lead: true;
878
+ Primary: true;
879
+ Principal: true;
880
+ }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
881
+ MusicSupervisor: import("@mysten/bcs").EnumOutputShapeWithKeys<{
882
+ Additional: true;
883
+ Assistant: true;
884
+ Associate: true;
885
+ Backing: true;
886
+ Executive: true;
887
+ Featured: true;
888
+ Lead: true;
889
+ Primary: true;
890
+ Principal: true;
891
+ }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
892
+ Narrator: import("@mysten/bcs").EnumOutputShapeWithKeys<{
893
+ Additional: true;
894
+ Assistant: true;
895
+ Associate: true;
896
+ Backing: true;
897
+ Executive: true;
898
+ Featured: true;
899
+ Lead: true;
900
+ Primary: true;
901
+ Principal: true;
902
+ }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
903
+ Orchestra: import("@mysten/bcs").EnumOutputShapeWithKeys<{
904
+ Additional: true;
905
+ Assistant: true;
906
+ Associate: true;
907
+ Backing: true;
908
+ Executive: true;
909
+ Featured: true;
910
+ Lead: true;
911
+ Primary: true;
912
+ Principal: true;
913
+ }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
914
+ Orchestrator: import("@mysten/bcs").EnumOutputShapeWithKeys<{
915
+ Additional: true;
916
+ Assistant: true;
917
+ Associate: true;
918
+ Backing: true;
919
+ Executive: true;
920
+ Featured: true;
921
+ Lead: true;
922
+ Primary: true;
923
+ Principal: true;
924
+ }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
925
+ Performer: import("@mysten/bcs").EnumOutputShapeWithKeys<{
926
+ Additional: true;
927
+ Assistant: true;
928
+ Associate: true;
929
+ Backing: true;
930
+ Executive: true;
931
+ Featured: true;
932
+ Lead: true;
933
+ Primary: true;
934
+ Principal: true;
935
+ }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
936
+ Producer: import("@mysten/bcs").EnumOutputShapeWithKeys<{
937
+ Additional: true;
938
+ Assistant: true;
939
+ Associate: true;
940
+ Backing: true;
941
+ Executive: true;
942
+ Featured: true;
943
+ Lead: true;
944
+ Primary: true;
945
+ Principal: true;
946
+ }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
947
+ Programmer: import("@mysten/bcs").EnumOutputShapeWithKeys<{
948
+ Additional: true;
949
+ Assistant: true;
950
+ Associate: true;
951
+ Backing: true;
952
+ Executive: true;
953
+ Featured: true;
954
+ Lead: true;
955
+ Primary: true;
956
+ Principal: true;
957
+ }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
958
+ RecordingEngineer: import("@mysten/bcs").EnumOutputShapeWithKeys<{
959
+ Additional: true;
960
+ Assistant: true;
961
+ Associate: true;
962
+ Backing: true;
963
+ Executive: true;
964
+ Featured: true;
965
+ Lead: true;
966
+ Primary: true;
967
+ Principal: true;
968
+ }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
969
+ RemixingEngineer: import("@mysten/bcs").EnumOutputShapeWithKeys<{
970
+ Additional: true;
971
+ Assistant: true;
972
+ Associate: true;
973
+ Backing: true;
974
+ Executive: true;
975
+ Featured: true;
976
+ Lead: true;
977
+ Primary: true;
978
+ Principal: true;
979
+ }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
980
+ Soloist: import("@mysten/bcs").EnumOutputShapeWithKeys<{
981
+ Additional: true;
982
+ Assistant: true;
983
+ Associate: true;
984
+ Backing: true;
985
+ Executive: true;
986
+ Featured: true;
987
+ Lead: true;
988
+ Primary: true;
989
+ Principal: true;
990
+ }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
991
+ SoundDesigner: import("@mysten/bcs").EnumOutputShapeWithKeys<{
992
+ Additional: true;
993
+ Assistant: true;
994
+ Associate: true;
995
+ Backing: true;
996
+ Executive: true;
997
+ Featured: true;
998
+ Lead: true;
999
+ Primary: true;
1000
+ Principal: true;
1001
+ }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
1002
+ Speaker: import("@mysten/bcs").EnumOutputShapeWithKeys<{
1003
+ Additional: true;
1004
+ Assistant: true;
1005
+ Associate: true;
1006
+ Backing: true;
1007
+ Executive: true;
1008
+ Featured: true;
1009
+ Lead: true;
1010
+ Primary: true;
1011
+ Principal: true;
1012
+ }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
1013
+ Vocalist: import("@mysten/bcs").EnumOutputShapeWithKeys<{
1014
+ Additional: true;
1015
+ Assistant: true;
1016
+ Associate: true;
1017
+ Backing: true;
1018
+ Executive: true;
1019
+ Featured: true;
1020
+ Lead: true;
1021
+ Primary: true;
1022
+ Principal: true;
1023
+ }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null;
1024
+ Custom: [string, import("@mysten/bcs").EnumOutputShapeWithKeys<{
1025
+ Additional: true;
1026
+ Assistant: true;
1027
+ Associate: true;
1028
+ Backing: true;
1029
+ Executive: true;
1030
+ Featured: true;
1031
+ Lead: true;
1032
+ Primary: true;
1033
+ Principal: true;
1034
+ }, "Additional" | "Assistant" | "Associate" | "Backing" | "Executive" | "Featured" | "Lead" | "Primary" | "Principal"> | null];
1035
+ }, "Arranger" | "Custom" | "Actor" | "ArtistsAndRepertoire" | "BandLeader" | "Choir" | "ChoirMaster" | "ConcertMaster" | "Conductor" | "Contractor" | "Copyist" | "DJ" | "Editor" | "Engineer" | "Ensemble" | "Instrumentalist" | "MasteringEngineer" | "MixingEngineer" | "MusicDirector" | "MusicSupervisor" | "Narrator" | "Orchestra" | "Orchestrator" | "Performer" | "Producer" | "Programmer" | "RecordingEngineer" | "RemixingEngineer" | "Soloist" | "SoundDesigner" | "Speaker" | "Vocalist">[];
1036
+ };
1037
+ };
1038
+ readonly primaryArtistAdded: (bytes: Uint8Array) => {
1039
+ recording_id: string;
1040
+ party_id: string;
1041
+ };
1042
+ readonly primaryArtistRemoved: (bytes: Uint8Array) => {
1043
+ recording_id: string;
1044
+ party_id: string;
1045
+ };
1046
+ readonly featuredArtistAdded: (bytes: Uint8Array) => {
1047
+ recording_id: string;
1048
+ party_id: string;
1049
+ };
1050
+ readonly featuredArtistRemoved: (bytes: Uint8Array) => {
1051
+ recording_id: string;
1052
+ party_id: string;
1053
+ };
1054
+ };
1055
+ readonly recordingLanguage: {
1056
+ readonly languagesSet: (bytes: Uint8Array) => {
1057
+ recording_id: string;
1058
+ languages: [string][];
1059
+ };
1060
+ readonly languagesUnset: (bytes: Uint8Array) => {
1061
+ recording_id: string;
1062
+ };
1063
+ };
1064
+ readonly recordingMasterReference: {
1065
+ readonly masterReferenceSet: (bytes: Uint8Array) => {
1066
+ recording_id: string;
1067
+ reference: import("@mysten/bcs").EnumOutputShapeWithKeys<{
1068
+ Blob: [string, import("@mysten/bcs").EnumOutputShapeWithKeys<{
1069
+ Unencrypted: true;
1070
+ Encrypted: {
1071
+ dek: number[];
1072
+ };
1073
+ }, "Unencrypted" | "Encrypted">];
1074
+ QuiltPatch: [string, number, number, number];
1075
+ }, "Blob" | "QuiltPatch">;
1076
+ };
1077
+ readonly masterReferenceUnset: (bytes: Uint8Array) => {
1078
+ recording_id: string;
1079
+ };
1080
+ };
1081
+ readonly recordingPreview: {
1082
+ readonly previewSet: (bytes: Uint8Array) => {
1083
+ recording_id: string;
1084
+ preview: import("@mysten/bcs").EnumOutputShapeWithKeys<{
1085
+ Blob: [string, import("@mysten/bcs").EnumOutputShapeWithKeys<{
1086
+ Unencrypted: true;
1087
+ Encrypted: {
1088
+ dek: number[];
1089
+ };
1090
+ }, "Unencrypted" | "Encrypted">];
1091
+ QuiltPatch: [string, number, number, number];
1092
+ }, "Blob" | "QuiltPatch">;
1093
+ };
1094
+ readonly previewUnset: (bytes: Uint8Array) => {
1095
+ recording_id: string;
1096
+ };
1097
+ };
1098
+ readonly releaseCoverArt: {
1099
+ readonly coverSet: (bytes: Uint8Array) => {
1100
+ release_id: string;
1101
+ art: {
1102
+ still: import("@mysten/bcs").EnumOutputShapeWithKeys<{
1103
+ Blob: [string, import("@mysten/bcs").EnumOutputShapeWithKeys<{
1104
+ Unencrypted: true;
1105
+ Encrypted: {
1106
+ dek: number[];
1107
+ };
1108
+ }, "Unencrypted" | "Encrypted">];
1109
+ QuiltPatch: [string, number, number, number];
1110
+ }, "Blob" | "QuiltPatch">;
1111
+ animated: import("@mysten/bcs").EnumOutputShapeWithKeys<{
1112
+ Blob: [string, import("@mysten/bcs").EnumOutputShapeWithKeys<{
1113
+ Unencrypted: true;
1114
+ Encrypted: {
1115
+ dek: number[];
1116
+ };
1117
+ }, "Unencrypted" | "Encrypted">];
1118
+ QuiltPatch: [string, number, number, number];
1119
+ }, "Blob" | "QuiltPatch"> | null;
1120
+ };
1121
+ };
1122
+ readonly coverUnset: (bytes: Uint8Array) => {
1123
+ release_id: string;
1124
+ };
1125
+ readonly trackCoverSet: (bytes: Uint8Array) => {
1126
+ release_id: string;
1127
+ track_index: string;
1128
+ art: {
1129
+ still: import("@mysten/bcs").EnumOutputShapeWithKeys<{
1130
+ Blob: [string, import("@mysten/bcs").EnumOutputShapeWithKeys<{
1131
+ Unencrypted: true;
1132
+ Encrypted: {
1133
+ dek: number[];
1134
+ };
1135
+ }, "Unencrypted" | "Encrypted">];
1136
+ QuiltPatch: [string, number, number, number];
1137
+ }, "Blob" | "QuiltPatch">;
1138
+ animated: import("@mysten/bcs").EnumOutputShapeWithKeys<{
1139
+ Blob: [string, import("@mysten/bcs").EnumOutputShapeWithKeys<{
1140
+ Unencrypted: true;
1141
+ Encrypted: {
1142
+ dek: number[];
1143
+ };
1144
+ }, "Unencrypted" | "Encrypted">];
1145
+ QuiltPatch: [string, number, number, number];
1146
+ }, "Blob" | "QuiltPatch"> | null;
1147
+ };
1148
+ };
1149
+ readonly trackCoverUnset: (bytes: Uint8Array) => {
1150
+ release_id: string;
1151
+ track_index: string;
1152
+ };
1153
+ };
1154
+ readonly releaseCredits: {
1155
+ readonly creditAdded: (bytes: Uint8Array) => {
1156
+ release_id: string;
1157
+ party_id: string;
1158
+ credit: {
1159
+ display_name: string;
1160
+ roles: import("@mysten/bcs").EnumOutputShapeWithKeys<{
1161
+ Primary: true;
1162
+ Featured: true;
1163
+ }, "Featured" | "Primary">[];
1164
+ };
1165
+ };
1166
+ readonly creditRemoved: (bytes: Uint8Array) => {
1167
+ release_id: string;
1168
+ party_id: string;
1169
+ credit: {
1170
+ display_name: string;
1171
+ roles: import("@mysten/bcs").EnumOutputShapeWithKeys<{
1172
+ Primary: true;
1173
+ Featured: true;
1174
+ }, "Featured" | "Primary">[];
1175
+ };
1176
+ };
1177
+ };
1178
+ readonly releaseDescription: {
1179
+ readonly descriptionSet: (bytes: Uint8Array) => {
1180
+ release_id: string;
1181
+ description: string;
1182
+ };
1183
+ readonly descriptionCleared: (bytes: Uint8Array) => {
1184
+ release_id: string;
1185
+ };
1186
+ };
1187
+ readonly releaseDspLink: {
1188
+ readonly releaseLinkSet: (bytes: Uint8Array) => {
1189
+ release_id: string;
1190
+ link: import("@mysten/bcs").EnumOutputShapeWithKeys<{
1191
+ Spotify: {
1192
+ id: string;
1193
+ };
1194
+ AppleMusic: {
1195
+ storefront: string;
1196
+ album_id: string;
1197
+ track_id: string | null;
1198
+ };
1199
+ AmazonMusic: {
1200
+ album_id: string;
1201
+ track_id: string | null;
1202
+ };
1203
+ Bandcamp: {
1204
+ subdomain: string;
1205
+ slug: string;
1206
+ };
1207
+ Deezer: {
1208
+ id: string;
1209
+ };
1210
+ SoundCloud: {
1211
+ user: string;
1212
+ slug: string;
1213
+ };
1214
+ Tidal: {
1215
+ id: string;
1216
+ };
1217
+ YouTubeMusic: {
1218
+ id: string;
1219
+ };
1220
+ }, "Spotify" | "AppleMusic" | "AmazonMusic" | "Bandcamp" | "Deezer" | "SoundCloud" | "Tidal" | "YouTubeMusic">;
1221
+ };
1222
+ readonly releaseLinkCleared: (bytes: Uint8Array) => {
1223
+ release_id: string;
1224
+ platform: number;
1225
+ };
1226
+ readonly trackLinkSet: (bytes: Uint8Array) => {
1227
+ release_id: string;
1228
+ platform: number;
1229
+ track_index: string;
1230
+ link: import("@mysten/bcs").EnumOutputShapeWithKeys<{
1231
+ Spotify: {
1232
+ id: string;
1233
+ };
1234
+ AppleMusic: {
1235
+ storefront: string;
1236
+ album_id: string;
1237
+ track_id: string | null;
1238
+ };
1239
+ AmazonMusic: {
1240
+ album_id: string;
1241
+ track_id: string | null;
1242
+ };
1243
+ Bandcamp: {
1244
+ subdomain: string;
1245
+ slug: string;
1246
+ };
1247
+ Deezer: {
1248
+ id: string;
1249
+ };
1250
+ SoundCloud: {
1251
+ user: string;
1252
+ slug: string;
1253
+ };
1254
+ Tidal: {
1255
+ id: string;
1256
+ };
1257
+ YouTubeMusic: {
1258
+ id: string;
1259
+ };
1260
+ }, "Spotify" | "AppleMusic" | "AmazonMusic" | "Bandcamp" | "Deezer" | "SoundCloud" | "Tidal" | "YouTubeMusic"> | null;
1261
+ };
1262
+ readonly trackLinksCleared: (bytes: Uint8Array) => {
1263
+ release_id: string;
1264
+ platform: number;
1265
+ };
1266
+ };
1267
+ readonly releaseGenre: {
1268
+ readonly primarySet: (bytes: Uint8Array) => {
1269
+ release_id: string;
1270
+ genre_id: string;
1271
+ };
1272
+ readonly secondaryAdded: (bytes: Uint8Array) => {
1273
+ release_id: string;
1274
+ genre_id: string;
1275
+ };
1276
+ readonly secondaryRemoved: (bytes: Uint8Array) => {
1277
+ release_id: string;
1278
+ genre_id: string;
1279
+ };
1280
+ readonly trackPrimarySet: (bytes: Uint8Array) => {
1281
+ release_id: string;
1282
+ track_index: string;
1283
+ genre_id: string;
1284
+ };
1285
+ readonly trackPrimaryUnset: (bytes: Uint8Array) => {
1286
+ release_id: string;
1287
+ track_index: string;
1288
+ };
1289
+ };
1290
+ readonly releaseKind: {
1291
+ readonly kindSet: (bytes: Uint8Array) => {
1292
+ release_id: string;
1293
+ kind: string;
1294
+ };
1295
+ readonly kindUnset: (bytes: Uint8Array) => {
1296
+ release_id: string;
1297
+ };
1298
+ };
1299
+ readonly releaseSnapshotBundle: {
1300
+ readonly bundleSet: (bytes: Uint8Array) => {
1301
+ release_id: string;
1302
+ bundle: import("@mysten/bcs").EnumOutputShapeWithKeys<{
1303
+ Blob: [string, import("@mysten/bcs").EnumOutputShapeWithKeys<{
1304
+ Unencrypted: true;
1305
+ Encrypted: {
1306
+ dek: number[];
1307
+ };
1308
+ }, "Unencrypted" | "Encrypted">];
1309
+ QuiltPatch: [string, number, number, number];
1310
+ }, "Blob" | "QuiltPatch">;
1311
+ };
1312
+ };
1313
+ };
1314
+ readonly primitives: {
1315
+ readonly royaltyPool: {
1316
+ readonly poolCreated: (bytes: Uint8Array) => {
1317
+ pool_id: string;
1318
+ parent_id: string;
1319
+ };
1320
+ readonly deposited: (bytes: Uint8Array) => {
1321
+ pool_id: string;
1322
+ value: string;
1323
+ };
1324
+ readonly stakeRegistered: (bytes: Uint8Array) => {
1325
+ pool_id: string;
1326
+ stake_id: string;
1327
+ staked_amount: string;
1328
+ };
1329
+ readonly stakeUnregistered: (bytes: Uint8Array) => {
1330
+ pool_id: string;
1331
+ stake_id: string;
1332
+ unstaked_amount: string;
1333
+ };
1334
+ readonly royaltyClaimed: (bytes: Uint8Array) => {
1335
+ pool_id: string;
1336
+ stake_id: string;
1337
+ reward_amount: string;
1338
+ };
1339
+ readonly stakeCreated: (bytes: Uint8Array) => {
1340
+ stake_id: string;
1341
+ amount: string;
1342
+ };
1343
+ readonly stakeDestroyed: (bytes: Uint8Array) => {
1344
+ stake_id: string;
1345
+ amount: string;
1346
+ };
1347
+ };
1348
+ readonly routedStake: {
1349
+ readonly created: (bytes: Uint8Array) => {
1350
+ routed_stake_id: string;
1351
+ parent_id: string;
1352
+ staked_value: string;
1353
+ };
1354
+ readonly swept: (bytes: Uint8Array) => {
1355
+ routed_stake_id: string;
1356
+ parent_id: string;
1357
+ value: string;
1358
+ };
1359
+ readonly unstaked: (bytes: Uint8Array) => {
1360
+ routed_stake_id: string;
1361
+ parent_id: string;
1362
+ unstaked_value: string;
1363
+ };
1364
+ readonly restaked: (bytes: Uint8Array) => {
1365
+ routed_stake_id: string;
1366
+ parent_id: string;
1367
+ staked_value: string;
1368
+ };
1369
+ };
1370
+ };
1371
+ };
158
1372
  };
159
1373
  }
160
1374
  /** @deprecated Prefer the layer-specific `MisoProtocolClient` name. */