@open-captable-protocol/canton 0.2.90 → 0.2.91

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 (262) hide show
  1. package/dist/OcpClient.d.ts +19 -19
  2. package/dist/OcpClient.d.ts.map +1 -1
  3. package/dist/OcpClient.js +50 -50
  4. package/dist/OcpClient.js.map +1 -1
  5. package/dist/functions/{Subscriptions/activeSubscription → PaymentStreams/activePaymentStream}/addFunds.d.ts +1 -1
  6. package/dist/functions/PaymentStreams/activePaymentStream/addFunds.d.ts.map +1 -0
  7. package/dist/functions/{Subscriptions/activeSubscription → PaymentStreams/activePaymentStream}/addFunds.js +3 -3
  8. package/dist/functions/PaymentStreams/activePaymentStream/addFunds.js.map +1 -0
  9. package/dist/functions/PaymentStreams/activePaymentStream/archiveInactivePaymentStream.d.ts +7 -0
  10. package/dist/functions/PaymentStreams/activePaymentStream/archiveInactivePaymentStream.d.ts.map +1 -0
  11. package/dist/functions/PaymentStreams/activePaymentStream/archiveInactivePaymentStream.js +17 -0
  12. package/dist/functions/PaymentStreams/activePaymentStream/archiveInactivePaymentStream.js.map +1 -0
  13. package/dist/functions/PaymentStreams/activePaymentStream/cancel.d.ts +10 -0
  14. package/dist/functions/PaymentStreams/activePaymentStream/cancel.d.ts.map +1 -0
  15. package/dist/functions/PaymentStreams/activePaymentStream/cancel.js +21 -0
  16. package/dist/functions/PaymentStreams/activePaymentStream/cancel.js.map +1 -0
  17. package/dist/functions/PaymentStreams/activePaymentStream/changeParty.d.ts +10 -0
  18. package/dist/functions/PaymentStreams/activePaymentStream/changeParty.d.ts.map +1 -0
  19. package/dist/functions/PaymentStreams/activePaymentStream/changeParty.js +19 -0
  20. package/dist/functions/PaymentStreams/activePaymentStream/changeParty.js.map +1 -0
  21. package/dist/functions/{Subscriptions/activeSubscription → PaymentStreams/activePaymentStream}/index.d.ts +5 -5
  22. package/dist/functions/PaymentStreams/activePaymentStream/index.d.ts.map +1 -0
  23. package/dist/functions/{Subscriptions/activeSubscription → PaymentStreams/activePaymentStream}/index.js +4 -4
  24. package/dist/functions/PaymentStreams/activePaymentStream/index.js.map +1 -0
  25. package/dist/functions/{Subscriptions/activeSubscription → PaymentStreams/activePaymentStream}/processFreeTrial.d.ts +1 -1
  26. package/dist/functions/PaymentStreams/activePaymentStream/processFreeTrial.d.ts.map +1 -0
  27. package/dist/functions/{Subscriptions/activeSubscription → PaymentStreams/activePaymentStream}/processFreeTrial.js +3 -3
  28. package/dist/functions/PaymentStreams/activePaymentStream/processFreeTrial.js.map +1 -0
  29. package/dist/functions/{Subscriptions/activeSubscription → PaymentStreams/activePaymentStream}/processPayment.d.ts +2 -1
  30. package/dist/functions/PaymentStreams/activePaymentStream/processPayment.d.ts.map +1 -0
  31. package/dist/functions/{Subscriptions/activeSubscription → PaymentStreams/activePaymentStream}/processPayment.js +4 -3
  32. package/dist/functions/PaymentStreams/activePaymentStream/processPayment.js.map +1 -0
  33. package/dist/functions/{Subscriptions/activeSubscription → PaymentStreams/activePaymentStream}/proposeChanges.d.ts +8 -8
  34. package/dist/functions/PaymentStreams/activePaymentStream/proposeChanges.d.ts.map +1 -0
  35. package/dist/functions/{Subscriptions/activeSubscription → PaymentStreams/activePaymentStream}/proposeChanges.js +10 -10
  36. package/dist/functions/PaymentStreams/activePaymentStream/proposeChanges.js.map +1 -0
  37. package/dist/functions/{Subscriptions/activeSubscription → PaymentStreams/activePaymentStream}/refund.d.ts +3 -3
  38. package/dist/functions/PaymentStreams/activePaymentStream/refund.d.ts.map +1 -0
  39. package/dist/functions/{Subscriptions/activeSubscription → PaymentStreams/activePaymentStream}/refund.js +5 -5
  40. package/dist/functions/PaymentStreams/activePaymentStream/refund.js.map +1 -0
  41. package/dist/functions/{Subscriptions/activeSubscription → PaymentStreams/activePaymentStream}/replaceLockedAmulet.d.ts +1 -1
  42. package/dist/functions/PaymentStreams/activePaymentStream/replaceLockedAmulet.d.ts.map +1 -0
  43. package/dist/functions/{Subscriptions/activeSubscription → PaymentStreams/activePaymentStream}/replaceLockedAmulet.js +3 -3
  44. package/dist/functions/PaymentStreams/activePaymentStream/replaceLockedAmulet.js.map +1 -0
  45. package/dist/functions/{Subscriptions/activeSubscription → PaymentStreams/activePaymentStream}/withdrawFunds.d.ts +1 -1
  46. package/dist/functions/PaymentStreams/activePaymentStream/withdrawFunds.d.ts.map +1 -0
  47. package/dist/functions/{Subscriptions/activeSubscription → PaymentStreams/activePaymentStream}/withdrawFunds.js +3 -3
  48. package/dist/functions/PaymentStreams/activePaymentStream/withdrawFunds.js.map +1 -0
  49. package/dist/functions/PaymentStreams/index.d.ts +16 -0
  50. package/dist/functions/PaymentStreams/index.d.ts.map +1 -0
  51. package/dist/functions/PaymentStreams/index.js +58 -0
  52. package/dist/functions/PaymentStreams/index.js.map +1 -0
  53. package/dist/functions/PaymentStreams/partyMigrationProposal/approve.d.ts.map +1 -0
  54. package/dist/functions/{Subscriptions → PaymentStreams}/partyMigrationProposal/approve.js +1 -1
  55. package/dist/functions/PaymentStreams/partyMigrationProposal/approve.js.map +1 -0
  56. package/dist/functions/PaymentStreams/partyMigrationProposal/archive.d.ts.map +1 -0
  57. package/dist/functions/{Subscriptions → PaymentStreams}/partyMigrationProposal/archive.js +1 -1
  58. package/dist/functions/PaymentStreams/partyMigrationProposal/archive.js.map +1 -0
  59. package/dist/functions/PaymentStreams/partyMigrationProposal/index.d.ts +5 -0
  60. package/dist/functions/PaymentStreams/partyMigrationProposal/index.d.ts.map +1 -0
  61. package/dist/functions/{Subscriptions → PaymentStreams}/partyMigrationProposal/index.js +2 -2
  62. package/dist/functions/PaymentStreams/partyMigrationProposal/index.js.map +1 -0
  63. package/dist/functions/PaymentStreams/partyMigrationProposal/migrateActivePaymentStream.d.ts +8 -0
  64. package/dist/functions/PaymentStreams/partyMigrationProposal/migrateActivePaymentStream.d.ts.map +1 -0
  65. package/dist/functions/PaymentStreams/partyMigrationProposal/migrateActivePaymentStream.js +18 -0
  66. package/dist/functions/PaymentStreams/partyMigrationProposal/migrateActivePaymentStream.js.map +1 -0
  67. package/dist/functions/PaymentStreams/partyMigrationProposal/migrateProposedPaymentStream.d.ts +8 -0
  68. package/dist/functions/PaymentStreams/partyMigrationProposal/migrateProposedPaymentStream.d.ts.map +1 -0
  69. package/dist/functions/PaymentStreams/partyMigrationProposal/migrateProposedPaymentStream.js +18 -0
  70. package/dist/functions/PaymentStreams/partyMigrationProposal/migrateProposedPaymentStream.js.map +1 -0
  71. package/dist/functions/PaymentStreams/paymentStreamChangeProposal/apply.d.ts +8 -0
  72. package/dist/functions/PaymentStreams/paymentStreamChangeProposal/apply.d.ts.map +1 -0
  73. package/dist/functions/PaymentStreams/paymentStreamChangeProposal/apply.js +18 -0
  74. package/dist/functions/PaymentStreams/paymentStreamChangeProposal/apply.js.map +1 -0
  75. package/dist/functions/PaymentStreams/paymentStreamChangeProposal/approve.d.ts +7 -0
  76. package/dist/functions/PaymentStreams/paymentStreamChangeProposal/approve.d.ts.map +1 -0
  77. package/dist/functions/PaymentStreams/paymentStreamChangeProposal/approve.js +17 -0
  78. package/dist/functions/PaymentStreams/paymentStreamChangeProposal/approve.js.map +1 -0
  79. package/dist/functions/PaymentStreams/paymentStreamChangeProposal/index.d.ts.map +1 -0
  80. package/dist/functions/PaymentStreams/paymentStreamChangeProposal/index.js.map +1 -0
  81. package/dist/functions/PaymentStreams/paymentStreamChangeProposal/reject.d.ts +8 -0
  82. package/dist/functions/PaymentStreams/paymentStreamChangeProposal/reject.d.ts.map +1 -0
  83. package/dist/functions/{Subscriptions/subscriptionChangeProposal → PaymentStreams/paymentStreamChangeProposal}/reject.js +4 -4
  84. package/dist/functions/PaymentStreams/paymentStreamChangeProposal/reject.js.map +1 -0
  85. package/dist/functions/PaymentStreams/paymentStreamFactory/createPaymentStreamProposal.d.ts +36 -0
  86. package/dist/functions/PaymentStreams/paymentStreamFactory/createPaymentStreamProposal.d.ts.map +1 -0
  87. package/dist/functions/{Subscriptions/subscriptionFactory/createSubscriptionProposal.js → PaymentStreams/paymentStreamFactory/createPaymentStreamProposal.js} +14 -14
  88. package/dist/functions/PaymentStreams/paymentStreamFactory/createPaymentStreamProposal.js.map +1 -0
  89. package/dist/functions/PaymentStreams/paymentStreamFactory/index.d.ts +2 -0
  90. package/dist/functions/PaymentStreams/paymentStreamFactory/index.d.ts.map +1 -0
  91. package/dist/functions/{Subscriptions/subscriptionFactory → PaymentStreams/paymentStreamFactory}/index.js +1 -1
  92. package/dist/functions/PaymentStreams/paymentStreamFactory/index.js.map +1 -0
  93. package/dist/functions/PaymentStreams/proposedPaymentStream/approve.d.ts +7 -0
  94. package/dist/functions/PaymentStreams/proposedPaymentStream/approve.d.ts.map +1 -0
  95. package/dist/functions/PaymentStreams/proposedPaymentStream/approve.js +19 -0
  96. package/dist/functions/PaymentStreams/proposedPaymentStream/approve.js.map +1 -0
  97. package/dist/functions/PaymentStreams/proposedPaymentStream/changeParty.d.ts +10 -0
  98. package/dist/functions/PaymentStreams/proposedPaymentStream/changeParty.d.ts.map +1 -0
  99. package/dist/functions/PaymentStreams/proposedPaymentStream/changeParty.js +19 -0
  100. package/dist/functions/PaymentStreams/proposedPaymentStream/changeParty.js.map +1 -0
  101. package/dist/functions/PaymentStreams/proposedPaymentStream/editPaymentStreamProposal.d.ts +27 -0
  102. package/dist/functions/PaymentStreams/proposedPaymentStream/editPaymentStreamProposal.d.ts.map +1 -0
  103. package/dist/functions/{Subscriptions/proposedSubscription/editSubscriptionProposal.js → PaymentStreams/proposedPaymentStream/editPaymentStreamProposal.js} +14 -14
  104. package/dist/functions/PaymentStreams/proposedPaymentStream/editPaymentStreamProposal.js.map +1 -0
  105. package/dist/functions/PaymentStreams/proposedPaymentStream/index.d.ts +6 -0
  106. package/dist/functions/PaymentStreams/proposedPaymentStream/index.d.ts.map +1 -0
  107. package/dist/functions/{Subscriptions/proposedSubscription → PaymentStreams/proposedPaymentStream}/index.js +2 -2
  108. package/dist/functions/PaymentStreams/proposedPaymentStream/index.js.map +1 -0
  109. package/dist/functions/PaymentStreams/proposedPaymentStream/startPaymentStream.d.ts +8 -0
  110. package/dist/functions/PaymentStreams/proposedPaymentStream/startPaymentStream.d.ts.map +1 -0
  111. package/dist/functions/{Subscriptions/proposedSubscription/startSubscription.js → PaymentStreams/proposedPaymentStream/startPaymentStream.js} +6 -6
  112. package/dist/functions/PaymentStreams/proposedPaymentStream/startPaymentStream.js.map +1 -0
  113. package/dist/functions/PaymentStreams/proposedPaymentStream/withdraw.d.ts +8 -0
  114. package/dist/functions/PaymentStreams/proposedPaymentStream/withdraw.d.ts.map +1 -0
  115. package/dist/functions/PaymentStreams/proposedPaymentStream/withdraw.js +19 -0
  116. package/dist/functions/PaymentStreams/proposedPaymentStream/withdraw.js.map +1 -0
  117. package/dist/functions/{Subscriptions/types/activeSubscription.d.ts → PaymentStreams/types/activePaymentStream.d.ts} +19 -19
  118. package/dist/functions/PaymentStreams/types/activePaymentStream.d.ts.map +1 -0
  119. package/dist/functions/{Subscriptions/types/activeSubscription.js → PaymentStreams/types/activePaymentStream.js} +10 -10
  120. package/dist/functions/PaymentStreams/types/activePaymentStream.js.map +1 -0
  121. package/dist/functions/PaymentStreams/types/index.d.ts +4 -0
  122. package/dist/functions/PaymentStreams/types/index.d.ts.map +1 -0
  123. package/dist/functions/{Subscriptions → PaymentStreams}/types/index.js +2 -2
  124. package/dist/functions/PaymentStreams/types/index.js.map +1 -0
  125. package/dist/functions/{Subscriptions → PaymentStreams}/types/lockFundsInput.d.ts +1 -1
  126. package/dist/functions/PaymentStreams/types/lockFundsInput.d.ts.map +1 -0
  127. package/dist/functions/PaymentStreams/types/lockFundsInput.js.map +1 -0
  128. package/dist/functions/{Subscriptions/types/proposedSubscription.d.ts → PaymentStreams/types/proposedPaymentStream.d.ts} +23 -23
  129. package/dist/functions/PaymentStreams/types/proposedPaymentStream.d.ts.map +1 -0
  130. package/dist/functions/PaymentStreams/types/proposedPaymentStream.js +48 -0
  131. package/dist/functions/PaymentStreams/types/proposedPaymentStream.js.map +1 -0
  132. package/dist/functions/{Subscriptions → PaymentStreams}/utils/disclosedContracts.d.ts +3 -3
  133. package/dist/functions/PaymentStreams/utils/disclosedContracts.d.ts.map +1 -0
  134. package/dist/functions/{Subscriptions → PaymentStreams}/utils/disclosedContracts.js +8 -8
  135. package/dist/functions/PaymentStreams/utils/disclosedContracts.js.map +1 -0
  136. package/dist/functions/{Subscriptions → PaymentStreams}/utils/factoryContractId.d.ts +3 -3
  137. package/dist/functions/PaymentStreams/utils/factoryContractId.d.ts.map +1 -0
  138. package/dist/functions/{Subscriptions → PaymentStreams}/utils/factoryContractId.js +5 -5
  139. package/dist/functions/PaymentStreams/utils/factoryContractId.js.map +1 -0
  140. package/dist/functions/PaymentStreams/utils/index.d.ts.map +1 -0
  141. package/dist/functions/PaymentStreams/utils/index.js.map +1 -0
  142. package/dist/functions/{Subscriptions → PaymentStreams}/utils/paymentContext.d.ts +9 -9
  143. package/dist/functions/PaymentStreams/utils/paymentContext.d.ts.map +1 -0
  144. package/dist/functions/{Subscriptions → PaymentStreams}/utils/paymentContext.js +41 -29
  145. package/dist/functions/PaymentStreams/utils/paymentContext.js.map +1 -0
  146. package/dist/functions/index.d.ts +1 -1
  147. package/dist/functions/index.d.ts.map +1 -1
  148. package/dist/functions/index.js +1 -1
  149. package/dist/functions/index.js.map +1 -1
  150. package/package.json +2 -2
  151. package/dist/functions/Subscriptions/activeSubscription/addFunds.d.ts.map +0 -1
  152. package/dist/functions/Subscriptions/activeSubscription/addFunds.js.map +0 -1
  153. package/dist/functions/Subscriptions/activeSubscription/archiveInactiveSubscription.d.ts +0 -7
  154. package/dist/functions/Subscriptions/activeSubscription/archiveInactiveSubscription.d.ts.map +0 -1
  155. package/dist/functions/Subscriptions/activeSubscription/archiveInactiveSubscription.js +0 -17
  156. package/dist/functions/Subscriptions/activeSubscription/archiveInactiveSubscription.js.map +0 -1
  157. package/dist/functions/Subscriptions/activeSubscription/cancel.d.ts +0 -11
  158. package/dist/functions/Subscriptions/activeSubscription/cancel.d.ts.map +0 -1
  159. package/dist/functions/Subscriptions/activeSubscription/cancel.js +0 -25
  160. package/dist/functions/Subscriptions/activeSubscription/cancel.js.map +0 -1
  161. package/dist/functions/Subscriptions/activeSubscription/changeParty.d.ts +0 -10
  162. package/dist/functions/Subscriptions/activeSubscription/changeParty.d.ts.map +0 -1
  163. package/dist/functions/Subscriptions/activeSubscription/changeParty.js +0 -19
  164. package/dist/functions/Subscriptions/activeSubscription/changeParty.js.map +0 -1
  165. package/dist/functions/Subscriptions/activeSubscription/index.d.ts.map +0 -1
  166. package/dist/functions/Subscriptions/activeSubscription/index.js.map +0 -1
  167. package/dist/functions/Subscriptions/activeSubscription/processFreeTrial.d.ts.map +0 -1
  168. package/dist/functions/Subscriptions/activeSubscription/processFreeTrial.js.map +0 -1
  169. package/dist/functions/Subscriptions/activeSubscription/processPayment.d.ts.map +0 -1
  170. package/dist/functions/Subscriptions/activeSubscription/processPayment.js.map +0 -1
  171. package/dist/functions/Subscriptions/activeSubscription/proposeChanges.d.ts.map +0 -1
  172. package/dist/functions/Subscriptions/activeSubscription/proposeChanges.js.map +0 -1
  173. package/dist/functions/Subscriptions/activeSubscription/refund.d.ts.map +0 -1
  174. package/dist/functions/Subscriptions/activeSubscription/refund.js.map +0 -1
  175. package/dist/functions/Subscriptions/activeSubscription/replaceLockedAmulet.d.ts.map +0 -1
  176. package/dist/functions/Subscriptions/activeSubscription/replaceLockedAmulet.js.map +0 -1
  177. package/dist/functions/Subscriptions/activeSubscription/withdrawFunds.d.ts.map +0 -1
  178. package/dist/functions/Subscriptions/activeSubscription/withdrawFunds.js.map +0 -1
  179. package/dist/functions/Subscriptions/index.d.ts +0 -16
  180. package/dist/functions/Subscriptions/index.d.ts.map +0 -1
  181. package/dist/functions/Subscriptions/index.js +0 -58
  182. package/dist/functions/Subscriptions/index.js.map +0 -1
  183. package/dist/functions/Subscriptions/partyMigrationProposal/approve.d.ts.map +0 -1
  184. package/dist/functions/Subscriptions/partyMigrationProposal/approve.js.map +0 -1
  185. package/dist/functions/Subscriptions/partyMigrationProposal/archive.d.ts.map +0 -1
  186. package/dist/functions/Subscriptions/partyMigrationProposal/archive.js.map +0 -1
  187. package/dist/functions/Subscriptions/partyMigrationProposal/index.d.ts +0 -5
  188. package/dist/functions/Subscriptions/partyMigrationProposal/index.d.ts.map +0 -1
  189. package/dist/functions/Subscriptions/partyMigrationProposal/index.js.map +0 -1
  190. package/dist/functions/Subscriptions/partyMigrationProposal/migrateActiveSubscription.d.ts +0 -8
  191. package/dist/functions/Subscriptions/partyMigrationProposal/migrateActiveSubscription.d.ts.map +0 -1
  192. package/dist/functions/Subscriptions/partyMigrationProposal/migrateActiveSubscription.js +0 -18
  193. package/dist/functions/Subscriptions/partyMigrationProposal/migrateActiveSubscription.js.map +0 -1
  194. package/dist/functions/Subscriptions/partyMigrationProposal/migrateProposedSubscription.d.ts +0 -8
  195. package/dist/functions/Subscriptions/partyMigrationProposal/migrateProposedSubscription.d.ts.map +0 -1
  196. package/dist/functions/Subscriptions/partyMigrationProposal/migrateProposedSubscription.js +0 -18
  197. package/dist/functions/Subscriptions/partyMigrationProposal/migrateProposedSubscription.js.map +0 -1
  198. package/dist/functions/Subscriptions/proposedSubscription/approve.d.ts +0 -7
  199. package/dist/functions/Subscriptions/proposedSubscription/approve.d.ts.map +0 -1
  200. package/dist/functions/Subscriptions/proposedSubscription/approve.js +0 -19
  201. package/dist/functions/Subscriptions/proposedSubscription/approve.js.map +0 -1
  202. package/dist/functions/Subscriptions/proposedSubscription/changeParty.d.ts +0 -10
  203. package/dist/functions/Subscriptions/proposedSubscription/changeParty.d.ts.map +0 -1
  204. package/dist/functions/Subscriptions/proposedSubscription/changeParty.js +0 -19
  205. package/dist/functions/Subscriptions/proposedSubscription/changeParty.js.map +0 -1
  206. package/dist/functions/Subscriptions/proposedSubscription/editSubscriptionProposal.d.ts +0 -27
  207. package/dist/functions/Subscriptions/proposedSubscription/editSubscriptionProposal.d.ts.map +0 -1
  208. package/dist/functions/Subscriptions/proposedSubscription/editSubscriptionProposal.js.map +0 -1
  209. package/dist/functions/Subscriptions/proposedSubscription/index.d.ts +0 -6
  210. package/dist/functions/Subscriptions/proposedSubscription/index.d.ts.map +0 -1
  211. package/dist/functions/Subscriptions/proposedSubscription/index.js.map +0 -1
  212. package/dist/functions/Subscriptions/proposedSubscription/startSubscription.d.ts +0 -8
  213. package/dist/functions/Subscriptions/proposedSubscription/startSubscription.d.ts.map +0 -1
  214. package/dist/functions/Subscriptions/proposedSubscription/startSubscription.js.map +0 -1
  215. package/dist/functions/Subscriptions/proposedSubscription/withdraw.d.ts +0 -8
  216. package/dist/functions/Subscriptions/proposedSubscription/withdraw.d.ts.map +0 -1
  217. package/dist/functions/Subscriptions/proposedSubscription/withdraw.js +0 -19
  218. package/dist/functions/Subscriptions/proposedSubscription/withdraw.js.map +0 -1
  219. package/dist/functions/Subscriptions/subscriptionChangeProposal/apply.d.ts +0 -8
  220. package/dist/functions/Subscriptions/subscriptionChangeProposal/apply.d.ts.map +0 -1
  221. package/dist/functions/Subscriptions/subscriptionChangeProposal/apply.js +0 -18
  222. package/dist/functions/Subscriptions/subscriptionChangeProposal/apply.js.map +0 -1
  223. package/dist/functions/Subscriptions/subscriptionChangeProposal/approve.d.ts +0 -7
  224. package/dist/functions/Subscriptions/subscriptionChangeProposal/approve.d.ts.map +0 -1
  225. package/dist/functions/Subscriptions/subscriptionChangeProposal/approve.js +0 -17
  226. package/dist/functions/Subscriptions/subscriptionChangeProposal/approve.js.map +0 -1
  227. package/dist/functions/Subscriptions/subscriptionChangeProposal/index.d.ts.map +0 -1
  228. package/dist/functions/Subscriptions/subscriptionChangeProposal/index.js.map +0 -1
  229. package/dist/functions/Subscriptions/subscriptionChangeProposal/reject.d.ts +0 -8
  230. package/dist/functions/Subscriptions/subscriptionChangeProposal/reject.d.ts.map +0 -1
  231. package/dist/functions/Subscriptions/subscriptionChangeProposal/reject.js.map +0 -1
  232. package/dist/functions/Subscriptions/subscriptionFactory/createSubscriptionProposal.d.ts +0 -36
  233. package/dist/functions/Subscriptions/subscriptionFactory/createSubscriptionProposal.d.ts.map +0 -1
  234. package/dist/functions/Subscriptions/subscriptionFactory/createSubscriptionProposal.js.map +0 -1
  235. package/dist/functions/Subscriptions/subscriptionFactory/index.d.ts +0 -2
  236. package/dist/functions/Subscriptions/subscriptionFactory/index.d.ts.map +0 -1
  237. package/dist/functions/Subscriptions/subscriptionFactory/index.js.map +0 -1
  238. package/dist/functions/Subscriptions/types/activeSubscription.d.ts.map +0 -1
  239. package/dist/functions/Subscriptions/types/activeSubscription.js.map +0 -1
  240. package/dist/functions/Subscriptions/types/index.d.ts +0 -4
  241. package/dist/functions/Subscriptions/types/index.d.ts.map +0 -1
  242. package/dist/functions/Subscriptions/types/index.js.map +0 -1
  243. package/dist/functions/Subscriptions/types/lockFundsInput.d.ts.map +0 -1
  244. package/dist/functions/Subscriptions/types/lockFundsInput.js.map +0 -1
  245. package/dist/functions/Subscriptions/types/proposedSubscription.d.ts.map +0 -1
  246. package/dist/functions/Subscriptions/types/proposedSubscription.js +0 -49
  247. package/dist/functions/Subscriptions/types/proposedSubscription.js.map +0 -1
  248. package/dist/functions/Subscriptions/utils/disclosedContracts.d.ts.map +0 -1
  249. package/dist/functions/Subscriptions/utils/disclosedContracts.js.map +0 -1
  250. package/dist/functions/Subscriptions/utils/factoryContractId.d.ts.map +0 -1
  251. package/dist/functions/Subscriptions/utils/factoryContractId.js.map +0 -1
  252. package/dist/functions/Subscriptions/utils/index.d.ts.map +0 -1
  253. package/dist/functions/Subscriptions/utils/index.js.map +0 -1
  254. package/dist/functions/Subscriptions/utils/paymentContext.d.ts.map +0 -1
  255. package/dist/functions/Subscriptions/utils/paymentContext.js.map +0 -1
  256. /package/dist/functions/{Subscriptions → PaymentStreams}/partyMigrationProposal/approve.d.ts +0 -0
  257. /package/dist/functions/{Subscriptions → PaymentStreams}/partyMigrationProposal/archive.d.ts +0 -0
  258. /package/dist/functions/{Subscriptions/subscriptionChangeProposal → PaymentStreams/paymentStreamChangeProposal}/index.d.ts +0 -0
  259. /package/dist/functions/{Subscriptions/subscriptionChangeProposal → PaymentStreams/paymentStreamChangeProposal}/index.js +0 -0
  260. /package/dist/functions/{Subscriptions → PaymentStreams}/types/lockFundsInput.js +0 -0
  261. /package/dist/functions/{Subscriptions → PaymentStreams}/utils/index.d.ts +0 -0
  262. /package/dist/functions/{Subscriptions → PaymentStreams}/utils/index.js +0 -0
