@misonetwork/sdk 0.7.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 (289) hide show
  1. package/README.md +181 -139
  2. package/dist/client.d.ts +1225 -8
  3. package/dist/client.d.ts.map +1 -1
  4. package/dist/client.js +43 -19
  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 +1 -1
  23. package/dist/contracts/miso/composition.js +2 -2
  24. package/dist/contracts/miso/deps/bps/bps.d.ts +1 -1
  25. package/dist/contracts/miso/deps/bps/bps.js +1 -1
  26. package/dist/contracts/miso/recording.d.ts +1 -1
  27. package/dist/contracts/miso/recording.js +1 -1
  28. package/dist/contracts/miso/release.d.ts +61 -37
  29. package/dist/contracts/miso/release.d.ts.map +1 -1
  30. package/dist/contracts/miso/release.js +65 -38
  31. package/dist/contracts/miso/release.js.map +1 -1
  32. package/dist/contracts/miso/track.d.ts +2 -2
  33. package/dist/contracts/miso/track.js +2 -2
  34. package/dist/contracts/recording_advisory/recording_advisory.d.ts +194 -0
  35. package/dist/contracts/recording_advisory/recording_advisory.d.ts.map +1 -0
  36. package/dist/contracts/recording_advisory/recording_advisory.js +204 -0
  37. package/dist/contracts/recording_advisory/recording_advisory.js.map +1 -0
  38. package/dist/contracts/recording_credits/deps/miso_credit/credit.d.ts +24 -0
  39. package/dist/contracts/recording_credits/deps/miso_credit/credit.d.ts.map +1 -0
  40. package/dist/contracts/recording_credits/deps/miso_credit/credit.js +23 -0
  41. package/dist/contracts/recording_credits/deps/miso_credit/credit.js.map +1 -0
  42. package/dist/contracts/recording_credits/deps/sui/vec_map.d.ts +37 -0
  43. package/dist/contracts/recording_credits/deps/sui/vec_map.d.ts.map +1 -0
  44. package/dist/contracts/recording_credits/deps/sui/vec_map.js +28 -0
  45. package/dist/contracts/recording_credits/deps/sui/vec_map.js.map +1 -0
  46. package/dist/contracts/recording_credits/deps/sui/vec_set.d.ts +21 -0
  47. package/dist/contracts/recording_credits/deps/sui/vec_set.d.ts.map +1 -0
  48. package/dist/contracts/recording_credits/deps/sui/vec_set.js +20 -0
  49. package/dist/contracts/recording_credits/deps/sui/vec_set.js.map +1 -0
  50. package/dist/contracts/recording_credits/recording_credits.d.ts +2313 -0
  51. package/dist/contracts/recording_credits/recording_credits.d.ts.map +1 -0
  52. package/dist/contracts/recording_credits/recording_credits.js +270 -0
  53. package/dist/contracts/recording_credits/recording_credits.js.map +1 -0
  54. package/dist/contracts/recording_credits/recording_party_role.d.ts +1174 -0
  55. package/dist/contracts/recording_credits/recording_party_role.d.ts.map +1 -0
  56. package/dist/contracts/recording_credits/recording_party_role.js +692 -0
  57. package/dist/contracts/recording_credits/recording_party_role.js.map +1 -0
  58. package/dist/contracts/recording_language/deps/language_code/language_code.d.ts +6 -0
  59. package/dist/contracts/recording_language/deps/language_code/language_code.d.ts.map +1 -0
  60. package/dist/contracts/recording_language/deps/language_code/language_code.js +8 -0
  61. package/dist/contracts/recording_language/deps/language_code/language_code.js.map +1 -0
  62. package/dist/contracts/recording_language/recording_language.d.ts +152 -0
  63. package/dist/contracts/recording_language/recording_language.d.ts.map +1 -0
  64. package/dist/contracts/recording_language/recording_language.js +149 -0
  65. package/dist/contracts/recording_language/recording_language.js.map +1 -0
  66. package/dist/contracts/recording_master_reference/deps/ori/walrus_data.d.ts +52 -0
  67. package/dist/contracts/recording_master_reference/deps/ori/walrus_data.d.ts.map +1 -0
  68. package/dist/contracts/recording_master_reference/deps/ori/walrus_data.js +37 -0
  69. package/dist/contracts/recording_master_reference/deps/ori/walrus_data.js.map +1 -0
  70. package/dist/contracts/recording_master_reference/recording_master_reference.d.ts +131 -0
  71. package/dist/contracts/recording_master_reference/recording_master_reference.d.ts.map +1 -0
  72. package/dist/contracts/recording_master_reference/recording_master_reference.js +121 -0
  73. package/dist/contracts/recording_master_reference/recording_master_reference.js.map +1 -0
  74. package/dist/contracts/recording_preview/deps/ori/walrus_data.d.ts +52 -0
  75. package/dist/contracts/recording_preview/deps/ori/walrus_data.d.ts.map +1 -0
  76. package/dist/contracts/recording_preview/deps/ori/walrus_data.js +37 -0
  77. package/dist/contracts/recording_preview/deps/ori/walrus_data.js.map +1 -0
  78. package/dist/contracts/recording_preview/recording_preview.d.ts +104 -0
  79. package/dist/contracts/recording_preview/recording_preview.d.ts.map +1 -0
  80. package/dist/contracts/recording_preview/recording_preview.js +94 -0
  81. package/dist/contracts/recording_preview/recording_preview.js.map +1 -0
  82. package/dist/contracts/release_cover_art/deps/0x340057f2174fb59e4626742dd2b46c662237837b6187450cb59e4976ce7eac78/walrus_data.d.ts +52 -0
  83. package/dist/contracts/release_cover_art/deps/0x340057f2174fb59e4626742dd2b46c662237837b6187450cb59e4976ce7eac78/walrus_data.d.ts.map +1 -0
  84. package/dist/contracts/release_cover_art/deps/0x340057f2174fb59e4626742dd2b46c662237837b6187450cb59e4976ce7eac78/walrus_data.js +37 -0
  85. package/dist/contracts/release_cover_art/deps/0x340057f2174fb59e4626742dd2b46c662237837b6187450cb59e4976ce7eac78/walrus_data.js.map +1 -0
  86. package/dist/contracts/release_cover_art/deps/cover_art/cover_art.d.ts +46 -0
  87. package/dist/contracts/release_cover_art/deps/cover_art/cover_art.d.ts.map +1 -0
  88. package/dist/contracts/release_cover_art/deps/cover_art/cover_art.js +21 -0
  89. package/dist/contracts/release_cover_art/deps/cover_art/cover_art.js.map +1 -0
  90. package/dist/contracts/release_cover_art/deps/per_track/per_track.d.ts +33 -0
  91. package/dist/contracts/release_cover_art/deps/per_track/per_track.d.ts.map +1 -0
  92. package/dist/contracts/release_cover_art/deps/per_track/per_track.js +32 -0
  93. package/dist/contracts/release_cover_art/deps/per_track/per_track.js.map +1 -0
  94. package/dist/contracts/release_cover_art/release_cover_art.d.ts +300 -0
  95. package/dist/contracts/release_cover_art/release_cover_art.d.ts.map +1 -0
  96. package/dist/contracts/release_cover_art/release_cover_art.js +168 -0
  97. package/dist/contracts/release_cover_art/release_cover_art.js.map +1 -0
  98. package/dist/contracts/release_credits/deps/miso_credit/credit.d.ts +24 -0
  99. package/dist/contracts/release_credits/deps/miso_credit/credit.d.ts.map +1 -0
  100. package/dist/contracts/release_credits/deps/miso_credit/credit.js +23 -0
  101. package/dist/contracts/release_credits/deps/miso_credit/credit.js.map +1 -0
  102. package/dist/contracts/release_credits/deps/sui/vec_map.d.ts +37 -0
  103. package/dist/contracts/release_credits/deps/sui/vec_map.d.ts.map +1 -0
  104. package/dist/contracts/release_credits/deps/sui/vec_map.js +28 -0
  105. package/dist/contracts/release_credits/deps/sui/vec_map.js.map +1 -0
  106. package/dist/contracts/release_credits/release_credits.d.ts +142 -0
  107. package/dist/contracts/release_credits/release_credits.d.ts.map +1 -0
  108. package/dist/contracts/release_credits/release_credits.js +108 -0
  109. package/dist/contracts/release_credits/release_credits.js.map +1 -0
  110. package/dist/contracts/release_credits/release_party_role.d.ts +58 -0
  111. package/dist/contracts/release_credits/release_party_role.d.ts.map +1 -0
  112. package/dist/contracts/release_credits/release_party_role.js +66 -0
  113. package/dist/contracts/release_credits/release_party_role.js.map +1 -0
  114. package/dist/contracts/release_description/release_description.d.ts +112 -0
  115. package/dist/contracts/release_description/release_description.d.ts.map +1 -0
  116. package/dist/contracts/release_description/release_description.js +123 -0
  117. package/dist/contracts/release_description/release_description.js.map +1 -0
  118. package/dist/contracts/release_dsp_link/release_dsp_link.d.ts +644 -0
  119. package/dist/contracts/release_dsp_link/release_dsp_link.d.ts.map +1 -0
  120. package/dist/contracts/release_dsp_link/release_dsp_link.js +556 -0
  121. package/dist/contracts/release_dsp_link/release_dsp_link.js.map +1 -0
  122. package/dist/contracts/release_genre/deps/per_track/per_track.d.ts +33 -0
  123. package/dist/contracts/release_genre/deps/per_track/per_track.d.ts.map +1 -0
  124. package/dist/contracts/release_genre/deps/per_track/per_track.js +32 -0
  125. package/dist/contracts/release_genre/deps/per_track/per_track.js.map +1 -0
  126. package/dist/contracts/release_genre/release_genre.d.ts +193 -0
  127. package/dist/contracts/release_genre/release_genre.d.ts.map +1 -0
  128. package/dist/contracts/release_genre/release_genre.js +207 -0
  129. package/dist/contracts/release_genre/release_genre.js.map +1 -0
  130. package/dist/contracts/release_kind/release_kind.d.ts +98 -0
  131. package/dist/contracts/release_kind/release_kind.d.ts.map +1 -0
  132. package/dist/contracts/release_kind/release_kind.js +109 -0
  133. package/dist/contracts/release_kind/release_kind.js.map +1 -0
  134. package/dist/contracts/release_snapshot_bundle/deps/ori/walrus_data.d.ts +52 -0
  135. package/dist/contracts/release_snapshot_bundle/deps/ori/walrus_data.d.ts.map +1 -0
  136. package/dist/contracts/release_snapshot_bundle/deps/ori/walrus_data.js +37 -0
  137. package/dist/contracts/release_snapshot_bundle/deps/ori/walrus_data.js.map +1 -0
  138. package/dist/contracts/release_snapshot_bundle/release_snapshot_bundle.d.ts +91 -0
  139. package/dist/contracts/release_snapshot_bundle/release_snapshot_bundle.d.ts.map +1 -0
  140. package/dist/contracts/release_snapshot_bundle/release_snapshot_bundle.js +91 -0
  141. package/dist/contracts/release_snapshot_bundle/release_snapshot_bundle.js.map +1 -0
  142. package/dist/contracts/routed_stake/deps/royalty_pool/stake.d.ts +54 -0
  143. package/dist/contracts/routed_stake/deps/royalty_pool/stake.d.ts.map +1 -0
  144. package/dist/contracts/routed_stake/deps/royalty_pool/stake.js +37 -0
  145. package/dist/contracts/routed_stake/deps/royalty_pool/stake.js.map +1 -0
  146. package/dist/contracts/routed_stake/deps/std/type_name.d.ts +18 -0
  147. package/dist/contracts/routed_stake/deps/std/type_name.d.ts.map +1 -0
  148. package/dist/contracts/routed_stake/deps/std/type_name.js +20 -0
  149. package/dist/contracts/routed_stake/deps/std/type_name.js.map +1 -0
  150. package/dist/contracts/routed_stake/deps/sui/balance.d.ts +13 -0
  151. package/dist/contracts/routed_stake/deps/sui/balance.d.ts.map +1 -0
  152. package/dist/contracts/routed_stake/deps/sui/balance.js +15 -0
  153. package/dist/contracts/routed_stake/deps/sui/balance.js.map +1 -0
  154. package/dist/contracts/routed_stake/deps/sui/vec_map.d.ts +37 -0
  155. package/dist/contracts/routed_stake/deps/sui/vec_map.d.ts.map +1 -0
  156. package/dist/contracts/routed_stake/deps/sui/vec_map.js +28 -0
  157. package/dist/contracts/routed_stake/deps/sui/vec_map.js.map +1 -0
  158. package/dist/contracts/routed_stake/routed_stake.d.ts +356 -0
  159. package/dist/contracts/routed_stake/routed_stake.d.ts.map +1 -0
  160. package/dist/contracts/routed_stake/routed_stake.js +311 -0
  161. package/dist/contracts/routed_stake/routed_stake.js.map +1 -0
  162. package/dist/contracts/royalty_pool/deps/std/type_name.d.ts +18 -0
  163. package/dist/contracts/royalty_pool/deps/std/type_name.d.ts.map +1 -0
  164. package/dist/contracts/royalty_pool/deps/std/type_name.js +20 -0
  165. package/dist/contracts/royalty_pool/deps/std/type_name.js.map +1 -0
  166. package/dist/contracts/royalty_pool/deps/sui/balance.d.ts +13 -0
  167. package/dist/contracts/royalty_pool/deps/sui/balance.d.ts.map +1 -0
  168. package/dist/contracts/royalty_pool/deps/sui/balance.js +15 -0
  169. package/dist/contracts/royalty_pool/deps/sui/balance.js.map +1 -0
  170. package/dist/contracts/royalty_pool/deps/sui/vec_map.d.ts +37 -0
  171. package/dist/contracts/royalty_pool/deps/sui/vec_map.d.ts.map +1 -0
  172. package/dist/contracts/royalty_pool/deps/sui/vec_map.js +28 -0
  173. package/dist/contracts/royalty_pool/deps/sui/vec_map.js.map +1 -0
  174. package/dist/contracts/royalty_pool/pool.d.ts +394 -0
  175. package/dist/contracts/royalty_pool/pool.d.ts.map +1 -0
  176. package/dist/contracts/royalty_pool/pool.js +387 -0
  177. package/dist/contracts/royalty_pool/pool.js.map +1 -0
  178. package/dist/contracts/royalty_pool/stake.d.ts +202 -0
  179. package/dist/contracts/royalty_pool/stake.d.ts.map +1 -0
  180. package/dist/contracts/royalty_pool/stake.js +197 -0
  181. package/dist/contracts/royalty_pool/stake.js.map +1 -0
  182. package/dist/contracts.d.ts +37 -3
  183. package/dist/contracts.d.ts.map +1 -1
  184. package/dist/contracts.js +42 -8
  185. package/dist/contracts.js.map +1 -1
  186. package/dist/deployments.d.ts +46 -12
  187. package/dist/deployments.d.ts.map +1 -1
  188. package/dist/deployments.js +119 -11
  189. package/dist/deployments.js.map +1 -1
  190. package/dist/events.d.ts +1081 -0
  191. package/dist/events.d.ts.map +1 -0
  192. package/dist/events.js +124 -0
  193. package/dist/events.js.map +1 -0
  194. package/dist/execute.d.ts.map +1 -1
  195. package/dist/execute.js +0 -4
  196. package/dist/execute.js.map +1 -1
  197. package/dist/index.d.ts +3 -0
  198. package/dist/index.d.ts.map +1 -1
  199. package/dist/index.js +6 -3
  200. package/dist/index.js.map +1 -1
  201. package/dist/internal.d.ts.map +1 -1
  202. package/dist/internal.js.map +1 -1
  203. package/dist/numeric.d.ts +5 -0
  204. package/dist/numeric.d.ts.map +1 -0
  205. package/dist/numeric.js +21 -0
  206. package/dist/numeric.js.map +1 -0
  207. package/dist/packages.d.ts +159 -0
  208. package/dist/packages.d.ts.map +1 -0
  209. package/dist/packages.js +179 -0
  210. package/dist/packages.js.map +1 -0
  211. package/dist/parsers.d.ts +5 -1
  212. package/dist/parsers.d.ts.map +1 -1
  213. package/dist/parsers.js +18 -2
  214. package/dist/parsers.js.map +1 -1
  215. package/dist/queries.d.ts +92 -0
  216. package/dist/queries.d.ts.map +1 -1
  217. package/dist/queries.js +132 -23
  218. package/dist/queries.js.map +1 -1
  219. package/dist/transactions.d.ts +96 -3
  220. package/dist/transactions.d.ts.map +1 -1
  221. package/dist/transactions.js +123 -11
  222. package/dist/transactions.js.map +1 -1
  223. package/dist/types.d.ts +18 -0
  224. package/dist/types.d.ts.map +1 -1
  225. package/dist/view.d.ts +6 -5
  226. package/dist/view.d.ts.map +1 -1
  227. package/dist/view.js +8 -2
  228. package/dist/view.js.map +1 -1
  229. package/package.json +14 -4
  230. package/src/client.ts +57 -23
  231. package/src/contracts/composition_credits/composition_credits.ts +169 -0
  232. package/src/contracts/composition_credits/composition_party_role.ts +189 -0
  233. package/src/contracts/composition_credits/deps/miso_credit/credit.ts +27 -0
  234. package/src/contracts/composition_credits/deps/sui/vec_map.ts +33 -0
  235. package/src/contracts/miso/composition.ts +8 -8
  236. package/src/contracts/miso/deps/bps/bps.ts +3 -3
  237. package/src/contracts/miso/recording.ts +10 -10
  238. package/src/contracts/miso/release.ts +103 -67
  239. package/src/contracts/miso/track.ts +5 -5
  240. package/src/contracts/recording_advisory/recording_advisory.ts +315 -0
  241. package/src/contracts/recording_credits/deps/miso_credit/credit.ts +27 -0
  242. package/src/contracts/recording_credits/deps/sui/vec_map.ts +33 -0
  243. package/src/contracts/recording_credits/deps/sui/vec_set.ts +21 -0
  244. package/src/contracts/recording_credits/recording_credits.ts +458 -0
  245. package/src/contracts/recording_credits/recording_party_role.ts +1041 -0
  246. package/src/contracts/recording_language/deps/language_code/language_code.ts +7 -0
  247. package/src/contracts/recording_language/recording_language.ts +237 -0
  248. package/src/contracts/recording_master_reference/deps/ori/walrus_data.ts +36 -0
  249. package/src/contracts/recording_master_reference/recording_master_reference.ts +181 -0
  250. package/src/contracts/recording_preview/deps/ori/walrus_data.ts +36 -0
  251. package/src/contracts/recording_preview/recording_preview.ts +154 -0
  252. package/src/contracts/release_cover_art/deps/0x340057f2174fb59e4626742dd2b46c662237837b6187450cb59e4976ce7eac78/walrus_data.ts +36 -0
  253. package/src/contracts/release_cover_art/deps/cover_art/cover_art.ts +23 -0
  254. package/src/contracts/release_cover_art/deps/per_track/per_track.ts +36 -0
  255. package/src/contracts/release_cover_art/release_cover_art.ts +251 -0
  256. package/src/contracts/release_credits/deps/miso_credit/credit.ts +27 -0
  257. package/src/contracts/release_credits/deps/sui/vec_map.ts +33 -0
  258. package/src/contracts/release_credits/release_credits.ts +156 -0
  259. package/src/contracts/release_credits/release_party_role.ts +87 -0
  260. package/src/contracts/release_description/release_description.ts +167 -0
  261. package/src/contracts/release_dsp_link/release_dsp_link.ts +813 -0
  262. package/src/contracts/release_genre/deps/per_track/per_track.ts +36 -0
  263. package/src/contracts/release_genre/release_genre.ts +314 -0
  264. package/src/contracts/release_kind/release_kind.ts +153 -0
  265. package/src/contracts/release_snapshot_bundle/deps/ori/walrus_data.ts +36 -0
  266. package/src/contracts/release_snapshot_bundle/release_snapshot_bundle.ts +124 -0
  267. package/src/contracts/routed_stake/deps/royalty_pool/stake.ts +39 -0
  268. package/src/contracts/routed_stake/deps/std/type_name.ts +22 -0
  269. package/src/contracts/routed_stake/deps/sui/balance.ts +17 -0
  270. package/src/contracts/routed_stake/deps/sui/vec_map.ts +33 -0
  271. package/src/contracts/routed_stake/routed_stake.ts +508 -0
  272. package/src/contracts/royalty_pool/deps/std/type_name.ts +22 -0
  273. package/src/contracts/royalty_pool/deps/sui/balance.ts +17 -0
  274. package/src/contracts/royalty_pool/deps/sui/vec_map.ts +33 -0
  275. package/src/contracts/royalty_pool/pool.ts +613 -0
  276. package/src/contracts/royalty_pool/stake.ts +317 -0
  277. package/src/contracts.ts +59 -6
  278. package/src/deployments.ts +160 -22
  279. package/src/events.ts +129 -0
  280. package/src/execute.ts +0 -4
  281. package/src/index.ts +6 -3
  282. package/src/internal.ts +0 -4
  283. package/src/numeric.ts +25 -0
  284. package/src/packages.ts +251 -0
  285. package/src/parsers.ts +32 -2
  286. package/src/queries.ts +227 -25
  287. package/src/transactions.ts +254 -12
  288. package/src/types.ts +20 -0
  289. package/src/view.ts +12 -6