@@ -1,11 +0,0 @@
1
- import type { Command } from '@fairmint/canton-node-sdk/build/src/clients/ledger-json-api/schemas/api/commands';
2
- import type { PaymentContext } from '../utils/paymentContext';
3
- export interface CancelSubscriptionParams {
4
- subscriptionContractId: string;
5
- actor: string;
6
- disregardAvailablePaidPeriod?: boolean;
7
- description?: string;
8
- paymentContext: PaymentContext;
9
- }
10
- export declare function buildCancelSubscriptionCommand(params: CancelSubscriptionParams): Command;
11
- //# sourceMappingURL=cancel.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"cancel.d.ts","sourceRoot":"","sources":["../../../../src/functions/Subscriptions/activeSubscription/cancel.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kFAAkF,CAAC;AAEhH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAE9D,MAAM,WAAW,wBAAwB;IACvC,sBAAsB,EAAE,MAAM,CAAC;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,4BAA4B,CAAC,EAAE,OAAO,CAAC;IACvC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,cAAc,CAAC;CAChC;AAED,wBAAgB,8BAA8B,CAAC,MAAM,EAAE,wBAAwB,GAAG,OAAO,CAoBxF"}
@@ -1,25 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.buildCancelSubscriptionCommand = buildCancelSubscriptionCommand;
4
- const open_captable_protocol_daml_js_1 = require("@fairmint/open-captable-protocol-daml-js");
5
- function buildCancelSubscriptionCommand(params) {
6
- const choiceArgument = {
7
- actor: params.actor,
8
- disregardAvailablePaidPeriod: params.disregardAvailablePaidPeriod ?? false,
9
- description: params.description ?? null,
10
- paymentContext: {
11
- amuletRulesCid: params.paymentContext.amuletRulesCid,
12
- openMiningRoundCid: params.paymentContext.openMiningRoundCid,
13
- featuredAppRight: params.paymentContext.featuredAppRight,
14
- },
15
- };
16
- return {
17
- ExerciseCommand: {
18
- templateId: open_captable_protocol_daml_js_1.Fairmint.Subscriptions.ActiveSubscription.ActiveSubscription.templateId,
19
- contractId: params.subscriptionContractId,
20
- choice: 'ActiveSubscription_Cancel',
21
- choiceArgument,
22
- },
23
- };
24
- }
25
- //# sourceMappingURL=cancel.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"cancel.js","sourceRoot":"","sources":["../../../../src/functions/Subscriptions/activeSubscription/cancel.ts"],"names":[],"mappings":";;AAYA,wEAoBC;AA/BD,6FAAoE;AAWpE,SAAgB,8BAA8B,CAAC,MAAgC;IAC7E,MAAM,cAAc,GAAG;QACrB,KAAK,EAAE,MAAM,CAAC,KAAK;QACnB,4BAA4B,EAAE,MAAM,CAAC,4BAA4B,IAAI,KAAK;QAC1E,WAAW,EAAE,MAAM,CAAC,WAAW,IAAI,IAAI;QACvC,cAAc,EAAE;YACd,cAAc,EAAE,MAAM,CAAC,cAAc,CAAC,cAAc;YACpD,kBAAkB,EAAE,MAAM,CAAC,cAAc,CAAC,kBAAkB;YAC5D,gBAAgB,EAAE,MAAM,CAAC,cAAc,CAAC,gBAAgB;SACzD;KACF,CAAC;IAEF,OAAO;QACL,eAAe,EAAE;YACf,UAAU,EAAE,yCAAQ,CAAC,aAAa,CAAC,kBAAkB,CAAC,kBAAkB,CAAC,UAAU;YACnF,UAAU,EAAE,MAAM,CAAC,sBAAsB;YACzC,MAAM,EAAE,2BAA2B;YACnC,cAAc;SACf;KACF,CAAC;AACJ,CAAC"}
@@ -1,10 +0,0 @@
1
- import type { Command } from '@fairmint/canton-node-sdk/build/src/clients/ledger-json-api/schemas/api/commands';
2
- export type PartyRole = 'Subscriber' | 'Recipient' | 'Processor';
3
- export interface ActiveSubscriptionChangePartyParams {
4
- subscriptionContractId: string;
5
- partyType: PartyRole;
6
- oldParty: string;
7
- newParty: string;
8
- }
9
- export declare function buildActiveSubscriptionChangePartyCommand(params: ActiveSubscriptionChangePartyParams): Command;
10
- //# sourceMappingURL=changeParty.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"changeParty.d.ts","sourceRoot":"","sources":["../../../../src/functions/Subscriptions/activeSubscription/changeParty.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kFAAkF,CAAC;AAGhH,MAAM,MAAM,SAAS,GAAG,YAAY,GAAG,WAAW,GAAG,WAAW,CAAC;AAEjE,MAAM,WAAW,mCAAmC;IAClD,sBAAsB,EAAE,MAAM,CAAC;IAC/B,SAAS,EAAE,SAAS,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,wBAAgB,yCAAyC,CAAC,MAAM,EAAE,mCAAmC,GAAG,OAAO,CAa9G"}
@@ -1,19 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.buildActiveSubscriptionChangePartyCommand = buildActiveSubscriptionChangePartyCommand;
4
- const open_captable_protocol_daml_js_1 = require("@fairmint/open-captable-protocol-daml-js");
5
- function buildActiveSubscriptionChangePartyCommand(params) {
6
- return {
7
- ExerciseCommand: {
8
- templateId: open_captable_protocol_daml_js_1.Fairmint.Subscriptions.ActiveSubscription.ActiveSubscription.templateId,
9
- contractId: params.subscriptionContractId,
10
- choice: 'ActiveSubscription_ChangeParty',
11
- choiceArgument: {
12
- partyType: params.partyType,
13
- oldParty: params.oldParty,
14
- newParty: params.newParty,
15
- },
16
- },
17
- };
18
- }
19
- //# sourceMappingURL=changeParty.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"changeParty.js","sourceRoot":"","sources":["../../../../src/functions/Subscriptions/activeSubscription/changeParty.ts"],"names":[],"mappings":";;AAYA,8FAaC;AAxBD,6FAAoE;AAWpE,SAAgB,yCAAyC,CAAC,MAA2C;IACnG,OAAO;QACL,eAAe,EAAE;YACf,UAAU,EAAE,yCAAQ,CAAC,aAAa,CAAC,kBAAkB,CAAC,kBAAkB,CAAC,UAAU;YACnF,UAAU,EAAE,MAAM,CAAC,sBAAsB;YACzC,MAAM,EAAE,gCAAgC;YACxC,cAAc,EAAE;gBACd,SAAS,EAAE,MAAM,CAAC,SAAS;gBAC3B,QAAQ,EAAE,MAAM,CAAC,QAAQ;gBACzB,QAAQ,EAAE,MAAM,CAAC,QAAQ;aAC1B;SACF;KACF,CAAC;AACJ,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/functions/Subscriptions/activeSubscription/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,UAAU,CAAC;AACzB,cAAc,kBAAkB,CAAC;AAGjC,OAAO,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AAClE,YAAY,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAEjE,OAAO,EAAE,0BAA0B,EAAE,MAAM,kBAAkB,CAAC;AAC9D,YAAY,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAG7D,OAAO,EAAE,yCAAyC,EAAE,MAAM,eAAe,CAAC;AAC1E,YAAY,EAAE,mCAAmC,EAAE,SAAS,IAAI,2BAA2B,EAAE,MAAM,eAAe,CAAC;AAGnH,OAAO,EAAE,8BAA8B,EAAE,MAAM,UAAU,CAAC;AAC1D,YAAY,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AAGzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAClD,YAAY,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAEjD,OAAO,EAAE,yBAAyB,EAAE,MAAM,iBAAiB,CAAC;AAC5D,YAAY,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAE3D,OAAO,EAAE,+BAA+B,EAAE,MAAM,uBAAuB,CAAC;AACxE,YAAY,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/functions/Subscriptions/activeSubscription/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,gEAA8C;AAC9C,2CAAyB;AACzB,mDAAiC;AAEjC,+GAA+G;AAC/G,uDAAkE;AAAzD,gIAAA,4BAA4B,OAAA;AAGrC,mDAA8D;AAArD,4HAAA,0BAA0B,OAAA;AAGnC,+DAA+D;AAC/D,6CAA0E;AAAjE,wIAAA,yCAAyC,OAAA;AAGlD,0EAA0E;AAC1E,mCAA0D;AAAjD,wHAAA,8BAA8B,OAAA;AAGvC,mCAAmC;AACnC,uCAAkD;AAAzC,gHAAA,oBAAoB,OAAA;AAG7B,iDAA4D;AAAnD,0HAAA,yBAAyB,OAAA;AAGlC,6DAAwE;AAA/D,sIAAA,+BAA+B,OAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"processFreeTrial.d.ts","sourceRoot":"","sources":["../../../../src/functions/Subscriptions/activeSubscription/processFreeTrial.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kFAAkF,CAAC;AAIhH,MAAM,WAAW,sBAAsB;IACrC,sBAAsB,EAAE,MAAM,CAAC;IAC/B,gBAAgB,EAAE,MAAM,CAAC;IACzB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,wBAAgB,4BAA4B,CAAC,MAAM,EAAE,sBAAsB,GAAG,OAAO,CAcpF"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"processFreeTrial.js","sourceRoot":"","sources":["../../../../src/functions/Subscriptions/activeSubscription/processFreeTrial.ts"],"names":[],"mappings":";;AAUA,oEAcC;AAvBD,6FAAoE;AACpE,oEAA+D;AAQ/D,SAAgB,4BAA4B,CAAC,MAA8B;IACzE,MAAM,eAAe,GAAG;QACtB,gBAAgB,EAAE,IAAA,+BAAa,EAAC,MAAM,CAAC,gBAAgB,CAAC;QACxD,gBAAgB,EAAE,MAAM,CAAC,gBAAgB,IAAI,IAAI;KAClD,CAAC;IAEF,OAAO;QACL,eAAe,EAAE;YACf,UAAU,EAAE,yCAAQ,CAAC,aAAa,CAAC,kBAAkB,CAAC,kBAAkB,CAAC,UAAU;YACnF,UAAU,EAAE,MAAM,CAAC,sBAAsB;YACzC,MAAM,EAAE,qCAAqC;YAC7C,cAAc,EAAE,eAAe;SAChC;KACF,CAAC;AACJ,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"processPayment.d.ts","sourceRoot":"","sources":["../../../../src/functions/Subscriptions/activeSubscription/processPayment.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,gBAAgB,CAAC;AAEpE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAE9D,MAAM,WAAW,oBAAoB;IACnC,sBAAsB,EAAE,MAAM,CAAC;IAC/B,gBAAgB,EAAE,MAAM,CAAC;IACzB,cAAc,EAAE,cAAc,CAAC;IAC/B,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC;AAED,wBAAgB,0BAA0B,CAAC,MAAM,EAAE,oBAAoB,GAAG,6BAA6B,CAqBtG"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"processPayment.js","sourceRoot":"","sources":["../../../../src/functions/Subscriptions/activeSubscription/processPayment.ts"],"names":[],"mappings":";;AAaA,gEAqBC;AAjCD,6FAAoE;AAEpE,oEAA+D;AAU/D,SAAgB,0BAA0B,CAAC,MAA4B;IACrE,MAAM,eAAe,GAAG;QACtB,gBAAgB,EAAE,IAAA,+BAAa,EAAC,MAAM,CAAC,gBAAgB,CAAC;QACxD,cAAc,EAAE;YACd,cAAc,EAAE,MAAM,CAAC,cAAc,CAAC,cAAc;YACpD,kBAAkB,EAAE,MAAM,CAAC,cAAc,CAAC,kBAAkB;YAC5D,gBAAgB,EAAE,MAAM,CAAC,cAAc,CAAC,gBAAgB;SACzD;QACD,oBAAoB,EAAE,MAAM,CAAC,oBAAoB,IAAI,KAAK;KAC3D,CAAC;IAEF,MAAM,OAAO,GAAY;QACvB,eAAe,EAAE;YACf,UAAU,EAAE,yCAAQ,CAAC,aAAa,CAAC,kBAAkB,CAAC,kBAAkB,CAAC,UAAU;YACnF,UAAU,EAAE,MAAM,CAAC,sBAAsB;YACzC,MAAM,EAAE,mCAAmC;YAC3C,cAAc,EAAE,eAAe;SAChC;KACF,CAAC;IAEF,OAAO,EAAE,OAAO,EAAE,kBAAkB,EAAE,EAAE,EAAE,CAAC;AAC7C,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"proposeChanges.d.ts","sourceRoot":"","sources":["../../../../src/functions/Subscriptions/activeSubscription/proposeChanges.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kFAAkF,CAAC;AAGhH,OAAO,KAAK,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,MAAM,mDAAmD,CAAC;AAExH,MAAM,WAAW,mBAAmB;IAClC,+BAA+B,CAAC,EAAE,MAAM,CAAC;IACzC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,sBAAsB,CAAC,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC,GAAG,IAAI,CAAC;IACzE,sBAAsB,CAAC,EAAE,uBAAuB,CAAC;IACjD,sBAAsB,CAAC,EAAE,uBAAuB,GAAG,IAAI,CAAC;IACxD,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,aAAa,CAAC,EAAE,qBAAqB,GAAG,IAAI,CAAC;IAC7C,WAAW,CAAC,EAAE,qBAAqB,GAAG,IAAI,CAAC;IAC3C,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,CAAC;IACzC,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;CACtB;AAED,MAAM,WAAW,oBAAoB;IACnC,sBAAsB,EAAE,MAAM,CAAC;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,mBAAmB,EAAE,mBAAmB,CAAC;IACzC,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAuDD,wBAAgB,0BAA0B,CAAC,MAAM,EAAE,oBAAoB,GAAG,OAAO,CAehF"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"proposeChanges.js","sourceRoot":"","sources":["../../../../src/functions/Subscriptions/activeSubscription/proposeChanges.ts"],"names":[],"mappings":";;AA+EA,gEAeC;AA7FD,6FAAoE;AACpE,oEAA+D;AAwB/D,SAAS,wBAAwB,CAAC,MAA+B;IAC/D,MAAM,WAAW,GAAG,OAAO,MAAM,CAAC,MAAM,KAAK,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC;IAEjG,IAAI,MAAM,CAAC,IAAI,KAAK,QAAQ,EAAE,CAAC;QAC7B,OAAO;YACL,GAAG,EAAE,cAAc;YACnB,KAAK,EAAE,WAAW;SACnB,CAAC;IACJ,CAAC;IACD,OAAO;QACL,GAAG,EAAE,WAAW;QAChB,KAAK,EAAE,WAAW;KACnB,CAAC;AACJ,CAAC;AAED,SAAS,sBAAsB,CAAC,IAA2B;IACzD,IAAI,IAAI,CAAC,IAAI,KAAK,SAAS,EAAE,CAAC;QAC5B,OAAO;YACL,GAAG,EAAE,aAAa;YAClB,KAAK,EAAG,IAAI,CAAC,KAAc,C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,EAAE,MAAM,CAAC;IAC/B,cAAc,EAAE,cAAc,CAAC;IAC/B,qBAAqB,EAAE,MAAM,EAAE,CAAC;IAChC,yBAAyB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3C;AAED,wBAAgB,8BAA8B,CAAC,MAAM,EAAE,wBAAwB,GAAG,OAAO,CAmBxF"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"refund.js","sourceRoot":"","sources":["../../../../src/functions/Subscriptions/activeSubscription/refund.ts"],"names":[],"mappings":";;AAWA,wEAmBC;AA7BD,6FAAoE;AAUpE,SAAgB,8BAA8B,CAAC,MAAgC;IAC7E,MAAM,cAAc,GAAG;QACrB,cAAc,EAAE;YACd,cAAc,EAAE,MAAM,CAAC,cAAc,CAAC,cAAc;YACpD,kBAAkB,EAAE,MAAM,CAAC,cAAc,CAAC,kBAAkB;YAC5D,gBAAgB,EAAE,MAAM,CAAC,cAAc,CAAC,gBAAgB;SACzD;QACD,qBAAqB,EAAE,MAAM,CAAC,qBAAqB;QACnD,yBAAyB,EAAE,MAAM,CAAC,yBAAyB,IAAI,IAAI;KACpE,CAAC;IAEF,OAAO;QACL,eAAe,EAAE;YACf,UAAU,EAAE,yCAAQ,CAAC,aAAa,CAAC,kBAAkB,CAAC,kBAAkB,CAAC,UAAU;YACnF,UAAU,EAAE,MAAM,CAAC,sBAAsB;YACzC,MAAM,EAAE,2BAA2B;YACnC,cAAc;SACf;KACF,CAAC;AACJ,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"replaceLockedAmulet.d.ts","sourceRoot":"","sources":["../../../../src/functions/Subscriptions/activeSubscription/replaceLockedAmulet.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,gBAAgB,CAAC;AACpE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAE9D,MAAM,WAAW,yBAAyB;IACxC,sBAAsB,EAAE,MAAM,CAAC;IAC/B,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,cAAc,CAAC;CAChC;AAED,wBAAgB,+BAA+B,CAAC,MAAM,EAAE,yBAAyB,GAAG,6BAA6B,CAqBhH"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"replaceLockedAmulet.js","sourceRoot":"","sources":["../../../../src/functions/Subscriptions/activeSubscription/replaceLockedAmulet.ts"],"names":[],"mappings":";;AAYA,0EAqBC;AAhCD,6FAAoE;AAWpE,SAAgB,+BAA+B,CAAC,MAAiC;IAC/E,MAAM,eAAe,GAAG;QACtB,UAAU,EAAE,MAAM,CAAC,UAAU;QAC7B,YAAY,EAAE,MAAM,CAAC,YAAY;QACjC,cAAc,EAAE;YACd,cAAc,EAAE,MAAM,CAAC,cAAc,CAAC,cAAc;YACpD,kBAAkB,EAAE,MAAM,CAAC,cAAc,CAAC,kBAAkB;YAC5D,gBAAgB,EAAE,MAAM,CAAC,cAAc,CAAC,gBAAgB;SACzD;KACF,CAAC;IAEF,MAAM,OAAO,GAAY;QACvB,eAAe,EAAE;YACf,UAAU,EAAE,yCAAQ,CAAC,aAAa,CAAC,kBAAkB,CAAC,kBAAkB,CAAC,UAAU;YACnF,UAAU,EAAE,MAAM,CAAC,sBAAsB;YACzC,MAAM,EAAE,wCAAwC;YAChD,cAAc,EAAE,eAAe;SAChC;KACF,CAAC;IAEF,OAAO,EAAE,OAAO,EAAE,kBAAkB,EAAE,EAAE,EAAE,CAAC;AAC7C,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"withdrawFunds.d.ts","sourceRoot":"","sources":["../../../../src/functions/Subscriptions/activeSubscription/withdrawFunds.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,gBAAgB,CAAC;AACpE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAE9D,MAAM,WAAW,mBAAmB;IAClC,sBAAsB,EAAE,MAAM,CAAC;IAC/B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,cAAc,EAAE,cAAc,CAAC;CAChC;AAED,wBAAgB,yBAAyB,CAAC,MAAM,EAAE,mBAAmB,GAAG,6BAA6B,CAoBpG"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"withdrawFunds.js","sourceRoot":"","sources":["../../../../src/functions/Subscriptions/activeSubscription/withdrawFunds.ts"],"names":[],"mappings":";;AAWA,8DAoBC;AA9BD,6FAAoE;AAUpE,SAAgB,yBAAyB,CAAC,MAA2B;IACnE,MAAM,eAAe,GAAG;QACtB,kBAAkB,EAAE,MAAM,CAAC,kBAAkB;QAC7C,cAAc,EAAE;YACd,cAAc,EAAE,MAAM,CAAC,cAAc,CAAC,cAAc;YACpD,kBAAkB,EAAE,MAAM,CAAC,cAAc,CAAC,kBAAkB;YAC5D,gBAAgB,EAAE,MAAM,CAAC,cAAc,CAAC,gBAAgB;SACzD;KACF,CAAC;IAEF,MAAM,OAAO,GAAY;QACvB,eAAe,EAAE;YACf,UAAU,EAAE,yCAAQ,CAAC,aAAa,CAAC,kBAAkB,CAAC,kBAAkB,CAAC,UAAU;YACnF,UAAU,EAAE,MAAM,CAAC,sBAAsB;YACzC,MAAM,EAAE,kCAAkC;YAC1C,cAAc,EAAE,eAAe;SAChC;KACF,CAAC;IAEF,OAAO,EAAE,OAAO,EAAE,kBAAkB,EAAE,EAAE,EAAE,CAAC;AAC7C,CAAC"}
@@ -1,16 +0,0 @@
1
- export * from './partyMigrationProposal';
2
- export * from './subscriptionChangeProposal';
3
- export { buildCreateProposedSubscriptionCommand } from './subscriptionFactory';
4
- export type { CreateProposedSubscriptionParams, SubscriptionAmountInput, SubscriptionProposalInput, SubscriptionTimeInput, } from './subscriptionFactory';
5
- export { buildActiveSubscriptionChangePartyCommand, buildAddFundsCommand, buildArchiveInactiveSubscriptionCommand, buildCancelSubscriptionCommand, buildProcessFreeTrialCommand, buildProcessPaymentCommand, buildProposeChangesCommand, buildRefundSubscriptionCommand, buildReplaceLockedAmuletCommand, buildWithdrawFundsCommand, } from './activeSubscription';
6
- export type { ActiveSubscriptionChangePartyParams, AddFundsParams, ArchiveInactiveSubscriptionParams, CancelSubscriptionParams, ProcessFreeTrialParams, ProcessPaymentParams, ProposeChangesParams, RefundSubscriptionParams, ReplaceLockedAmuletParams, SubscriptionChanges, WithdrawFundsParams, } from './activeSubscription';
7
- export { buildPaymentContext, buildPaymentContextWithAmulets, getFactoryContractId, getFactoryDisclosedContracts, getProposedSubscriptionDisclosedContracts, } from './utils';
8
- export type { FactoryContractInfo, Network, PaymentContext, PaymentContextWithAmulets, PaymentContextWithAmuletsAndDisclosed, PaymentContextWithDisclosedContracts, } from './utils';
9
- export { isSubscriptionReadyForProcessing, secondsToMicroseconds } from './types/activeSubscription';
10
- export type { ActiveSubscriptionContract, ActiveSubscriptionPayload, ProcessorContext, SubscriptionAmount, SubscriptionDetails, SubscriptionStats, } from './types/activeSubscription';
11
- export type { LockFundsInput } from './types/lockFundsInput';
12
- export { areAllNonSubscriberPartiesApproved, isProposalPendingProcessorApproval, isProposalPendingRecipientApproval, isProposalPendingSubscriberApproval, } from './types/proposedSubscription';
13
- export type { Approvals, ProposedSubscriptionContract, ProposedSubscriptionPayload, SubscriptionProposal, } from './types/proposedSubscription';
14
- export { buildEditSubscriptionProposalCommand, buildProposedSubscriptionApproveCommand, buildProposedSubscriptionChangePartyCommand, buildProposedSubscriptionStartCommand, buildProposedSubscriptionWithdrawCommand, } from './proposedSubscription';
15
- export type { EditSubscriptionProposalParams, ProposedSubscriptionApproveParams, ProposedSubscriptionChangePartyParams, PartyRole as ProposedSubscriptionPartyRole, ProposedSubscriptionStartParams, ProposedSubscriptionWithdrawParams, SubscriptionProposalChanges, } from './proposedSubscription';
16
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/functions/Subscriptions/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CA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,OAAO,EACL,oCAAoC,EACpC,uCAAuC,EACvC,2CAA2C,EAC3C,qCAAqC,EACrC,wCAAwC,GACzC,MAAM,wBAAwB,CAAC;AAChC,YAAY,EACV,8BAA8B,EAC9B,iCAAiC,EACjC,qCAAqC,EACrC,SAAS,IAAI,6BAA6B,EAC1C,+BAA+B,EAC/B,kCAAkC,EAClC,2BAA2B,GAC5B,MAAM,wBAAwB,CAAC"}
@@ -1,58 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.buildProposedSubscriptionWithdrawCommand = exports.buildProposedSubscriptionStartCommand = exports.buildProposedSubscriptionChangePartyCommand = exports.buildProposedSubscriptionApproveCommand = exports.buildEditSubscriptionProposalCommand = exports.isProposalPendingSubscriberApproval = exports.isProposalPendingRecipientApproval = exports.isProposalPendingProcessorApproval = exports.areAllNonSubscriberPartiesApproved = exports.secondsToMicroseconds = exports.isSubscriptionReadyForProcessing = exports.getProposedSubscriptionDisclosedContracts = exports.getFactoryDisclosedContracts = exports.getFactoryContractId = exports.buildPaymentContextWithAmulets = exports.buildPaymentContext = exports.buildWithdrawFundsCommand = exports.buildReplaceLockedAmuletCommand = exports.buildRefundSubscriptionCommand = exports.buildProposeChangesCommand = exports.buildProcessPaymentCommand = exports.buildProcessFreeTrialCommand = exports.buildCancelSubscriptionCommand = exports.buildArchiveInactiveSubscriptionCommand = exports.buildAddFundsCommand = exports.buildActiveSubscriptionChangePartyCommand = exports.buildCreateProposedSubscriptionCommand = void 0;
18
- __exportStar(require("./partyMigrationProposal"), exports);
19
- __exportStar(require("./subscriptionChangeProposal"), exports);
20
- // Export subscription factory with explicit types to avoid naming conflicts
21
- var subscriptionFactory_1 = require("./subscriptionFactory");
22
- Object.defineProperty(exports, "buildCreateProposedSubscriptionCommand", { enumerable: true, get: function () { return subscriptionFactory_1.buildCreateProposedSubscriptionCommand; } });
23
- // Export activeSubscription explicitly to avoid PaymentContext conflict with utils
24
- var activeSubscription_1 = require("./activeSubscription");
25
- Object.defineProperty(exports, "buildActiveSubscriptionChangePartyCommand", { enumerable: true, get: function () { return activeSubscription_1.buildActiveSubscriptionChangePartyCommand; } });
26
- Object.defineProperty(exports, "buildAddFundsCommand", { enumerable: true, get: function () { return activeSubscription_1.buildAddFundsCommand; } });
27
- Object.defineProperty(exports, "buildArchiveInactiveSubscriptionCommand", { enumerable: true, get: function () { return activeSubscription_1.buildArchiveInactiveSubscriptionCommand; } });
28
- Object.defineProperty(exports, "buildCancelSubscriptionCommand", { enumerable: true, get: function () { return activeSubscription_1.buildCancelSubscriptionCommand; } });
29
- Object.defineProperty(exports, "buildProcessFreeTrialCommand", { enumerable: true, get: function () { return activeSubscription_1.buildProcessFreeTrialCommand; } });
30
- Object.defineProperty(exports, "buildProcessPaymentCommand", { enumerable: true, get: function () { return activeSubscription_1.buildProcessPaymentCommand; } });
31
- Object.defineProperty(exports, "buildProposeChangesCommand", { enumerable: true, get: function () { return activeSubscription_1.buildProposeChangesCommand; } });
32
- Object.defineProperty(exports, "buildRefundSubscriptionCommand", { enumerable: true, get: function () { return activeSubscription_1.buildRefundSubscriptionCommand; } });
33
- Object.defineProperty(exports, "buildReplaceLockedAmuletCommand", { enumerable: true, get: function () { return activeSubscription_1.buildReplaceLockedAmuletCommand; } });
34
- Object.defineProperty(exports, "buildWithdrawFundsCommand", { enumerable: true, get: function () { return activeSubscription_1.buildWithdrawFundsCommand; } });
35
- // Export utils last with explicit types to avoid conflicts
36
- var utils_1 = require("./utils");
37
- Object.defineProperty(exports, "buildPaymentContext", { enumerable: true, get: function () { return utils_1.buildPaymentContext; } });
38
- Object.defineProperty(exports, "buildPaymentContextWithAmulets", { enumerable: true, get: function () { return utils_1.buildPaymentContextWithAmulets; } });
39
- Object.defineProperty(exports, "getFactoryContractId", { enumerable: true, get: function () { return utils_1.getFactoryContractId; } });
40
- Object.defineProperty(exports, "getFactoryDisclosedContracts", { enumerable: true, get: function () { return utils_1.getFactoryDisclosedContracts; } });
41
- Object.defineProperty(exports, "getProposedSubscriptionDisclosedContracts", { enumerable: true, get: function () { return utils_1.getProposedSubscriptionDisclosedContracts; } });
42
- // Export types
43
- var activeSubscription_2 = require("./types/activeSubscription");
44
- Object.defineProperty(exports, "isSubscriptionReadyForProcessing", { enumerable: true, get: function () { return activeSubscription_2.isSubscriptionReadyForProcessing; } });
45
- Object.defineProperty(exports, "secondsToMicroseconds", { enumerable: true, get: function () { return activeSubscription_2.secondsToMicroseconds; } });
46
- var proposedSubscription_1 = require("./types/proposedSubscription");
47
- Object.defineProperty(exports, "areAllNonSubscriberPartiesApproved", { enumerable: true, get: function () { return proposedSubscription_1.areAllNonSubscriberPartiesApproved; } });
48
- Object.defineProperty(exports, "isProposalPendingProcessorApproval", { enumerable: true, get: function () { return proposedSubscription_1.isProposalPendingProcessorApproval; } });
49
- Object.defineProperty(exports, "isProposalPendingRecipientApproval", { enumerable: true, get: function () { return proposedSubscription_1.isProposalPendingRecipientApproval; } });
50
- Object.defineProperty(exports, "isProposalPendingSubscriberApproval", { enumerable: true, get: function () { return proposedSubscription_1.isProposalPendingSubscriberApproval; } });
51
- // Re-export proposedSubscription with explicit exports to avoid PartyRole conflict
52
- var proposedSubscription_2 = require("./proposedSubscription");
53
- Object.defineProperty(exports, "buildEditSubscriptionProposalCommand", { enumerable: true, get: function () { return proposedSubscription_2.buildEditSubscriptionProposalCommand; } });
54
- Object.defineProperty(exports, "buildProposedSubscriptionApproveCommand", { enumerable: true, get: function () { return proposedSubscription_2.buildProposedSubscriptionApproveCommand; } });
55
- Object.defineProperty(exports, "buildProposedSubscriptionChangePartyCommand", { enumerable: true, get: function () { return proposedSubscription_2.buildProposedSubscriptionChangePartyCommand; } });
56
- Object.defineProperty(exports, "buildProposedSubscriptionStartCommand", { enumerable: true, get: function () { return proposedSubscription_2.buildProposedSubscriptionStartCommand; } });
57
- Object.defineProperty(exports, "buildProposedSubscriptionWithdrawCommand", { enumerable: true, get: function () { return proposedSubscription_2.buildProposedSubscriptionWithdrawCommand; } });
58
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/functions/Subscriptions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,2DAAyC;AACzC,+DAA6C;AAC7C,4EAA4E;AAC5E,6DAA+E;AAAtE,6IAAA,sCAAsC,OAAA;AAQ/C,mFAAmF;AACnF,2DAW8B;AAV5B,+IAAA,yCAAyC,OAAA;AACzC,0HAAA,oBAAoB,OAAA;AACpB,6IAAA,uCAAuC,OAAA;AACvC,oIAAA,8BAA8B,OAAA;AAC9B,kIAAA,4BAA4B,OAAA;AAC5B,gIAAA,0BAA0B,OAAA;AAC1B,gIAAA,0BAA0B,OAAA;AAC1B,oIAAA,8BAA8B,OAAA;AAC9B,qIAAA,+BAA+B,OAAA;AAC/B,+HAAA,yBAAyB,OAAA;AAgB3B,2DAA2D;AAC3D,iCAMiB;AALf,4GAAA,mBAAmB,OAAA;AACnB,uHAAA,8BAA8B,OAAA;AAC9B,6GAAA,oBAAoB,OAAA;AACpB,qHAAA,4BAA4B,OAAA;AAC5B,kIAAA,yCAAyC,OAAA;AAW3C,eAAe;AACf,iEAAqG;AAA5F,sIAAA,gCAAgC,OAAA;AAAE,2HAAA,qBAAqB,OAAA;AAUhE,qEAKsC;AAJpC,0IAAA,kCAAkC,OAAA;AAClC,0IAAA,kCAAkC,OAAA;AAClC,0IAAA,kCAAkC,OAAA;AAClC,2IAAA,mCAAmC,OAAA;AASrC,mFAAmF;AACnF,+DAMgC;AAL9B,4IAAA,oCAAoC,OAAA;AACpC,+IAAA,uCAAuC,OAAA;AACvC,mJAAA,2CAA2C,OAAA;AAC3C,6IAAA,qCAAqC,OAAA;AACrC,gJAAA,wCAAwC,OAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"approve.d.ts","sourceRoot":"","sources":["../../../../src/functions/Subscriptions/partyMigrationProposal/approve.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kFAAkF,CAAC;AAGhH,MAAM,WAAW,mCAAmC;IAClD,2BAA2B,EAAE,MAAM,CAAC;IACpC,KAAK,EAAE,MAAM,CAAC;CACf;AAED,wBAAgB,yCAAyC,CAAC,MAAM,EAAE,mCAAmC,GAAG,OAAO,CAW9G"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"approve.js","sourceRoot":"","sources":["../../../../src/functions/Subscriptions/partyMigrationProposal/approve.ts"],"names":[],"mappings":";;AAQA,8FAWC;AAlBD,6FAAoE;AAOpE,SAAgB,yCAAyC,CAAC,MAA2C;IACnG,OAAO;QACL,eAAe,EAAE;YACf,UAAU,EAAE,yCAAQ,CAAC,aAAa,CAAC,sBAAsB,CAAC,sBAAsB,CAAC,UAAU;YAC3F,UAAU,EAAE,MAAM,CAAC,2BAA2B;YAC9C,MAAM,EAAE,gCAAgC;YACxC,cAAc,EAAE;gBACd,KAAK,EAAE,MAAM,CAAC,KAAK;aACpB;SACF;KACF,CAAC;AACJ,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"archive.d.ts","sourceRoot":"","sources":["../../../../src/functions/Subscriptions/partyMigrationProposal/archive.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kFAAkF,CAAC;AAGhH,MAAM,WAAW,mCAAmC;IAClD,2BAA2B,EAAE,MAAM,CAAC;IACpC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,wBAAgB,yCAAyC,CAAC,MAAM,EAAE,mCAAmC,GAAG,OAAO,CAkB9G"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"archive.js","sourceRoot":"","sources":["../../../../src/functions/Subscriptions/partyMigrationProposal/archive.ts"],"names":[],"mappings":";;AASA,8FAkBC;AA1BD,6FAAoE;AAQpE,SAAgB,yCAAyC,CAAC,MAA2C;IACnG,MAAM,cAAc,GAAG;QACrB,KAAK,EAAE,MAAM,CAAC,KAAK;QACnB,WAAW,EAAE,MAAM,CAAC,WAAW,IAAI,IAAI;KACxC,CAAC;IAEF,IAAI,MAAM,CAAC,WAAW,EAAE,CAAC;QACvB,cAAc,CAAC,WAAW,GAAG,MAAM,CAAC,WAAW,CAAC;IAClD,CAAC;IAED,OAAO;QACL,eAAe,EAAE;YACf,UAAU,EAAE,yCAAQ,CAAC,aAAa,CAAC,sBAAsB,CAAC,sBAAsB,CAAC,UAAU;YAC3F,UAAU,EAAE,MAAM,CAAC,2BAA2B;YAC9C,MAAM,EAAE,gCAAgC;YACxC,cAAc;SACf;KACF,CAAC;AACJ,CAAC"}
@@ -1,5 +0,0 @@
1
- export * from './approve';
2
- export * from './archive';
3
- export * from './migrateActiveSubscription';
4
- export * from './migrateProposedSubscription';
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/functions/Subscriptions/partyMigrationProposal/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,+BAA+B,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/functions/Subscriptions/partyMigrationProposal/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,4CAA0B;AAC1B,8DAA4C;AAC5C,gEAA8C"}
@@ -1,8 +0,0 @@
1
- import type { Command } from '@fairmint/canton-node-sdk/build/src/clients/ledger-json-api/schemas/api/commands';
2
- export interface MigrateActiveSubscriptionParams {
3
- migrationProposalContractId: string;
4
- actor: string;
5
- activeSubscriptionCid: string;
6
- }
7
- export declare function buildMigrateActiveSubscriptionCommand(params: MigrateActiveSubscriptionParams): Command;
8
- //# sourceMappingURL=migrateActiveSubscription.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"migrateActiveSubscription.d.ts","sourceRoot":"","sources":["../../../../src/functions/Subscriptions/partyMigrationProposal/migrateActiveSubscription.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kFAAkF,CAAC;AAGhH,MAAM,WAAW,+BAA+B;IAC9C,2BAA2B,EAAE,MAAM,CAAC;IACpC,KAAK,EAAE,MAAM,CAAC;IACd,qBAAqB,EAAE,MAAM,CAAC;CAC/B;AAED,wBAAgB,qCAAqC,CAAC,MAAM,EAAE,+BAA+B,GAAG,OAAO,CAYtG"}
@@ -1,18 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.buildMigrateActiveSubscriptionCommand = buildMigrateActiveSubscriptionCommand;
4
- const open_captable_protocol_daml_js_1 = require("@fairmint/open-captable-protocol-daml-js");
5
- function buildMigrateActiveSubscriptionCommand(params) {
6
- return {
7
- ExerciseCommand: {
8
- templateId: open_captable_protocol_daml_js_1.Fairmint.Subscriptions.PartyMigrationProposal.PartyMigrationProposal.templateId,
9
- contractId: params.migrationProposalContractId,
10
- choice: 'PartyMigrationProposal_MigrateActiveSubscription',
11
- choiceArgument: {
12
- actor: params.actor,
13
- activeSubscriptionCid: params.activeSubscriptionCid,
14
- },
15
- },
16
- };
17
- }
18
- //# sourceMappingURL=migrateActiveSubscription.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"migrateActiveSubscription.js","sourceRoot":"","sources":["../../../../src/functions/Subscriptions/partyMigrationProposal/migrateActiveSubscription.ts"],"names":[],"mappings":";;AASA,sFAYC;AApBD,6FAAoE;AAQpE,SAAgB,qCAAqC,CAAC,MAAuC;IAC3F,OAAO;QACL,eAAe,EAAE;YACf,UAAU,EAAE,yCAAQ,CAAC,aAAa,CAAC,sBAAsB,CAAC,sBAAsB,CAAC,UAAU;YAC3F,UAAU,EAAE,MAAM,CAAC,2BAA2B;YAC9C,MAAM,EAAE,kDAAkD;YAC1D,cAAc,EAAE;gBACd,KAAK,EAAE,MAAM,CAAC,KAAK;gBACnB,qBAAqB,EAAE,MAAM,CAAC,qBAAqB;aACpD;SACF;KACF,CAAC;AACJ,CAAC"}
@@ -1,8 +0,0 @@
1
- import type { Command } from '@fairmint/canton-node-sdk/build/src/clients/ledger-json-api/schemas/api/commands';
2
- export interface MigrateProposedSubscriptionParams {
3
- migrationProposalContractId: string;
4
- actor: string;
5
- proposedSubscriptionCid: string;
6
- }
7
- export declare function buildMigrateProposedSubscriptionCommand(params: MigrateProposedSubscriptionParams): Command;
8
- //# sourceMappingURL=migrateProposedSubscription.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"migrateProposedSubscription.d.ts","sourceRoot":"","sources":["../../../../src/functions/Subscriptions/partyMigrationProposal/migrateProposedSubscription.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kFAAkF,CAAC;AAGhH,MAAM,WAAW,iCAAiC;IAChD,2BAA2B,EAAE,MAAM,CAAC;IACpC,KAAK,EAAE,MAAM,CAAC;IACd,uBAAuB,EAAE,MAAM,CAAC;CACjC;AAED,wBAAgB,uCAAuC,CAAC,MAAM,EAAE,iCAAiC,GAAG,OAAO,CAY1G"}
@@ -1,18 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.buildMigrateProposedSubscriptionCommand = buildMigrateProposedSubscriptionCommand;
4
- const open_captable_protocol_daml_js_1 = require("@fairmint/open-captable-protocol-daml-js");
5
- function buildMigrateProposedSubscriptionCommand(params) {
6
- return {
7
- ExerciseCommand: {
8
- templateId: open_captable_protocol_daml_js_1.Fairmint.Subscriptions.PartyMigrationProposal.PartyMigrationProposal.templateId,
9
- contractId: params.migrationProposalContractId,
10
- choice: 'PartyMigrationProposal_MigrateProposedSubscription',
11
- choiceArgument: {
12
- actor: params.actor,
13
- proposedSubscriptionCid: params.proposedSubscriptionCid,
14
- },
15
- },
16
- };
17
- }
18
- //# sourceMappingURL=migrateProposedSubscription.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"migrateProposedSubscription.js","sourceRoot":"","sources":["../../../../src/functions/Subscriptions/partyMigrationProposal/migrateProposedSubscription.ts"],"names":[],"mappings":";;AASA,0FAYC;AApBD,6FAAoE;AAQpE,SAAgB,uCAAuC,CAAC,MAAyC;IAC/F,OAAO;QACL,eAAe,EAAE;YACf,UAAU,EAAE,yCAAQ,CAAC,aAAa,CAAC,sBAAsB,CAAC,sBAAsB,CAAC,UAAU;YAC3F,UAAU,EAAE,MAAM,CAAC,2BAA2B;YAC9C,MAAM,EAAE,oDAAoD;YAC5D,cAAc,EAAE;gBACd,KAAK,EAAE,MAAM,CAAC,KAAK;gBACnB,uBAAuB,EAAE,MAAM,CAAC,uBAAuB;aACxD;SACF;KACF,CAAC;AACJ,CAAC"}
@@ -1,7 +0,0 @@
1
- import type { CommandWithDisclosedContracts } from '../../../types';
2
- export interface ProposedSubscriptionApproveParams {
3
- proposedSubscriptionContractId: string;
4
- actor: string;
5
- }
6
- export declare function buildProposedSubscriptionApproveCommand(params: ProposedSubscriptionApproveParams): CommandWithDisclosedContracts;
7
- //# sourceMappingURL=approve.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"approve.d.ts","sourceRoot":"","sources":["../../../../src/functions/Subscriptions/proposedSubscription/approve.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,gBAAgB,CAAC;AAEpE,MAAM,WAAW,iCAAiC;IAChD,8BAA8B,EAAE,MAAM,CAAC;IACvC,KAAK,EAAE,MAAM,CAAC;CACf;AAED,wBAAgB,uCAAuC,CACrD,MAAM,EAAE,iCAAiC,GACxC,6BAA6B,CAe/B"}
@@ -1,19 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.buildProposedSubscriptionApproveCommand = buildProposedSubscriptionApproveCommand;
4
- const open_captable_protocol_daml_js_1 = require("@fairmint/open-captable-protocol-daml-js");
5
- function buildProposedSubscriptionApproveCommand(params) {
6
- const choiceArgument = {
7
- actor: params.actor,
8
- };
9
- const command = {
10
- ExerciseCommand: {
11
- templateId: open_captable_protocol_daml_js_1.Fairmint.Subscriptions.ProposedSubscription.ProposedSubscription.templateId,
12
- contractId: params.proposedSubscriptionContractId,
13
- choice: 'ProposedSubscription_Approve',
14
- choiceArgument,
15
- },
16
- };
17
- return { command, disclosedContracts: [] };
18
- }
19
- //# sourceMappingURL=approve.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"approve.js","sourceRoot":"","sources":["../../../../src/functions/Subscriptions/proposedSubscription/approve.ts"],"names":[],"mappings":";;AASA,0FAiBC;AAzBD,6FAAoE;AAQpE,SAAgB,uCAAuC,CACrD,MAAyC;IAEzC,MAAM,cAAc,GAAG;QACrB,KAAK,EAAE,MAAM,CAAC,KAAK;KACpB,CAAC;IAEF,MAAM,OAAO,GAAY;QACvB,eAAe,EAAE;YACf,UAAU,EAAE,yCAAQ,CAAC,aAAa,CAAC,oBAAoB,CAAC,oBAAoB,CAAC,UAAU;YACvF,UAAU,EAAE,MAAM,CAAC,8BAA8B;YACjD,MAAM,EAAE,8BAA8B;YACtC,cAAc;SACf;KACF,CAAC;IAEF,OAAO,EAAE,OAAO,EAAE,kBAAkB,EAAE,EAAE,EAAE,CAAC;AAC7C,CAAC"}
@@ -1,10 +0,0 @@
1
- import type { Command } from '@fairmint/canton-node-sdk/build/src/clients/ledger-json-api/schemas/api/commands';
2
- export type PartyRole = 'Subscriber' | 'Recipient' | 'Processor';
3
- export interface ProposedSubscriptionChangePartyParams {
4
- proposedSubscriptionContractId: string;
5
- partyType: PartyRole;
6
- oldParty: string;
7
- newParty: string;
8
- }
9
- export declare function buildProposedSubscriptionChangePartyCommand(params: ProposedSubscriptionChangePartyParams): Command;
10
- //# sourceMappingURL=changeParty.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"changeParty.d.ts","sourceRoot":"","sources":["../../../../src/functions/Subscriptions/proposedSubscription/changeParty.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kFAAkF,CAAC;AAGhH,MAAM,MAAM,SAAS,GAAG,YAAY,GAAG,WAAW,GAAG,WAAW,CAAC;AAEjE,MAAM,WAAW,qCAAqC;IACpD,8BAA8B,EAAE,MAAM,CAAC;IACvC,SAAS,EAAE,SAAS,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,wBAAgB,2CAA2C,CAAC,MAAM,EAAE,qCAAqC,GAAG,OAAO,CAalH"}
@@ -1,19 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.buildProposedSubscriptionChangePartyCommand = buildProposedSubscriptionChangePartyCommand;
4
- const open_captable_protocol_daml_js_1 = require("@fairmint/open-captable-protocol-daml-js");
5
- function buildProposedSubscriptionChangePartyCommand(params) {
6
- return {
7
- ExerciseCommand: {
8
- templateId: open_captable_protocol_daml_js_1.Fairmint.Subscriptions.ProposedSubscription.ProposedSubscription.templateId,
9
- contractId: params.proposedSubscriptionContractId,
10
- choice: 'ProposedSubscription_ChangeParty',
11
- choiceArgument: {
12
- partyType: params.partyType,
13
- oldParty: params.oldParty,
14
- newParty: params.newParty,
15
- },
16
- },
17
- };
18
- }
19
- //# sourceMappingURL=changeParty.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"changeParty.js","sourceRoot":"","sources":["../../../../src/functions/Subscriptions/proposedSubscription/changeParty.ts"],"names":[],"mappings":";;AAYA,kGAaC;AAxBD,6FAAoE;AAWpE,SAAgB,2CAA2C,CAAC,MAA6C;IACvG,OAAO;QACL,eAAe,EAAE;YACf,UAAU,EAAE,yCAAQ,CAAC,aAAa,CAAC,oBAAoB,CAAC,oBAAoB,CAAC,UAAU;YACvF,UAAU,EAAE,MAAM,CAAC,8BAA8B;YACjD,MAAM,EAAE,kCAAkC;YAC1C,cAAc,EAAE;gBACd,SAAS,EAAE,MAAM,CAAC,SAAS;gBAC3B,QAAQ,EAAE,MAAM,CAAC,QAAQ;gBACzB,QAAQ,EAAE,MAAM,CAAC,QAAQ;aAC1B;SACF;KACF,CAAC;AACJ,CAAC"}
@@ -1,27 +0,0 @@
1
- import type { Command } from '@fairmint/canton-node-sdk/build/src/clients/ledger-json-api/schemas/api/commands';
2
- import type { SubscriptionAmountInput, SubscriptionTimeInput } from '../subscriptionFactory/createSubscriptionProposal';
3
- export interface SubscriptionProposalChanges {
4
- subscriber?: string;
5
- recipient?: string;
6
- recipientProvider?: string;
7
- recipientBeneficiaries?: Array<{
8
- party: string;
9
- weight: string;
10
- }> | null;
11
- recipientPaymentPerDay?: SubscriptionAmountInput;
12
- processorPaymentPerDay?: SubscriptionAmountInput | null;
13
- paymentsEndAt?: SubscriptionTimeInput | null;
14
- prepayWindow?: string | null;
15
- freeTrialExpiration?: SubscriptionTimeInput | null;
16
- description?: string | null;
17
- metadata?: Record<string, string> | null;
18
- observers?: string[];
19
- }
20
- export interface EditSubscriptionProposalParams {
21
- proposedSubscriptionContractId: string;
22
- actor: string;
23
- changes: SubscriptionProposalChanges;
24
- description?: string;
25
- }
26
- export declare function buildEditSubscriptionProposalCommand(params: EditSubscriptionProposalParams): Command;
27
- //# sourceMappingURL=editSubscriptionProposal.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"editSubscriptionProposal.d.ts","sourceRoot":"","sources":["../../../../src/functions/Subscriptions/proposedSubscription/editSubscriptionProposal.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kFAAkF,CAAC;AAGhH,OAAO,KAAK,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,MAAM,mDAAmD,CAAC;AAExH,MAAM,WAAW,2BAA2B;IAC1C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,sBAAsB,CAAC,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC,GAAG,IAAI,CAAC;IACzE,sBAAsB,CAAC,EAAE,uBAAuB,CAAC;IACjD,sBAAsB,CAAC,EAAE,uBAAuB,GAAG,IAAI,CAAC;IACxD,aAAa,CAAC,EAAE,qBAAqB,GAAG,IAAI,CAAC;IAC7C,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,mBAAmB,CAAC,EAAE,qBAAqB,GAAG,IAAI,CAAC;IACnD,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,CAAC;IACzC,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;CACtB;AAED,MAAM,WAAW,8BAA8B;IAC7C,8BAA8B,EAAE,MAAM,CAAC;IACvC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,2BAA2B,CAAC;IACrC,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAwDD,wBAAgB,oCAAoC,CAAC,MAAM,EAAE,8BAA8B,GAAG,OAAO,CAepG"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"editSubscriptionProposal.js","sourceRoot":"","sources":["../../../../src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G,OAAO,CAAC,SAAS,CAAC;IAE1E,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,SAAgB,oCAAoC,CAAC,MAAsC;IACzF,MAAM,cAAc,GAAG;QACrB,KAAK,EAAE,MAAM,CAAC,KAAK;QACnB,OAAO,EAAE,aAAa,CAAC,MAAM,CAAC,OAAO,CAAC;QACtC,WAAW,EAAE,MAAM,CAAC,WAAW,IAAI,IAAI;KACxC,CAAC;IAEF,OAAO;QACL,eAAe,EAAE;YACf,UAAU,EAAE,yCAAQ,CAAC,aAAa,CAAC,oBAAoB,CAAC,oBAAoB,CAAC,UAAU;YACvF,UAAU,EAAE,MAAM,CAAC,8BAA8B;YACjD,MAAM,EAAE,+CAA+C;YACvD,cAAc;SACf;KACF,CAAC;AACJ,CAAC"}
@@ -1,6 +0,0 @@
1
- export * from './approve';
2
- export * from './changeParty';
3
- export * from './editSubscriptionProposal';
4
- export * from './startSubscription';
5
- export * from './withdraw';
6
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/functions/Subscriptions/proposedSubscription/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,qBAAqB,CAAC;AACpC,cAAc,YAAY,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/functions/Subscriptions/proposedSubscription/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,gDAA8B;AAC9B,6DAA2C;AAC3C,sDAAoC;AACpC,6CAA2B"}
@@ -1,8 +0,0 @@
1
- import type { CommandWithDisclosedContracts } from '../../../types';
2
- import type { LockFundsInput } from '../types/lockFundsInput';
3
- export interface ProposedSubscriptionStartParams {
4
- proposedSubscriptionContractId: string;
5
- lockFundsInput: LockFundsInput;
6
- }
7
- export declare function buildProposedSubscriptionStartCommand(params: ProposedSubscriptionStartParams): CommandWithDisclosedContracts;
8
- //# sourceMappingURL=startSubscription.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"startSubscription.d.ts","sourceRoot":"","sources":["../../../../src/functions/Subscriptions/proposedSubscription/startSubscription.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,gBAAgB,CAAC;AACpE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAE9D,MAAM,WAAW,+BAA+B;IAC9C,8BAA8B,EAAE,MAAM,CAAC;IACvC,cAAc,EAAE,cAAc,CAAC;CAChC;AAED,wBAAgB,qCAAqC,CACnD,MAAM,EAAE,+BAA+B,GACtC,6BAA6B,CAuB/B"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"startSubscription.js","sourceRoot":"","sources":["../../../../src/functions/Subscriptions/proposedSubscription/startSubscription.ts"],"names":[],"mappings":";;AAUA,sFAyBC;AAlCD,6FAAoE;AASpE,SAAgB,qCAAqC,CACnD,MAAuC;IAEvC,MAAM,cAAc,GAAG;QACrB,cAAc,EAAE;YACd,YAAY,EAAE,MAAM,CAAC,cAAc,CAAC,YAAY;YAChD,YAAY,EAAE,MAAM,CAAC,cAAc,CAAC,YAAY;YAChD,cAAc,EAAE;gBACd,cAAc,EAAE,MAAM,CAAC,cAAc,CAAC,cAAc,CAAC,cAAc;gBACnE,kBAAkB,EAAE,MAAM,CAAC,cAAc,CAAC,cAAc,CAAC,kBAAkB;gBAC3E,gBAAgB,EAAE,MAAM,CAAC,cAAc,CAAC,cAAc,CAAC,gBAAgB;aACxE;SACF;KACF,CAAC;IAEF,MAAM,OAAO,GAAY;QACvB,eAAe,EAAE;YACf,UAAU,EAAE,yCAAQ,CAAC,aAAa,CAAC,oBAAoB,CAAC,oBAAoB,CAAC,UAAU;YACvF,UAAU,EAAE,MAAM,CAAC,8BAA8B;YACjD,MAAM,EAAE,wCAAwC;YAChD,cAAc;SACf;KACF,CAAC;IAEF,OAAO,EAAE,OAAO,EAAE,kBAAkB,EAAE,EAAE,EAAE,CAAC;AAC7C,CAAC"}
@@ -1,8 +0,0 @@
1
- import type { Command } from '@fairmint/canton-node-sdk/build/src/clients/ledger-json-api/schemas/api/commands';
2
- export interface ProposedSubscriptionWithdrawParams {
3
- proposedSubscriptionContractId: string;
4
- actor: string;
5
- description?: string;
6
- }
7
- export declare function buildProposedSubscriptionWithdrawCommand(params: ProposedSubscriptionWithdrawParams): Command;
8
- //# sourceMappingURL=withdraw.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"withdraw.d.ts","sourceRoot":"","sources":["../../../../src/functions/Subscriptions/proposedSubscription/withdraw.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kFAAkF,CAAC;AAGhH,MAAM,WAAW,kCAAkC;IACjD,8BAA8B,EAAE,MAAM,CAAC;IACvC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,wBAAgB,wCAAwC,CAAC,MAAM,EAAE,kCAAkC,GAAG,OAAO,CAc5G"}
@@ -1,19 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.buildProposedSubscriptionWithdrawCommand = buildProposedSubscriptionWithdrawCommand;
4
- const open_captable_protocol_daml_js_1 = require("@fairmint/open-captable-protocol-daml-js");
5
- function buildProposedSubscriptionWithdrawCommand(params) {
6
- const choiceArgument = {
7
- actor: params.actor,
8
- description: params.description ?? null,
9
- };
10
- return {
11
- ExerciseCommand: {
12
- templateId: open_captable_protocol_daml_js_1.Fairmint.Subscriptions.ProposedSubscription.ProposedSubscription.templateId,
13
- contractId: params.proposedSubscriptionContractId,
14
- choice: 'ProposedSubscription_Withdraw',
15
- choiceArgument,
16
- },
17
- };
18
- }
19
- //# sourceMappingURL=withdraw.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"withdraw.js","sourceRoot":"","sources":["../../../../src/functions/Subscriptions/proposedSubscription/withdraw.ts"],"names":[],"mappings":";;AASA,4FAcC;AAtBD,6FAAoE;AAQpE,SAAgB,wCAAwC,CAAC,MAA0C;IACjG,MAAM,cAAc,GAAG;QACrB,KAAK,EAAE,MAAM,CAAC,KAAK;QACnB,WAAW,EAAE,MAAM,CAAC,WAAW,IAAI,IAAI;KACxC,CAAC;IAEF,OAAO;QACL,eAAe,EAAE;YACf,UAAU,EAAE,yCAAQ,CAAC,aAAa,CAAC,oBAAoB,CAAC,oBAAoB,CAAC,UAAU;YACvF,UAAU,EAAE,MAAM,CAAC,8BAA8B;YACjD,MAAM,EAAE,+BAA+B;YACvC,cAAc;SACf;KACF,CAAC;AACJ,CAAC"}
@@ -1,8 +0,0 @@
1
- import type { Command } from '@fairmint/canton-node-sdk/build/src/clients/ledger-json-api/schemas/api/commands';
2
- export interface SubscriptionChangeProposalApplyParams {
3
- changeProposalContractId: string;
4
- actor: string;
5
- activeSubscriptionCid: string;
6
- }
7
- export declare function buildSubscriptionChangeProposalApplyCommand(params: SubscriptionChangeProposalApplyParams): Command;
8
- //# sourceMappingURL=apply.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"apply.d.ts","sourceRoot":"","sources":["../../../../src/functions/Subscriptions/subscriptionChangeProposal/apply.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kFAAkF,CAAC;AAGhH,MAAM,WAAW,qCAAqC;IACpD,wBAAwB,EAAE,MAAM,CAAC;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,qBAAqB,EAAE,MAAM,CAAC;CAC/B;AAED,wBAAgB,2CAA2C,CAAC,MAAM,EAAE,qCAAqC,GAAG,OAAO,CAYlH"}