@@ -0,0 +1,644 @@
1
+ /**************************************************************
2
+ * THIS FILE IS GENERATED AND SHOULD NOT BE MANUALLY MODIFIED *
3
+ **************************************************************/
4
+ /**
5
+ * Streaming deep links for a Miso release, one Digital Service Provider (DSP) at a
6
+ * time. Attaches `DspLinkData` records to a `miso::release::Release`: an
7
+ * album-level link per DSP, plus an optional per-track link per DSP.
8
+ *
9
+ * `DspLinkData` is a single built-in enum with one variant per DSP, holding that
10
+ * DSP's native identifier(s) — e.g. a Spotify album id, or Apple Music's
11
+ * `(storefront, album_id, track_id)`. URLs are never stored: a client rebuilds the
12
+ * public URL from the variant it reads back, so a DSP reshaping its URLs needs no
13
+ * on-chain change. Storage is keyed by the variant's platform code (a `u8`
14
+ * discriminant matching declaration order, via `platform()`), so each DSP occupies
15
+ * its own independent dynamic field on the release's `UID` — adding or clearing
16
+ * one DSP's link never touches another's.
17
+ *
18
+ * Two levels per DSP: the album-level link is the single `DspLinkData` stored
19
+ * under `ReleaseLinkKey(platform)`; the per-track links are a
20
+ * `PerTrack<Option<DspLinkData>>` stored under `TrackLinksKey(platform)` (one slot
21
+ * per track, aligned to the tracklist by construction). A track whose slot is
22
+ * `none` inherits the album-level link at the frontend.
23
+ *
24
+ * Streaming presence is presentation, not protocol-verifiable state, so it lives
25
+ * on the release (the consumer object), not the recording. All writes are gated by
26
+ * the `ReleaseAdminCap` via `uid_mut`; views are permissionless.
27
+ */
28
+ import { MoveTuple, MoveEnum, MoveStruct, type RawTransactionArgument } from '../utils/index.ts';
29
+ import { type Transaction, type TransactionArgument } from '@mysten/sui/transactions';
30
+ export declare const ReleaseLinkKey: MoveTuple<readonly [import("@mysten/sui/bcs").BcsType<number, number, "u8">], "@local-pkg/release_dsp_link::release_dsp_link::ReleaseLinkKey">;
31
+ export declare const TrackLinksKey: MoveTuple<readonly [import("@mysten/sui/bcs").BcsType<number, number, "u8">], "@local-pkg/release_dsp_link::release_dsp_link::TrackLinksKey">;
32
+ /**
33
+ * A link to a release (or one of its tracks) on a single DSP, one variant per
34
+ * platform. Which slot a value is stored in — the album-level slot or a per-track
35
+ * slot — decides whether it addresses the release or one track; most DSPs use the
36
+ * same identifier shape for both, which is why a variant doesn't carry an explicit
37
+ * album/track flag.
38
+ *
39
+ * **Variant order is frozen.** Storage keys off `platform()`, a `u8` discriminant
40
+ * matching declaration order (`Spotify = 0` … `YouTubeMusic = 7`). Sui's
41
+ * compatible-upgrade policy allows appending new enum variants but not reordering
42
+ * or removing existing ones, so a new platform is always appended at the end in a
43
+ * package upgrade — existing BCS variant indices, and therefore existing
44
+ * dynamic-field keys, stay stable.
45
+ */
46
+ export declare const DspLinkData: MoveEnum<{
47
+ /**
48
+ * Spotify addresses both albums and tracks by a single 22-char base62 id
49
+ * (`open.spotify.com/album/{id}` or `/track/{id}`); album-vs-track is chosen by
50
+ * where the link is stored, so one `id` field serves both.
51
+ */
52
+ Spotify: MoveStruct<{
53
+ id: import("@mysten/sui/bcs").BcsType<string, string, "string">;
54
+ }, "DspLinkData.Spotify">;
55
+ /**
56
+ * Apple Music: an album is `music.apple.com/{storefront}/album/{album_id}`; a
57
+ * track within it adds the `?i={track_id}` selector. `storefront` is the
58
+ * two-letter region (e.g. `us`), and because a track link still needs the album
59
+ * id, the album id is always present. The optional `track_id` distinguishes the
60
+ * two forms — clients emit the track URL when it is set, the album URL otherwise.
61
+ * The canonical web URL carries a cosmetic name slug (`/album/{slug}/{album_id}`);
62
+ * only the trailing numeric `album_id` is stored, and Apple resolves the slug-less
63
+ * form.
64
+ */
65
+ AppleMusic: MoveStruct<{
66
+ storefront: import("@mysten/sui/bcs").BcsType<string, string, "string">;
67
+ album_id: import("@mysten/sui/bcs").BcsType<string, string, "string">;
68
+ track_id: import("@mysten/sui/bcs").BcsType<string | null, string | null | undefined, "Option<string>">;
69
+ }, "DspLinkData.AppleMusic">;
70
+ /**
71
+ * Amazon Music: an album is `music.amazon.com/albums/{album_id}`; a track within
72
+ * it adds the `?trackAsin={track_id}` selector. Ids are ASINs (e.g. `B0064UPU4G`).
73
+ * The optional `track_id` distinguishes the two forms — clients emit the track URL
74
+ * when it is set, the album URL otherwise.
75
+ */
76
+ AmazonMusic: MoveStruct<{
77
+ album_id: import("@mysten/sui/bcs").BcsType<string, string, "string">;
78
+ track_id: import("@mysten/sui/bcs").BcsType<string | null, string | null | undefined, "Option<string>">;
79
+ }, "DspLinkData.AmazonMusic">;
80
+ /**
81
+ * Bandcamp addresses by artist subdomain + slug: an album is
82
+ * `{subdomain}.bandcamp.com/album/{slug}` and a track is
83
+ * `{subdomain}.bandcamp.com/track/{slug}`. Album-vs-track is chosen by where the
84
+ * link is stored, so one `(subdomain, slug)` pair serves both.
85
+ */
86
+ Bandcamp: MoveStruct<{
87
+ subdomain: import("@mysten/sui/bcs").BcsType<string, string, "string">;
88
+ slug: import("@mysten/sui/bcs").BcsType<string, string, "string">;
89
+ }, "DspLinkData.Bandcamp">;
90
+ /**
91
+ * Deezer addresses albums and tracks by a numeric id (`www.deezer.com/album/{id}`
92
+ * / `www.deezer.com/track/{id}`; a `/{locale}/` segment may appear but is
93
+ * optional). Album-vs-track is chosen by where the link is stored, so one `id`
94
+ * field serves both.
95
+ */
96
+ Deezer: MoveStruct<{
97
+ id: import("@mysten/sui/bcs").BcsType<string, string, "string">;
98
+ }, "DspLinkData.Deezer">;
99
+ /**
100
+ * SoundCloud is slug-addressed, not numeric: an album/playlist is
101
+ * `soundcloud.com/{user}/sets/{slug}` and a track is
102
+ * `soundcloud.com/{user}/{slug}`. Album-vs-track is chosen by where the link is
103
+ * stored, so one `(user, slug)` pair serves both.
104
+ */
105
+ SoundCloud: MoveStruct<{
106
+ user: import("@mysten/sui/bcs").BcsType<string, string, "string">;
107
+ slug: import("@mysten/sui/bcs").BcsType<string, string, "string">;
108
+ }, "DspLinkData.SoundCloud">;
109
+ /**
110
+ * Tidal addresses albums and tracks by a numeric id (`tidal.com/album/{id}` /
111
+ * `tidal.com/track/{id}`; the older `tidal.com/browse/album/{id}` form also
112
+ * resolves). Album-vs-track is chosen by where the link is stored, so one `id`
113
+ * field serves both.
114
+ */
115
+ Tidal: MoveStruct<{
116
+ id: import("@mysten/sui/bcs").BcsType<string, string, "string">;
117
+ }, "DspLinkData.Tidal">;
118
+ /**
119
+ * YouTube Music: an album is a playlist (`music.youtube.com/playlist?list={id}`)
120
+ * and a track is a video (`music.youtube.com/watch?v={id}`). The `id` holds the
121
+ * playlist id at the release level and the video id per track; album-vs-track is
122
+ * chosen by where the link is stored, so one `id` field serves both.
123
+ */
124
+ YouTubeMusic: MoveStruct<{
125
+ id: import("@mysten/sui/bcs").BcsType<string, string, "string">;
126
+ }, "DspLinkData.YouTubeMusic">;
127
+ }, "@local-pkg/release_dsp_link::release_dsp_link::DspLinkData">;
128
+ export declare const ReleaseLinkSetEvent: MoveStruct<{
129
+ release_id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
130
+ link: MoveEnum<{
131
+ /**
132
+ * Spotify addresses both albums and tracks by a single 22-char base62 id
133
+ * (`open.spotify.com/album/{id}` or `/track/{id}`); album-vs-track is chosen by
134
+ * where the link is stored, so one `id` field serves both.
135
+ */
136
+ Spotify: MoveStruct<{
137
+ id: import("@mysten/sui/bcs").BcsType<string, string, "string">;
138
+ }, "DspLinkData.Spotify">;
139
+ /**
140
+ * Apple Music: an album is `music.apple.com/{storefront}/album/{album_id}`; a
141
+ * track within it adds the `?i={track_id}` selector. `storefront` is the
142
+ * two-letter region (e.g. `us`), and because a track link still needs the album
143
+ * id, the album id is always present. The optional `track_id` distinguishes the
144
+ * two forms — clients emit the track URL when it is set, the album URL otherwise.
145
+ * The canonical web URL carries a cosmetic name slug (`/album/{slug}/{album_id}`);
146
+ * only the trailing numeric `album_id` is stored, and Apple resolves the slug-less
147
+ * form.
148
+ */
149
+ AppleMusic: MoveStruct<{
150
+ storefront: import("@mysten/sui/bcs").BcsType<string, string, "string">;
151
+ album_id: import("@mysten/sui/bcs").BcsType<string, string, "string">;
152
+ track_id: import("@mysten/sui/bcs").BcsType<string | null, string | null | undefined, "Option<string>">;
153
+ }, "DspLinkData.AppleMusic">;
154
+ /**
155
+ * Amazon Music: an album is `music.amazon.com/albums/{album_id}`; a track within
156
+ * it adds the `?trackAsin={track_id}` selector. Ids are ASINs (e.g. `B0064UPU4G`).
157
+ * The optional `track_id` distinguishes the two forms — clients emit the track URL
158
+ * when it is set, the album URL otherwise.
159
+ */
160
+ AmazonMusic: MoveStruct<{
161
+ album_id: import("@mysten/sui/bcs").BcsType<string, string, "string">;
162
+ track_id: import("@mysten/sui/bcs").BcsType<string | null, string | null | undefined, "Option<string>">;
163
+ }, "DspLinkData.AmazonMusic">;
164
+ /**
165
+ * Bandcamp addresses by artist subdomain + slug: an album is
166
+ * `{subdomain}.bandcamp.com/album/{slug}` and a track is
167
+ * `{subdomain}.bandcamp.com/track/{slug}`. Album-vs-track is chosen by where the
168
+ * link is stored, so one `(subdomain, slug)` pair serves both.
169
+ */
170
+ Bandcamp: MoveStruct<{
171
+ subdomain: import("@mysten/sui/bcs").BcsType<string, string, "string">;
172
+ slug: import("@mysten/sui/bcs").BcsType<string, string, "string">;
173
+ }, "DspLinkData.Bandcamp">;
174
+ /**
175
+ * Deezer addresses albums and tracks by a numeric id (`www.deezer.com/album/{id}`
176
+ * / `www.deezer.com/track/{id}`; a `/{locale}/` segment may appear but is
177
+ * optional). Album-vs-track is chosen by where the link is stored, so one `id`
178
+ * field serves both.
179
+ */
180
+ Deezer: MoveStruct<{
181
+ id: import("@mysten/sui/bcs").BcsType<string, string, "string">;
182
+ }, "DspLinkData.Deezer">;
183
+ /**
184
+ * SoundCloud is slug-addressed, not numeric: an album/playlist is
185
+ * `soundcloud.com/{user}/sets/{slug}` and a track is
186
+ * `soundcloud.com/{user}/{slug}`. Album-vs-track is chosen by where the link is
187
+ * stored, so one `(user, slug)` pair serves both.
188
+ */
189
+ SoundCloud: MoveStruct<{
190
+ user: import("@mysten/sui/bcs").BcsType<string, string, "string">;
191
+ slug: import("@mysten/sui/bcs").BcsType<string, string, "string">;
192
+ }, "DspLinkData.SoundCloud">;
193
+ /**
194
+ * Tidal addresses albums and tracks by a numeric id (`tidal.com/album/{id}` /
195
+ * `tidal.com/track/{id}`; the older `tidal.com/browse/album/{id}` form also
196
+ * resolves). Album-vs-track is chosen by where the link is stored, so one `id`
197
+ * field serves both.
198
+ */
199
+ Tidal: MoveStruct<{
200
+ id: import("@mysten/sui/bcs").BcsType<string, string, "string">;
201
+ }, "DspLinkData.Tidal">;
202
+ /**
203
+ * YouTube Music: an album is a playlist (`music.youtube.com/playlist?list={id}`)
204
+ * and a track is a video (`music.youtube.com/watch?v={id}`). The `id` holds the
205
+ * playlist id at the release level and the video id per track; album-vs-track is
206
+ * chosen by where the link is stored, so one `id` field serves both.
207
+ */
208
+ YouTubeMusic: MoveStruct<{
209
+ id: import("@mysten/sui/bcs").BcsType<string, string, "string">;
210
+ }, "DspLinkData.YouTubeMusic">;
211
+ }, "@local-pkg/release_dsp_link::release_dsp_link::DspLinkData">;
212
+ }, "@local-pkg/release_dsp_link::release_dsp_link::ReleaseLinkSetEvent">;
213
+ export declare const ReleaseLinkClearedEvent: MoveStruct<{
214
+ release_id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
215
+ platform: import("@mysten/sui/bcs").BcsType<number, number, "u8">;
216
+ }, "@local-pkg/release_dsp_link::release_dsp_link::ReleaseLinkClearedEvent">;
217
+ export declare const TrackLinkSetEvent: MoveStruct<{
218
+ release_id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
219
+ platform: import("@mysten/sui/bcs").BcsType<number, number, "u8">;
220
+ track_index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
221
+ link: import("@mysten/sui/bcs").BcsType<import("@mysten/bcs").EnumOutputShapeWithKeys<{
222
+ Spotify: {
223
+ id: string;
224
+ };
225
+ AppleMusic: {
226
+ storefront: string;
227
+ album_id: string;
228
+ track_id: string | null;
229
+ };
230
+ AmazonMusic: {
231
+ album_id: string;
232
+ track_id: string | null;
233
+ };
234
+ Bandcamp: {
235
+ subdomain: string;
236
+ slug: string;
237
+ };
238
+ Deezer: {
239
+ id: string;
240
+ };
241
+ SoundCloud: {
242
+ user: string;
243
+ slug: string;
244
+ };
245
+ Tidal: {
246
+ id: string;
247
+ };
248
+ YouTubeMusic: {
249
+ id: string;
250
+ };
251
+ }, "Spotify" | "AppleMusic" | "AmazonMusic" | "Bandcamp" | "Deezer" | "SoundCloud" | "Tidal" | "YouTubeMusic"> | null, import("@mysten/bcs").EnumInputShape<{
252
+ Spotify: {
253
+ id: string;
254
+ };
255
+ AppleMusic: {
256
+ storefront: string;
257
+ album_id: string;
258
+ track_id: string | null | undefined;
259
+ };
260
+ AmazonMusic: {
261
+ album_id: string;
262
+ track_id: string | null | undefined;
263
+ };
264
+ Bandcamp: {
265
+ subdomain: string;
266
+ slug: string;
267
+ };
268
+ Deezer: {
269
+ id: string;
270
+ };
271
+ SoundCloud: {
272
+ user: string;
273
+ slug: string;
274
+ };
275
+ Tidal: {
276
+ id: string;
277
+ };
278
+ YouTubeMusic: {
279
+ id: string;
280
+ };
281
+ }> | null | undefined, "Option<@local-pkg/release_dsp_link::release_dsp_link::DspLinkData>">;
282
+ }, "@local-pkg/release_dsp_link::release_dsp_link::TrackLinkSetEvent">;
283
+ export declare const TrackLinksClearedEvent: MoveStruct<{
284
+ release_id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
285
+ platform: import("@mysten/sui/bcs").BcsType<number, number, "u8">;
286
+ }, "@local-pkg/release_dsp_link::release_dsp_link::TrackLinksClearedEvent">;
287
+ export interface PlatformArguments {
288
+ self: TransactionArgument;
289
+ }
290
+ export interface PlatformOptions {
291
+ package?: string;
292
+ arguments: PlatformArguments | [
293
+ self: TransactionArgument
294
+ ];
295
+ }
296
+ /**
297
+ * The link's platform code — the `u8` discriminant clients pass to
298
+ * `clear_release_link`, `clear_track_link`, `clear_track_links`, and the view
299
+ * functions below.
300
+ */
301
+ export declare function platform(options: PlatformOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
302
+ export interface PlatformSpotifyOptions {
303
+ package?: string;
304
+ arguments?: [
305
+ ];
306
+ }
307
+ /** Platform code for `Spotify`. */
308
+ export declare function platformSpotify(options?: PlatformSpotifyOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
309
+ export interface PlatformAppleMusicOptions {
310
+ package?: string;
311
+ arguments?: [
312
+ ];
313
+ }
314
+ /** Platform code for `AppleMusic`. */
315
+ export declare function platformAppleMusic(options?: PlatformAppleMusicOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
316
+ export interface PlatformAmazonMusicOptions {
317
+ package?: string;
318
+ arguments?: [
319
+ ];
320
+ }
321
+ /** Platform code for `AmazonMusic`. */
322
+ export declare function platformAmazonMusic(options?: PlatformAmazonMusicOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
323
+ export interface PlatformBandcampOptions {
324
+ package?: string;
325
+ arguments?: [
326
+ ];
327
+ }
328
+ /** Platform code for `Bandcamp`. */
329
+ export declare function platformBandcamp(options?: PlatformBandcampOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
330
+ export interface PlatformDeezerOptions {
331
+ package?: string;
332
+ arguments?: [
333
+ ];
334
+ }
335
+ /** Platform code for `Deezer`. */
336
+ export declare function platformDeezer(options?: PlatformDeezerOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
337
+ export interface PlatformSoundcloudOptions {
338
+ package?: string;
339
+ arguments?: [
340
+ ];
341
+ }
342
+ /** Platform code for `SoundCloud`. */
343
+ export declare function platformSoundcloud(options?: PlatformSoundcloudOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
344
+ export interface PlatformTidalOptions {
345
+ package?: string;
346
+ arguments?: [
347
+ ];
348
+ }
349
+ /** Platform code for `Tidal`. */
350
+ export declare function platformTidal(options?: PlatformTidalOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
351
+ export interface PlatformYoutubeMusicOptions {
352
+ package?: string;
353
+ arguments?: [
354
+ ];
355
+ }
356
+ /** Platform code for `YouTubeMusic`. */
357
+ export declare function platformYoutubeMusic(options?: PlatformYoutubeMusicOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
358
+ export interface NewSpotifyArguments {
359
+ id: RawTransactionArgument<string>;
360
+ }
361
+ export interface NewSpotifyOptions {
362
+ package?: string;
363
+ arguments: NewSpotifyArguments | [
364
+ id: RawTransactionArgument<string>
365
+ ];
366
+ }
367
+ /**
368
+ * Builds a Spotify link from its id. Aborts if `id` is empty or exceeds
369
+ * `MAX_SPOTIFY_ID_LENGTH`.
370
+ */
371
+ export declare function newSpotify(options: NewSpotifyOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
372
+ export interface NewAppleMusicAlbumArguments {
373
+ storefront: RawTransactionArgument<string>;
374
+ albumId: RawTransactionArgument<string>;
375
+ }
376
+ export interface NewAppleMusicAlbumOptions {
377
+ package?: string;
378
+ arguments: NewAppleMusicAlbumArguments | [
379
+ storefront: RawTransactionArgument<string>,
380
+ albumId: RawTransactionArgument<string>
381
+ ];
382
+ }
383
+ /**
384
+ * Builds an Apple Music album link (no track selector). Aborts if `storefront` or
385
+ * `album_id` is empty or exceeds its maximum length.
386
+ */
387
+ export declare function newAppleMusicAlbum(options: NewAppleMusicAlbumOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
388
+ export interface NewAppleMusicTrackArguments {
389
+ storefront: RawTransactionArgument<string>;
390
+ albumId: RawTransactionArgument<string>;
391
+ trackId: RawTransactionArgument<string>;
392
+ }
393
+ export interface NewAppleMusicTrackOptions {
394
+ package?: string;
395
+ arguments: NewAppleMusicTrackArguments | [
396
+ storefront: RawTransactionArgument<string>,
397
+ albumId: RawTransactionArgument<string>,
398
+ trackId: RawTransactionArgument<string>
399
+ ];
400
+ }
401
+ /**
402
+ * Builds an Apple Music track link — addresses `track_id` within its `album_id`.
403
+ * Aborts if any identifier is empty or exceeds its maximum length.
404
+ */
405
+ export declare function newAppleMusicTrack(options: NewAppleMusicTrackOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
406
+ export interface NewAmazonMusicAlbumArguments {
407
+ albumId: RawTransactionArgument<string>;
408
+ }
409
+ export interface NewAmazonMusicAlbumOptions {
410
+ package?: string;
411
+ arguments: NewAmazonMusicAlbumArguments | [
412
+ albumId: RawTransactionArgument<string>
413
+ ];
414
+ }
415
+ /**
416
+ * Builds an Amazon Music album link (no track selector). Aborts if `album_id` is
417
+ * empty or exceeds `MAX_AMAZON_MUSIC_ALBUM_ID_LENGTH`.
418
+ */
419
+ export declare function newAmazonMusicAlbum(options: NewAmazonMusicAlbumOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
420
+ export interface NewAmazonMusicTrackArguments {
421
+ albumId: RawTransactionArgument<string>;
422
+ trackId: RawTransactionArgument<string>;
423
+ }
424
+ export interface NewAmazonMusicTrackOptions {
425
+ package?: string;
426
+ arguments: NewAmazonMusicTrackArguments | [
427
+ albumId: RawTransactionArgument<string>,
428
+ trackId: RawTransactionArgument<string>
429
+ ];
430
+ }
431
+ /**
432
+ * Builds an Amazon Music track link — addresses `track_id` within its `album_id`.
433
+ * Aborts if either ASIN is empty or exceeds its maximum length.
434
+ */
435
+ export declare function newAmazonMusicTrack(options: NewAmazonMusicTrackOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
436
+ export interface NewBandcampArguments {
437
+ subdomain: RawTransactionArgument<string>;
438
+ slug: RawTransactionArgument<string>;
439
+ }
440
+ export interface NewBandcampOptions {
441
+ package?: string;
442
+ arguments: NewBandcampArguments | [
443
+ subdomain: RawTransactionArgument<string>,
444
+ slug: RawTransactionArgument<string>
445
+ ];
446
+ }
447
+ /**
448
+ * Builds a Bandcamp link. Aborts if `subdomain` or `slug` is empty or exceeds its
449
+ * maximum length.
450
+ */
451
+ export declare function newBandcamp(options: NewBandcampOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
452
+ export interface NewDeezerArguments {
453
+ id: RawTransactionArgument<string>;
454
+ }
455
+ export interface NewDeezerOptions {
456
+ package?: string;
457
+ arguments: NewDeezerArguments | [
458
+ id: RawTransactionArgument<string>
459
+ ];
460
+ }
461
+ /**
462
+ * Builds a Deezer link from its id. Aborts if `id` is empty or exceeds
463
+ * `MAX_DEEZER_ID_LENGTH`.
464
+ */
465
+ export declare function newDeezer(options: NewDeezerOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
466
+ export interface NewSoundcloudArguments {
467
+ user: RawTransactionArgument<string>;
468
+ slug: RawTransactionArgument<string>;
469
+ }
470
+ export interface NewSoundcloudOptions {
471
+ package?: string;
472
+ arguments: NewSoundcloudArguments | [
473
+ user: RawTransactionArgument<string>,
474
+ slug: RawTransactionArgument<string>
475
+ ];
476
+ }
477
+ /**
478
+ * Builds a SoundCloud link. Aborts if `user` or `slug` is empty or exceeds its
479
+ * maximum length.
480
+ */
481
+ export declare function newSoundcloud(options: NewSoundcloudOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
482
+ export interface NewTidalArguments {
483
+ id: RawTransactionArgument<string>;
484
+ }
485
+ export interface NewTidalOptions {
486
+ package?: string;
487
+ arguments: NewTidalArguments | [
488
+ id: RawTransactionArgument<string>
489
+ ];
490
+ }
491
+ /**
492
+ * Builds a Tidal link from its id. Aborts if `id` is empty or exceeds
493
+ * `MAX_TIDAL_ID_LENGTH`.
494
+ */
495
+ export declare function newTidal(options: NewTidalOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
496
+ export interface NewYoutubeMusicArguments {
497
+ id: RawTransactionArgument<string>;
498
+ }
499
+ export interface NewYoutubeMusicOptions {
500
+ package?: string;
501
+ arguments: NewYoutubeMusicArguments | [
502
+ id: RawTransactionArgument<string>
503
+ ];
504
+ }
505
+ /**
506
+ * Builds a YouTube Music link from its id. Aborts if `id` is empty or exceeds
507
+ * `MAX_YOUTUBE_MUSIC_ID_LENGTH`.
508
+ */
509
+ export declare function newYoutubeMusic(options: NewYoutubeMusicOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
510
+ export interface SetReleaseLinkArguments {
511
+ self: RawTransactionArgument<string>;
512
+ cap: RawTransactionArgument<string>;
513
+ link: TransactionArgument;
514
+ }
515
+ export interface SetReleaseLinkOptions {
516
+ package?: string;
517
+ arguments: SetReleaseLinkArguments | [
518
+ self: RawTransactionArgument<string>,
519
+ cap: RawTransactionArgument<string>,
520
+ link: TransactionArgument
521
+ ];
522
+ }
523
+ /**
524
+ * Sets (or replaces) a DSP's album-level link. The platform is derived from `link`
525
+ * itself. Per-track links are untouched.
526
+ */
527
+ export declare function setReleaseLink(options: SetReleaseLinkOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
528
+ export interface ClearReleaseLinkArguments {
529
+ self: RawTransactionArgument<string>;
530
+ cap: RawTransactionArgument<string>;
531
+ platform: RawTransactionArgument<number>;
532
+ }
533
+ export interface ClearReleaseLinkOptions {
534
+ package?: string;
535
+ arguments: ClearReleaseLinkArguments | [
536
+ self: RawTransactionArgument<string>,
537
+ cap: RawTransactionArgument<string>,
538
+ platform: RawTransactionArgument<number>
539
+ ];
540
+ }
541
+ /** Clears a DSP's album-level link. No-op if unset. */
542
+ export declare function clearReleaseLink(options: ClearReleaseLinkOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
543
+ export interface SetTrackLinkArguments {
544
+ self: RawTransactionArgument<string>;
545
+ cap: RawTransactionArgument<string>;
546
+ trackIndex: RawTransactionArgument<number | bigint>;
547
+ link: TransactionArgument;
548
+ }
549
+ export interface SetTrackLinkOptions {
550
+ package?: string;
551
+ arguments: SetTrackLinkArguments | [
552
+ self: RawTransactionArgument<string>,
553
+ cap: RawTransactionArgument<string>,
554
+ trackIndex: RawTransactionArgument<number | bigint>,
555
+ link: TransactionArgument
556
+ ];
557
+ }
558
+ /**
559
+ * Sets (or replaces) a DSP's link for one track (by tracklist index). The platform
560
+ * is derived from `link` itself. Aborts if the index is out of range.
561
+ */
562
+ export declare function setTrackLink(options: SetTrackLinkOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
563
+ export interface ClearTrackLinkArguments {
564
+ self: RawTransactionArgument<string>;
565
+ cap: RawTransactionArgument<string>;
566
+ platform: RawTransactionArgument<number>;
567
+ trackIndex: RawTransactionArgument<number | bigint>;
568
+ }
569
+ export interface ClearTrackLinkOptions {
570
+ package?: string;
571
+ arguments: ClearTrackLinkArguments | [
572
+ self: RawTransactionArgument<string>,
573
+ cap: RawTransactionArgument<string>,
574
+ platform: RawTransactionArgument<number>,
575
+ trackIndex: RawTransactionArgument<number | bigint>
576
+ ];
577
+ }
578
+ /**
579
+ * Clears a DSP's link for one track (the track falls back to the album-level
580
+ * link). No-op if no per-track array exists for this platform. Aborts if the index
581
+ * is out of range (when an array exists).
582
+ */
583
+ export declare function clearTrackLink(options: ClearTrackLinkOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
584
+ export interface ClearTrackLinksArguments {
585
+ self: RawTransactionArgument<string>;
586
+ cap: RawTransactionArgument<string>;
587
+ platform: RawTransactionArgument<number>;
588
+ }
589
+ export interface ClearTrackLinksOptions {
590
+ package?: string;
591
+ arguments: ClearTrackLinksArguments | [
592
+ self: RawTransactionArgument<string>,
593
+ cap: RawTransactionArgument<string>,
594
+ platform: RawTransactionArgument<number>
595
+ ];
596
+ }
597
+ /** Removes a DSP's entire per-track array. No-op if absent. */
598
+ export declare function clearTrackLinks(options: ClearTrackLinksOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
599
+ export interface HasReleaseLinkArguments {
600
+ self: RawTransactionArgument<string>;
601
+ platform: RawTransactionArgument<number>;
602
+ }
603
+ export interface HasReleaseLinkOptions {
604
+ package?: string;
605
+ arguments: HasReleaseLinkArguments | [
606
+ self: RawTransactionArgument<string>,
607
+ platform: RawTransactionArgument<number>
608
+ ];
609
+ }
610
+ /** Whether a DSP's album-level link is set. */
611
+ export declare function hasReleaseLink(options: HasReleaseLinkOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
612
+ export interface ReleaseLinkArguments {
613
+ self: RawTransactionArgument<string>;
614
+ platform: RawTransactionArgument<number>;
615
+ }
616
+ export interface ReleaseLinkOptions {
617
+ package?: string;
618
+ arguments: ReleaseLinkArguments | [
619
+ self: RawTransactionArgument<string>,
620
+ platform: RawTransactionArgument<number>
621
+ ];
622
+ }
623
+ /** A DSP's album-level link, if set. */
624
+ export declare function releaseLink(options: ReleaseLinkOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
625
+ export interface TrackLinkArguments {
626
+ self: RawTransactionArgument<string>;
627
+ platform: RawTransactionArgument<number>;
628
+ trackIndex: RawTransactionArgument<number | bigint>;
629
+ }
630
+ export interface TrackLinkOptions {
631
+ package?: string;
632
+ arguments: TrackLinkArguments | [
633
+ self: RawTransactionArgument<string>,
634
+ platform: RawTransactionArgument<number>,
635
+ trackIndex: RawTransactionArgument<number | bigint>
636
+ ];
637
+ }
638
+ /**
639
+ * A DSP's link for one track, if set. An unset slot — or no array at all — yields
640
+ * `none`, meaning the track inherits the album-level link. Aborts if the index is
641
+ * out of range (when an array exists).
642
+ */
643
+ export declare function trackLink(options: TrackLinkOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
644
+ //# sourceMappingURL=release_dsp_link.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"release_dsp_link.d.ts","sourceRoot":"","sources":["../../../src/contracts/release_dsp_link/release_dsp_link.ts"],"names":[],"mappings":"AAAA;;gEAEgE;AAGhE;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,UAAU,EAA0B,KAAK,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAEzH,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAEtF,eAAO,MAAM,cAAc,gJAAgF,CAAC;AAC5G,eAAO,MAAM,aAAa,+IAA+E,CAAC;AAC1G;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,WAAW;IAChB;;;;QAII;;;;IAIJ;;;;;;;;;OASG;;;;;;IAMH;;;;;OAKG;;;;;IAKH;;;;;OAKG;;;;;IAKH;;;;;OAKG;;;;IAIH;;;;;OAKG;;;;;IAKH;;;;;OAKG;;;;IAIH;;;;;OAKG;;;;gEAIH,CAAC;AACT,eAAO,MAAM,mBAAmB;;;QAjFxB;;;;YAII;;;;QAIJ;;;;;;;;;WASG;;;;;;QAMH;;;;;WAKG;;;;;QAKH;;;;;WAKG;;;;;QAKH;;;;;WAKG;;;;QAIH;;;;;WAKG;;;;;QAKH;;;;;WAKG;;;;QAIH;;;;;WAKG;;;;;wEAQH,CAAC;AACT,eAAO,MAAM,uBAAuB;;;4EAG5B,CAAC;AACT,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sEAKtB,CAAC;AACT,eAAO,MAAM,sBAAsB;;;2EAG3B,CAAC;AACT,MAAM,WAAW,iBAAiB;IAC9B,IAAI,EAAE,mBAAmB,CAAC;CAC7B;AACD,MAA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