@fairmint/open-captable-protocol-daml-js 0.3.7 → 0.3.8

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 (269) hide show
  1. package/lib/DA/Internal/Template/module.d.ts +6 -4
  2. package/lib/DA/Internal/Template/module.js +7 -7
  3. package/lib/DA/Set/Types/index.js +0 -1
  4. package/lib/DA/Set/Types/module.d.ts +7 -6
  5. package/lib/DA/Set/Types/module.js +11 -15
  6. package/lib/DA/Set/index.d.ts +1 -2
  7. package/lib/DA/Set/index.js +0 -2
  8. package/lib/DA/Time/Types/index.js +0 -1
  9. package/lib/DA/Time/Types/module.d.ts +7 -5
  10. package/lib/DA/Time/Types/module.js +8 -10
  11. package/lib/DA/Time/index.d.ts +1 -2
  12. package/lib/DA/Time/index.js +0 -2
  13. package/lib/DA/Types/index.js +0 -1
  14. package/lib/DA/Types/module.d.ts +344 -305
  15. package/lib/DA/Types/module.js +431 -689
  16. package/lib/Fairmint/OpenCapTable/CapTable/index.js +0 -1
  17. package/lib/Fairmint/OpenCapTable/CapTable/module.d.ts +358 -336
  18. package/lib/Fairmint/OpenCapTable/CapTable/module.js +406 -1286
  19. package/lib/Fairmint/OpenCapTable/IssuerAuthorization/index.js +0 -1
  20. package/lib/Fairmint/OpenCapTable/IssuerAuthorization/module.d.ts +25 -21
  21. package/lib/Fairmint/OpenCapTable/IssuerAuthorization/module.js +59 -71
  22. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleAcceptance/index.js +0 -1
  23. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleAcceptance/module.d.ts +22 -17
  24. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleAcceptance/module.js +40 -49
  25. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleCancellation/index.js +0 -1
  26. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleCancellation/module.d.ts +25 -20
  27. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleCancellation/module.js +43 -55
  28. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleConversion/index.js +0 -1
  29. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleConversion/module.d.ts +28 -23
  30. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleConversion/module.js +46 -61
  31. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleIssuance/index.js +0 -1
  32. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleIssuance/module.d.ts +50 -42
  33. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleIssuance/module.js +68 -97
  34. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleRetraction/index.js +0 -1
  35. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleRetraction/module.d.ts +23 -18
  36. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleRetraction/module.js +41 -51
  37. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleTransfer/index.js +0 -1
  38. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleTransfer/module.d.ts +26 -21
  39. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleTransfer/module.js +44 -57
  40. package/lib/Fairmint/OpenCapTable/OCF/Document/index.js +0 -1
  41. package/lib/Fairmint/OpenCapTable/OCF/Document/module.d.ts +51 -39
  42. package/lib/Fairmint/OpenCapTable/OCF/Document/module.js +64 -134
  43. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationAcceptance/index.js +0 -1
  44. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationAcceptance/module.d.ts +22 -17
  45. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationAcceptance/module.js +40 -49
  46. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationCancellation/index.js +0 -1
  47. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationCancellation/module.d.ts +25 -20
  48. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationCancellation/module.js +43 -55
  49. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationExercise/index.js +0 -1
  50. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationExercise/module.d.ts +25 -20
  51. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationExercise/module.js +43 -55
  52. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationIssuance/index.js +0 -1
  53. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationIssuance/module.d.ts +39 -34
  54. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationIssuance/module.js +57 -83
  55. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRelease/index.js +0 -1
  56. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRelease/module.d.ts +27 -22
  57. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRelease/module.js +45 -59
  58. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRepricing/index.js +0 -1
  59. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRepricing/module.d.ts +23 -18
  60. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRepricing/module.js +41 -51
  61. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRetraction/index.js +0 -1
  62. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRetraction/module.d.ts +23 -18
  63. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRetraction/module.js +41 -51
  64. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationTransfer/index.js +0 -1
  65. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationTransfer/module.d.ts +26 -21
  66. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationTransfer/module.js +44 -57
  67. package/lib/Fairmint/OpenCapTable/OCF/Issuer/index.js +0 -1
  68. package/lib/Fairmint/OpenCapTable/OCF/Issuer/module.d.ts +31 -26
  69. package/lib/Fairmint/OpenCapTable/OCF/Issuer/module.js +49 -67
  70. package/lib/Fairmint/OpenCapTable/OCF/IssuerAuthorizedSharesAdjustment/index.js +0 -1
  71. package/lib/Fairmint/OpenCapTable/OCF/IssuerAuthorizedSharesAdjustment/module.d.ts +25 -20
  72. package/lib/Fairmint/OpenCapTable/OCF/IssuerAuthorizedSharesAdjustment/module.js +43 -55
  73. package/lib/Fairmint/OpenCapTable/OCF/Stakeholder/index.js +0 -1
  74. package/lib/Fairmint/OpenCapTable/OCF/Stakeholder/module.d.ts +76 -54
  75. package/lib/Fairmint/OpenCapTable/OCF/Stakeholder/module.js +95 -132
  76. package/lib/Fairmint/OpenCapTable/OCF/StakeholderRelationshipChangeEvent/index.js +0 -1
  77. package/lib/Fairmint/OpenCapTable/OCF/StakeholderRelationshipChangeEvent/module.d.ts +24 -19
  78. package/lib/Fairmint/OpenCapTable/OCF/StakeholderRelationshipChangeEvent/module.js +42 -53
  79. package/lib/Fairmint/OpenCapTable/OCF/StakeholderStatusChangeEvent/index.js +0 -1
  80. package/lib/Fairmint/OpenCapTable/OCF/StakeholderStatusChangeEvent/module.d.ts +23 -18
  81. package/lib/Fairmint/OpenCapTable/OCF/StakeholderStatusChangeEvent/module.js +41 -51
  82. package/lib/Fairmint/OpenCapTable/OCF/StockAcceptance/index.js +0 -1
  83. package/lib/Fairmint/OpenCapTable/OCF/StockAcceptance/module.d.ts +22 -17
  84. package/lib/Fairmint/OpenCapTable/OCF/StockAcceptance/module.js +40 -49
  85. package/lib/Fairmint/OpenCapTable/OCF/StockCancellation/index.js +0 -1
  86. package/lib/Fairmint/OpenCapTable/OCF/StockCancellation/module.d.ts +25 -20
  87. package/lib/Fairmint/OpenCapTable/OCF/StockCancellation/module.js +43 -55
  88. package/lib/Fairmint/OpenCapTable/OCF/StockClass/index.js +0 -1
  89. package/lib/Fairmint/OpenCapTable/OCF/StockClass/module.d.ts +33 -28
  90. package/lib/Fairmint/OpenCapTable/OCF/StockClass/module.js +51 -71
  91. package/lib/Fairmint/OpenCapTable/OCF/StockClassAuthorizedSharesAdjustment/index.js +0 -1
  92. package/lib/Fairmint/OpenCapTable/OCF/StockClassAuthorizedSharesAdjustment/module.d.ts +25 -20
  93. package/lib/Fairmint/OpenCapTable/OCF/StockClassAuthorizedSharesAdjustment/module.js +43 -55
  94. package/lib/Fairmint/OpenCapTable/OCF/StockClassConversionRatioAdjustment/index.js +0 -1
  95. package/lib/Fairmint/OpenCapTable/OCF/StockClassConversionRatioAdjustment/module.d.ts +23 -18
  96. package/lib/Fairmint/OpenCapTable/OCF/StockClassConversionRatioAdjustment/module.js +41 -51
  97. package/lib/Fairmint/OpenCapTable/OCF/StockClassSplit/index.js +0 -1
  98. package/lib/Fairmint/OpenCapTable/OCF/StockClassSplit/module.d.ts +23 -18
  99. package/lib/Fairmint/OpenCapTable/OCF/StockClassSplit/module.js +41 -51
  100. package/lib/Fairmint/OpenCapTable/OCF/StockConsolidation/index.js +0 -1
  101. package/lib/Fairmint/OpenCapTable/OCF/StockConsolidation/module.d.ts +24 -19
  102. package/lib/Fairmint/OpenCapTable/OCF/StockConsolidation/module.js +42 -53
  103. package/lib/Fairmint/OpenCapTable/OCF/StockConversion/index.js +0 -1
  104. package/lib/Fairmint/OpenCapTable/OCF/StockConversion/module.d.ts +25 -20
  105. package/lib/Fairmint/OpenCapTable/OCF/StockConversion/module.js +43 -55
  106. package/lib/Fairmint/OpenCapTable/OCF/StockIssuance/index.js +0 -1
  107. package/lib/Fairmint/OpenCapTable/OCF/StockIssuance/module.d.ts +44 -35
  108. package/lib/Fairmint/OpenCapTable/OCF/StockIssuance/module.js +60 -88
  109. package/lib/Fairmint/OpenCapTable/OCF/StockLegendTemplate/index.js +0 -1
  110. package/lib/Fairmint/OpenCapTable/OCF/StockLegendTemplate/module.d.ts +22 -17
  111. package/lib/Fairmint/OpenCapTable/OCF/StockLegendTemplate/module.js +40 -49
  112. package/lib/Fairmint/OpenCapTable/OCF/StockPlan/index.js +0 -1
  113. package/lib/Fairmint/OpenCapTable/OCF/StockPlan/module.d.ts +32 -23
  114. package/lib/Fairmint/OpenCapTable/OCF/StockPlan/module.js +48 -66
  115. package/lib/Fairmint/OpenCapTable/OCF/StockPlanPoolAdjustment/index.js +0 -1
  116. package/lib/Fairmint/OpenCapTable/OCF/StockPlanPoolAdjustment/module.d.ts +25 -20
  117. package/lib/Fairmint/OpenCapTable/OCF/StockPlanPoolAdjustment/module.js +43 -55
  118. package/lib/Fairmint/OpenCapTable/OCF/StockPlanReturnToPool/index.js +0 -1
  119. package/lib/Fairmint/OpenCapTable/OCF/StockPlanReturnToPool/module.d.ts +25 -20
  120. package/lib/Fairmint/OpenCapTable/OCF/StockPlanReturnToPool/module.js +43 -55
  121. package/lib/Fairmint/OpenCapTable/OCF/StockReissuance/index.js +0 -1
  122. package/lib/Fairmint/OpenCapTable/OCF/StockReissuance/module.d.ts +25 -20
  123. package/lib/Fairmint/OpenCapTable/OCF/StockReissuance/module.js +43 -55
  124. package/lib/Fairmint/OpenCapTable/OCF/StockRepurchase/index.js +0 -1
  125. package/lib/Fairmint/OpenCapTable/OCF/StockRepurchase/module.d.ts +26 -21
  126. package/lib/Fairmint/OpenCapTable/OCF/StockRepurchase/module.js +44 -57
  127. package/lib/Fairmint/OpenCapTable/OCF/StockRetraction/index.js +0 -1
  128. package/lib/Fairmint/OpenCapTable/OCF/StockRetraction/module.d.ts +23 -18
  129. package/lib/Fairmint/OpenCapTable/OCF/StockRetraction/module.js +41 -51
  130. package/lib/Fairmint/OpenCapTable/OCF/StockTransfer/index.js +0 -1
  131. package/lib/Fairmint/OpenCapTable/OCF/StockTransfer/module.d.ts +26 -21
  132. package/lib/Fairmint/OpenCapTable/OCF/StockTransfer/module.js +44 -57
  133. package/lib/Fairmint/OpenCapTable/OCF/Valuation/index.js +0 -1
  134. package/lib/Fairmint/OpenCapTable/OCF/Valuation/module.d.ts +33 -24
  135. package/lib/Fairmint/OpenCapTable/OCF/Valuation/module.js +49 -65
  136. package/lib/Fairmint/OpenCapTable/OCF/VestingAcceleration/index.js +0 -1
  137. package/lib/Fairmint/OpenCapTable/OCF/VestingAcceleration/module.d.ts +24 -19
  138. package/lib/Fairmint/OpenCapTable/OCF/VestingAcceleration/module.js +42 -53
  139. package/lib/Fairmint/OpenCapTable/OCF/VestingEvent/index.js +0 -1
  140. package/lib/Fairmint/OpenCapTable/OCF/VestingEvent/module.d.ts +23 -18
  141. package/lib/Fairmint/OpenCapTable/OCF/VestingEvent/module.js +41 -51
  142. package/lib/Fairmint/OpenCapTable/OCF/VestingStart/index.js +0 -1
  143. package/lib/Fairmint/OpenCapTable/OCF/VestingStart/module.d.ts +23 -18
  144. package/lib/Fairmint/OpenCapTable/OCF/VestingStart/module.js +41 -51
  145. package/lib/Fairmint/OpenCapTable/OCF/VestingTerms/index.js +0 -1
  146. package/lib/Fairmint/OpenCapTable/OCF/VestingTerms/module.d.ts +119 -86
  147. package/lib/Fairmint/OpenCapTable/OCF/VestingTerms/module.js +157 -252
  148. package/lib/Fairmint/OpenCapTable/OCF/WarrantAcceptance/index.js +0 -1
  149. package/lib/Fairmint/OpenCapTable/OCF/WarrantAcceptance/module.d.ts +22 -17
  150. package/lib/Fairmint/OpenCapTable/OCF/WarrantAcceptance/module.js +40 -49
  151. package/lib/Fairmint/OpenCapTable/OCF/WarrantCancellation/index.js +0 -1
  152. package/lib/Fairmint/OpenCapTable/OCF/WarrantCancellation/module.d.ts +25 -20
  153. package/lib/Fairmint/OpenCapTable/OCF/WarrantCancellation/module.js +43 -55
  154. package/lib/Fairmint/OpenCapTable/OCF/WarrantExercise/index.js +0 -1
  155. package/lib/Fairmint/OpenCapTable/OCF/WarrantExercise/module.d.ts +26 -21
  156. package/lib/Fairmint/OpenCapTable/OCF/WarrantExercise/module.js +44 -57
  157. package/lib/Fairmint/OpenCapTable/OCF/WarrantIssuance/index.js +0 -1
  158. package/lib/Fairmint/OpenCapTable/OCF/WarrantIssuance/module.d.ts +36 -31
  159. package/lib/Fairmint/OpenCapTable/OCF/WarrantIssuance/module.js +54 -77
  160. package/lib/Fairmint/OpenCapTable/OCF/WarrantRetraction/index.js +0 -1
  161. package/lib/Fairmint/OpenCapTable/OCF/WarrantRetraction/module.d.ts +23 -18
  162. package/lib/Fairmint/OpenCapTable/OCF/WarrantRetraction/module.js +41 -51
  163. package/lib/Fairmint/OpenCapTable/OCF/WarrantTransfer/index.js +0 -1
  164. package/lib/Fairmint/OpenCapTable/OCF/WarrantTransfer/module.d.ts +26 -21
  165. package/lib/Fairmint/OpenCapTable/OCF/WarrantTransfer/module.js +44 -57
  166. package/lib/Fairmint/OpenCapTable/OCF/index.d.ts +48 -49
  167. package/lib/Fairmint/OpenCapTable/OCF/index.js +47 -49
  168. package/lib/Fairmint/OpenCapTable/OcpFactory/index.js +0 -1
  169. package/lib/Fairmint/OpenCapTable/OcpFactory/module.d.ts +18 -15
  170. package/lib/Fairmint/OpenCapTable/OcpFactory/module.js +41 -50
  171. package/lib/Fairmint/OpenCapTable/Types/Contact/index.js +0 -1
  172. package/lib/Fairmint/OpenCapTable/Types/Contact/module.d.ts +27 -14
  173. package/lib/Fairmint/OpenCapTable/Types/Contact/module.js +26 -40
  174. package/lib/Fairmint/OpenCapTable/Types/Conversion/index.js +0 -1
  175. package/lib/Fairmint/OpenCapTable/Types/Conversion/module.d.ts +361 -252
  176. package/lib/Fairmint/OpenCapTable/Types/Conversion/module.js +396 -602
  177. package/lib/Fairmint/OpenCapTable/Types/Core/index.js +0 -1
  178. package/lib/Fairmint/OpenCapTable/Types/Core/module.d.ts +18 -13
  179. package/lib/Fairmint/OpenCapTable/Types/Core/module.js +20 -25
  180. package/lib/Fairmint/OpenCapTable/Types/Monetary/index.js +0 -1
  181. package/lib/Fairmint/OpenCapTable/Types/Monetary/module.d.ts +35 -23
  182. package/lib/Fairmint/OpenCapTable/Types/Monetary/module.js +37 -52
  183. package/lib/Fairmint/OpenCapTable/Types/Stakeholder/index.js +0 -1
  184. package/lib/Fairmint/OpenCapTable/Types/Stakeholder/module.d.ts +7 -4
  185. package/lib/Fairmint/OpenCapTable/Types/Stakeholder/module.js +4 -19
  186. package/lib/Fairmint/OpenCapTable/Types/Stock/index.js +0 -1
  187. package/lib/Fairmint/OpenCapTable/Types/Stock/module.d.ts +90 -56
  188. package/lib/Fairmint/OpenCapTable/Types/Stock/module.js +86 -132
  189. package/lib/Fairmint/OpenCapTable/Types/Vesting/index.js +0 -1
  190. package/lib/Fairmint/OpenCapTable/Types/Vesting/module.d.ts +57 -37
  191. package/lib/Fairmint/OpenCapTable/Types/Vesting/module.js +56 -90
  192. package/lib/Fairmint/OpenCapTable/Types/index.d.ts +7 -8
  193. package/lib/Fairmint/OpenCapTable/Types/index.js +6 -8
  194. package/lib/Fairmint/OpenCapTable/index.d.ts +5 -6
  195. package/lib/Fairmint/OpenCapTable/index.js +4 -6
  196. package/lib/Splice/Amulet/TokenApiUtils/index.js +0 -1
  197. package/lib/Splice/Amulet/TokenApiUtils/module.d.ts +7 -4
  198. package/lib/Splice/Amulet/TokenApiUtils/module.js +4 -12
  199. package/lib/Splice/Amulet/TwoStepTransfer/index.js +0 -1
  200. package/lib/Splice/Amulet/TwoStepTransfer/module.d.ts +15 -13
  201. package/lib/Splice/Amulet/TwoStepTransfer/module.js +16 -26
  202. package/lib/Splice/Amulet/index.d.ts +2 -4
  203. package/lib/Splice/Amulet/index.js +1 -4
  204. package/lib/Splice/Amulet/module.d.ts +487 -370
  205. package/lib/Splice/Amulet/module.js +817 -996
  206. package/lib/Splice/AmuletAllocation/index.js +0 -1
  207. package/lib/Splice/AmuletAllocation/module.d.ts +11 -9
  208. package/lib/Splice/AmuletAllocation/module.js +26 -31
  209. package/lib/Splice/AmuletConfig/index.js +0 -1
  210. package/lib/Splice/AmuletConfig/module.d.ts +56 -42
  211. package/lib/Splice/AmuletConfig/module.js +62 -93
  212. package/lib/Splice/AmuletRules/index.js +0 -1
  213. package/lib/Splice/AmuletRules/module.d.ts +875 -682
  214. package/lib/Splice/AmuletRules/module.js +1274 -1689
  215. package/lib/Splice/AmuletTransferInstruction/index.js +0 -1
  216. package/lib/Splice/AmuletTransferInstruction/module.d.ts +11 -9
  217. package/lib/Splice/AmuletTransferInstruction/module.js +26 -31
  218. package/lib/Splice/Api/FeaturedAppRightV1/module.d.ts +50 -40
  219. package/lib/Splice/Api/FeaturedAppRightV1/module.js +61 -84
  220. package/lib/Splice/Api/FeaturedAppRightV2/index.js +0 -1
  221. package/lib/Splice/Api/FeaturedAppRightV2/module.d.ts +51 -41
  222. package/lib/Splice/Api/FeaturedAppRightV2/module.js +62 -86
  223. package/lib/Splice/Api/Token/AllocationInstructionV1/index.js +0 -1
  224. package/lib/Splice/Api/Token/AllocationInstructionV1/module.d.ts +99 -82
  225. package/lib/Splice/Api/Token/AllocationInstructionV1/module.js +142 -202
  226. package/lib/Splice/Api/Token/AllocationV1/index.js +0 -1
  227. package/lib/Splice/Api/Token/AllocationV1/module.d.ts +109 -84
  228. package/lib/Splice/Api/Token/AllocationV1/module.js +139 -185
  229. package/lib/Splice/Api/Token/HoldingV1/index.js +0 -1
  230. package/lib/Splice/Api/Token/HoldingV1/module.d.ts +34 -27
  231. package/lib/Splice/Api/Token/HoldingV1/module.js +39 -55
  232. package/lib/Splice/Api/Token/MetadataV1/index.js +0 -1
  233. package/lib/Splice/Api/Token/MetadataV1/module.d.ts +60 -44
  234. package/lib/Splice/Api/Token/MetadataV1/module.js +70 -123
  235. package/lib/Splice/Api/Token/TransferInstructionV1/index.js +0 -1
  236. package/lib/Splice/Api/Token/TransferInstructionV1/module.d.ts +137 -112
  237. package/lib/Splice/Api/Token/TransferInstructionV1/module.js +195 -278
  238. package/lib/Splice/DecentralizedSynchronizer/index.js +0 -1
  239. package/lib/Splice/DecentralizedSynchronizer/module.d.ts +58 -44
  240. package/lib/Splice/DecentralizedSynchronizer/module.js +79 -103
  241. package/lib/Splice/Expiry/index.js +0 -1
  242. package/lib/Splice/Expiry/module.d.ts +18 -14
  243. package/lib/Splice/Expiry/module.js +23 -37
  244. package/lib/Splice/ExternalPartyAmuletRules/index.js +0 -1
  245. package/lib/Splice/ExternalPartyAmuletRules/module.d.ts +147 -116
  246. package/lib/Splice/ExternalPartyAmuletRules/module.js +242 -307
  247. package/lib/Splice/Fees/index.js +0 -1
  248. package/lib/Splice/Fees/module.d.ts +40 -26
  249. package/lib/Splice/Fees/module.js +48 -57
  250. package/lib/Splice/Issuance/index.js +0 -1
  251. package/lib/Splice/Issuance/module.d.ts +50 -39
  252. package/lib/Splice/Issuance/module.js +56 -82
  253. package/lib/Splice/RelRound/index.js +0 -1
  254. package/lib/Splice/RelRound/module.d.ts +7 -5
  255. package/lib/Splice/RelRound/module.js +8 -10
  256. package/lib/Splice/Round/index.js +0 -1
  257. package/lib/Splice/Round/module.d.ts +78 -66
  258. package/lib/Splice/Round/module.js +142 -186
  259. package/lib/Splice/Schedule/index.js +0 -1
  260. package/lib/Splice/Schedule/module.d.ts +8 -7
  261. package/lib/Splice/Schedule/module.js +12 -17
  262. package/lib/Splice/Types/index.js +0 -1
  263. package/lib/Splice/Types/module.d.ts +31 -20
  264. package/lib/Splice/Types/module.js +37 -44
  265. package/lib/Splice/ValidatorLicense/index.js +0 -1
  266. package/lib/Splice/ValidatorLicense/module.d.ts +195 -145
  267. package/lib/Splice/ValidatorLicense/module.js +310 -388
  268. package/package.json +7 -7
  269. package/published-dars/OpenCapTable.dar +0 -0
@@ -5,7 +5,6 @@ function __export(m) {
5
5
  for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
6
6
  }
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
-
9
8
  /* eslint-disable-next-line no-unused-vars */
10
9
  var jtv = require('@mojotech/json-type-validation');
11
10
  /* eslint-disable-next-line no-unused-vars */
@@ -15,69 +14,118 @@ var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = requir
15
14
 
16
15
  var Fairmint_OpenCapTable_Types_Core = require('../../../../Fairmint/OpenCapTable/Types/Core/module');
17
16
 
18
- exports.OcfAllocationType = {
19
- OcfAllocationCumulativeRounding: 'OcfAllocationCumulativeRounding',
20
- OcfAllocationCumulativeRoundDown: 'OcfAllocationCumulativeRoundDown',
21
- OcfAllocationFrontLoaded: 'OcfAllocationFrontLoaded',
22
- OcfAllocationBackLoaded: 'OcfAllocationBackLoaded',
23
- OcfAllocationFrontLoadedToSingleTranche: 'OcfAllocationFrontLoadedToSingleTranche',
24
- OcfAllocationBackLoadedToSingleTranche: 'OcfAllocationBackLoadedToSingleTranche',
25
- OcfAllocationFractional: 'OcfAllocationFractional',
26
- keys: ['OcfAllocationCumulativeRounding', 'OcfAllocationCumulativeRoundDown', 'OcfAllocationFrontLoaded', 'OcfAllocationBackLoaded', 'OcfAllocationFrontLoadedToSingleTranche', 'OcfAllocationBackLoadedToSingleTranche', 'OcfAllocationFractional'],
27
- decoder: damlTypes.lazyMemo(function () {
28
- return jtv.oneOf(
29
- jtv.constant(exports.OcfAllocationType.OcfAllocationCumulativeRounding),
30
- jtv.constant(exports.OcfAllocationType.OcfAllocationCumulativeRoundDown),
31
- jtv.constant(exports.OcfAllocationType.OcfAllocationFrontLoaded),
32
- jtv.constant(exports.OcfAllocationType.OcfAllocationBackLoaded),
33
- jtv.constant(exports.OcfAllocationType.OcfAllocationFrontLoadedToSingleTranche),
34
- jtv.constant(exports.OcfAllocationType.OcfAllocationBackLoadedToSingleTranche),
35
- jtv.constant(exports.OcfAllocationType.OcfAllocationFractional),
36
- );
37
- }),
38
- encode: function (__typed__) { return __typed__; },
39
- };
40
17
 
41
18
  exports.OcfVestingCondition = {
42
- decoder: damlTypes.lazyMemo(function () {
43
- return jtv.object({
44
- id: damlTypes.Text.decoder,
45
- trigger: exports.OcfVestingTrigger.decoder,
46
- next_condition_ids: damlTypes.List(damlTypes.Text).decoder,
47
- description: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder),
48
- portion: jtv.Decoder.withDefault(null, damlTypes.Optional(exports.OcfVestingConditionPortion).decoder),
49
- quantity: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Numeric(10)).decoder),
50
- });
51
- }),
19
+ decoder: damlTypes.lazyMemo(function () { return jtv.object({id: damlTypes.Text.decoder, trigger: exports.OcfVestingTrigger.decoder, next_condition_ids: damlTypes.List(damlTypes.Text).decoder, description: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), portion: jtv.Decoder.withDefault(null, damlTypes.Optional(exports.OcfVestingConditionPortion).decoder), quantity: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Numeric(10)).decoder), }); }),
52
20
  encode: function (__typed__) {
53
- return {
54
- id: damlTypes.Text.encode(__typed__.id),
55
- trigger: exports.OcfVestingTrigger.encode(__typed__.trigger),
56
- next_condition_ids: damlTypes.List(damlTypes.Text).encode(__typed__.next_condition_ids),
57
- description: damlTypes.Optional(damlTypes.Text).encode(__typed__.description),
58
- portion: damlTypes.Optional(exports.OcfVestingConditionPortion).encode(__typed__.portion),
59
- quantity: damlTypes.Optional(damlTypes.Numeric(10)).encode(__typed__.quantity),
60
- };
61
- },
21
+ return {
22
+ id: damlTypes.Text.encode(__typed__.id),
23
+ trigger: exports.OcfVestingTrigger.encode(__typed__.trigger),
24
+ next_condition_ids: damlTypes.List(damlTypes.Text).encode(__typed__.next_condition_ids),
25
+ description: damlTypes.Optional(damlTypes.Text).encode(__typed__.description),
26
+ portion: damlTypes.Optional(exports.OcfVestingConditionPortion).encode(__typed__.portion),
27
+ quantity: damlTypes.Optional(damlTypes.Numeric(10)).encode(__typed__.quantity),
28
+ };
29
+ }
30
+ ,
62
31
  };
63
32
 
33
+
34
+
64
35
  exports.OcfVestingConditionPortion = {
65
- decoder: damlTypes.lazyMemo(function () {
66
- return jtv.object({
67
- numerator: damlTypes.Numeric(10).decoder,
68
- denominator: damlTypes.Numeric(10).decoder,
69
- remainder: damlTypes.Bool.decoder,
70
- });
36
+ decoder: damlTypes.lazyMemo(function () { return jtv.object({numerator: damlTypes.Numeric(10).decoder, denominator: damlTypes.Numeric(10).decoder, remainder: damlTypes.Bool.decoder, }); }),
37
+ encode: function (__typed__) {
38
+ return {
39
+ numerator: damlTypes.Numeric(10).encode(__typed__.numerator),
40
+ denominator: damlTypes.Numeric(10).encode(__typed__.denominator),
41
+ remainder: damlTypes.Bool.encode(__typed__.remainder),
42
+ };
43
+ }
44
+ ,
45
+ };
46
+
47
+
48
+
49
+ exports.OcfVestingTrigger = {
50
+ decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.object({tag: jtv.constant('OcfVestingStartTrigger'), value: damlTypes.Unit.decoder, }), jtv.object({tag: jtv.constant('OcfVestingScheduleAbsoluteTrigger'), value: exports.OcfVestingTrigger.OcfVestingScheduleAbsoluteTrigger.decoder, }), jtv.object({tag: jtv.constant('OcfVestingScheduleRelativeTrigger'), value: exports.OcfVestingTrigger.OcfVestingScheduleRelativeTrigger.decoder, }), jtv.object({tag: jtv.constant('OcfVestingEventTrigger'), value: damlTypes.Unit.decoder, })); }),
51
+ encode: function (__typed__) {
52
+ switch(__typed__.tag) {
53
+ case 'OcfVestingStartTrigger': return {tag: __typed__.tag, value: damlTypes.Unit.encode(__typed__.value)};
54
+ case 'OcfVestingScheduleAbsoluteTrigger': return {tag: __typed__.tag, value: exports.OcfVestingTrigger.OcfVestingScheduleAbsoluteTrigger.encode(__typed__.value)};
55
+ case 'OcfVestingScheduleRelativeTrigger': return {tag: __typed__.tag, value: exports.OcfVestingTrigger.OcfVestingScheduleRelativeTrigger.encode(__typed__.value)};
56
+ case 'OcfVestingEventTrigger': return {tag: __typed__.tag, value: damlTypes.Unit.encode(__typed__.value)};
57
+ default: throw 'unrecognized type tag: ' + __typed__.tag + ' while serializing a value of type OcfVestingTrigger';
58
+ }
59
+ }
60
+ ,
61
+ OcfVestingScheduleAbsoluteTrigger:({
62
+ decoder: damlTypes.lazyMemo(function () { return jtv.object({date: damlTypes.Time.decoder, }); }),
63
+ encode: function (__typed__) {
64
+ return {
65
+ date: damlTypes.Time.encode(__typed__.date),
66
+ };
67
+ }
68
+ ,
69
+ }),
70
+ OcfVestingScheduleRelativeTrigger:({
71
+ decoder: damlTypes.lazyMemo(function () { return jtv.object({period: exports.OcfVestingPeriod.decoder, relative_to_condition_id: damlTypes.Text.decoder, }); }),
72
+ encode: function (__typed__) {
73
+ return {
74
+ period: exports.OcfVestingPeriod.encode(__typed__.period),
75
+ relative_to_condition_id: damlTypes.Text.encode(__typed__.relative_to_condition_id),
76
+ };
77
+ }
78
+ ,
71
79
  }),
80
+ };
81
+
82
+
83
+
84
+
85
+
86
+
87
+
88
+ exports.OcfVestingPeriod = {
89
+ decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.object({tag: jtv.constant('OcfVestingPeriodDays'), value: exports.OcfVestingPeriod.OcfVestingPeriodDays.decoder, }), jtv.object({tag: jtv.constant('OcfVestingPeriodMonths'), value: exports.OcfVestingPeriod.OcfVestingPeriodMonths.decoder, })); }),
72
90
  encode: function (__typed__) {
73
- return {
74
- numerator: damlTypes.Numeric(10).encode(__typed__.numerator),
75
- denominator: damlTypes.Numeric(10).encode(__typed__.denominator),
76
- remainder: damlTypes.Bool.encode(__typed__.remainder),
77
- };
78
- },
91
+ switch(__typed__.tag) {
92
+ case 'OcfVestingPeriodDays': return {tag: __typed__.tag, value: exports.OcfVestingPeriod.OcfVestingPeriodDays.encode(__typed__.value)};
93
+ case 'OcfVestingPeriodMonths': return {tag: __typed__.tag, value: exports.OcfVestingPeriod.OcfVestingPeriodMonths.encode(__typed__.value)};
94
+ default: throw 'unrecognized type tag: ' + __typed__.tag + ' while serializing a value of type OcfVestingPeriod';
95
+ }
96
+ }
97
+ ,
98
+ OcfVestingPeriodDays:({
99
+ decoder: damlTypes.lazyMemo(function () { return jtv.object({length_: damlTypes.Int.decoder, occurrences: damlTypes.Int.decoder, cliff_installment: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Int).decoder), }); }),
100
+ encode: function (__typed__) {
101
+ return {
102
+ length_: damlTypes.Int.encode(__typed__.length_),
103
+ occurrences: damlTypes.Int.encode(__typed__.occurrences),
104
+ cliff_installment: damlTypes.Optional(damlTypes.Int).encode(__typed__.cliff_installment),
105
+ };
106
+ }
107
+ ,
108
+ }),
109
+ OcfVestingPeriodMonths:({
110
+ decoder: damlTypes.lazyMemo(function () { return jtv.object({length_: damlTypes.Int.decoder, occurrences: damlTypes.Int.decoder, day_of_month: exports.OcfVestingDayOfMonth.decoder, cliff_installment: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Int).decoder), }); }),
111
+ encode: function (__typed__) {
112
+ return {
113
+ length_: damlTypes.Int.encode(__typed__.length_),
114
+ occurrences: damlTypes.Int.encode(__typed__.occurrences),
115
+ day_of_month: exports.OcfVestingDayOfMonth.encode(__typed__.day_of_month),
116
+ cliff_installment: damlTypes.Optional(damlTypes.Int).encode(__typed__.cliff_installment),
117
+ };
118
+ }
119
+ ,
120
+ }),
79
121
  };
80
122
 
123
+
124
+
125
+
126
+
127
+
128
+
81
129
  exports.OcfVestingDayOfMonth = {
82
130
  OcfVestingDay01: 'OcfVestingDay01',
83
131
  OcfVestingDay02: 'OcfVestingDay02',
@@ -111,214 +159,71 @@ exports.OcfVestingDayOfMonth = {
111
159
  OcfVestingDay30OrLast: 'OcfVestingDay30OrLast',
112
160
  OcfVestingDay31OrLast: 'OcfVestingDay31OrLast',
113
161
  OcfVestingStartDayOrLast: 'OcfVestingStartDayOrLast',
114
- keys: ['OcfVestingDay01', 'OcfVestingDay02', 'OcfVestingDay03', 'OcfVestingDay04', 'OcfVestingDay05', 'OcfVestingDay06', 'OcfVestingDay07', 'OcfVestingDay08', 'OcfVestingDay09', 'OcfVestingDay10', 'OcfVestingDay11', 'OcfVestingDay12', 'OcfVestingDay13', 'OcfVestingDay14', 'OcfVestingDay15', 'OcfVestingDay16', 'OcfVestingDay17', 'OcfVestingDay18', 'OcfVestingDay19', 'OcfVestingDay20', 'OcfVestingDay21', 'OcfVestingDay22', 'OcfVestingDay23', 'OcfVestingDay24', 'OcfVestingDay25', 'OcfVestingDay26', 'OcfVestingDay27', 'OcfVestingDay28', 'OcfVestingDay29OrLast', 'OcfVestingDay30OrLast', 'OcfVestingDay31OrLast', 'OcfVestingStartDayOrLast'],
115
- decoder: damlTypes.lazyMemo(function () {
116
- return jtv.oneOf(
117
- jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay01),
118
- jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay02),
119
- jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay03),
120
- jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay04),
121
- jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay05),
122
- jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay06),
123
- jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay07),
124
- jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay08),
125
- jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay09),
126
- jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay10),
127
- jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay11),
128
- jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay12),
129
- jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay13),
130
- jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay14),
131
- jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay15),
132
- jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay16),
133
- jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay17),
134
- jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay18),
135
- jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay19),
136
- jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay20),
137
- jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay21),
138
- jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay22),
139
- jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay23),
140
- jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay24),
141
- jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay25),
142
- jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay26),
143
- jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay27),
144
- jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay28),
145
- jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay29OrLast),
146
- jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay30OrLast),
147
- jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay31OrLast),
148
- jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingStartDayOrLast),
149
- );
150
- }),
162
+ keys: ['OcfVestingDay01','OcfVestingDay02','OcfVestingDay03','OcfVestingDay04','OcfVestingDay05','OcfVestingDay06','OcfVestingDay07','OcfVestingDay08','OcfVestingDay09','OcfVestingDay10','OcfVestingDay11','OcfVestingDay12','OcfVestingDay13','OcfVestingDay14','OcfVestingDay15','OcfVestingDay16','OcfVestingDay17','OcfVestingDay18','OcfVestingDay19','OcfVestingDay20','OcfVestingDay21','OcfVestingDay22','OcfVestingDay23','OcfVestingDay24','OcfVestingDay25','OcfVestingDay26','OcfVestingDay27','OcfVestingDay28','OcfVestingDay29OrLast','OcfVestingDay30OrLast','OcfVestingDay31OrLast','OcfVestingStartDayOrLast',],
163
+ decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay01), jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay02), jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay03), jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay04), jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay05), jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay06), jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay07), jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay08), jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay09), jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay10), jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay11), jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay12), jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay13), jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay14), jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay15), jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay16), jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay17), jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay18), jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay19), jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay20), jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay21), jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay22), jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay23), jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay24), jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay25), jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay26), jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay27), jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay28), jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay29OrLast), jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay30OrLast), jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay31OrLast), jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingStartDayOrLast)); }),
151
164
  encode: function (__typed__) { return __typed__; },
152
165
  };
153
166
 
154
- exports.OcfVestingPeriod = {
155
- decoder: damlTypes.lazyMemo(function () {
156
- return jtv.oneOf(
157
- jtv.object({
158
- tag: jtv.constant("OcfVestingPeriodDays"),
159
- value: exports.OcfVestingPeriod.OcfVestingPeriodDays.decoder,
160
- }),
161
- jtv.object({
162
- tag: jtv.constant("OcfVestingPeriodMonths"),
163
- value: exports.OcfVestingPeriod.OcfVestingPeriodMonths.decoder,
164
- }),
165
- );
166
- }),
167
- encode: function (__typed__) {
168
- switch(__typed__.tag) {
169
- case 'OcfVestingPeriodDays': return {tag: __typed__.tag, value: exports.OcfVestingPeriod.OcfVestingPeriodDays.encode(__typed__.value)};
170
- case 'OcfVestingPeriodMonths': return {tag: __typed__.tag, value: exports.OcfVestingPeriod.OcfVestingPeriodMonths.encode(__typed__.value)};
171
- default: throw 'unrecognized type tag: ' + __typed__.tag + ' while serializing a value of type OcfVestingPeriod';
172
- }
173
- },
174
- OcfVestingPeriodDays: {
175
- decoder: damlTypes.lazyMemo(function () {
176
- return jtv.object({
177
- length_: damlTypes.Int.decoder,
178
- occurrences: damlTypes.Int.decoder,
179
- cliff_installment: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Int).decoder),
180
- });
181
- }),
182
- encode: function (__typed__) {
183
- return {
184
- length_: damlTypes.Int.encode(__typed__.length_),
185
- occurrences: damlTypes.Int.encode(__typed__.occurrences),
186
- cliff_installment: damlTypes.Optional(damlTypes.Int).encode(__typed__.cliff_installment),
187
- };
188
- },
189
- },
190
- OcfVestingPeriodMonths: {
191
- decoder: damlTypes.lazyMemo(function () {
192
- return jtv.object({
193
- length_: damlTypes.Int.decoder,
194
- occurrences: damlTypes.Int.decoder,
195
- day_of_month: exports.OcfVestingDayOfMonth.decoder,
196
- cliff_installment: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Int).decoder),
197
- });
198
- }),
199
- encode: function (__typed__) {
200
- return {
201
- length_: damlTypes.Int.encode(__typed__.length_),
202
- occurrences: damlTypes.Int.encode(__typed__.occurrences),
203
- day_of_month: exports.OcfVestingDayOfMonth.encode(__typed__.day_of_month),
204
- cliff_installment: damlTypes.Optional(damlTypes.Int).encode(__typed__.cliff_installment),
205
- };
206
- },
207
- },
167
+
168
+
169
+ exports.OcfAllocationType = {
170
+ OcfAllocationCumulativeRounding: 'OcfAllocationCumulativeRounding',
171
+ OcfAllocationCumulativeRoundDown: 'OcfAllocationCumulativeRoundDown',
172
+ OcfAllocationFrontLoaded: 'OcfAllocationFrontLoaded',
173
+ OcfAllocationBackLoaded: 'OcfAllocationBackLoaded',
174
+ OcfAllocationFrontLoadedToSingleTranche: 'OcfAllocationFrontLoadedToSingleTranche',
175
+ OcfAllocationBackLoadedToSingleTranche: 'OcfAllocationBackLoadedToSingleTranche',
176
+ OcfAllocationFractional: 'OcfAllocationFractional',
177
+ keys: ['OcfAllocationCumulativeRounding','OcfAllocationCumulativeRoundDown','OcfAllocationFrontLoaded','OcfAllocationBackLoaded','OcfAllocationFrontLoadedToSingleTranche','OcfAllocationBackLoadedToSingleTranche','OcfAllocationFractional',],
178
+ decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.constant(exports.OcfAllocationType.OcfAllocationCumulativeRounding), jtv.constant(exports.OcfAllocationType.OcfAllocationCumulativeRoundDown), jtv.constant(exports.OcfAllocationType.OcfAllocationFrontLoaded), jtv.constant(exports.OcfAllocationType.OcfAllocationBackLoaded), jtv.constant(exports.OcfAllocationType.OcfAllocationFrontLoadedToSingleTranche), jtv.constant(exports.OcfAllocationType.OcfAllocationBackLoadedToSingleTranche), jtv.constant(exports.OcfAllocationType.OcfAllocationFractional)); }),
179
+ encode: function (__typed__) { return __typed__; },
208
180
  };
209
181
 
210
- exports.OcfVestingTrigger = {
211
- decoder: damlTypes.lazyMemo(function () {
212
- return jtv.oneOf(
213
- jtv.object({
214
- tag: jtv.constant("OcfVestingStartTrigger"),
215
- value: damlTypes.Unit.decoder,
216
- }),
217
- jtv.object({
218
- tag: jtv.constant("OcfVestingScheduleAbsoluteTrigger"),
219
- value: exports.OcfVestingTrigger.OcfVestingScheduleAbsoluteTrigger.decoder,
220
- }),
221
- jtv.object({
222
- tag: jtv.constant("OcfVestingScheduleRelativeTrigger"),
223
- value: exports.OcfVestingTrigger.OcfVestingScheduleRelativeTrigger.decoder,
224
- }),
225
- jtv.object({
226
- tag: jtv.constant("OcfVestingEventTrigger"),
227
- value: damlTypes.Unit.decoder,
228
- }),
229
- );
230
- }),
182
+
183
+
184
+ exports.VestingTermsOcfData = {
185
+ decoder: damlTypes.lazyMemo(function () { return jtv.object({id: damlTypes.Text.decoder, allocation_type: exports.OcfAllocationType.decoder, description: damlTypes.Text.decoder, name: damlTypes.Text.decoder, comments: damlTypes.List(damlTypes.Text).decoder, vesting_conditions: damlTypes.List(exports.OcfVestingCondition).decoder, }); }),
231
186
  encode: function (__typed__) {
232
- switch(__typed__.tag) {
233
- case 'OcfVestingStartTrigger': return {tag: __typed__.tag, value: damlTypes.Unit.encode(__typed__.value)};
234
- case 'OcfVestingScheduleAbsoluteTrigger': return {tag: __typed__.tag, value: exports.OcfVestingTrigger.OcfVestingScheduleAbsoluteTrigger.encode(__typed__.value)};
235
- case 'OcfVestingScheduleRelativeTrigger': return {tag: __typed__.tag, value: exports.OcfVestingTrigger.OcfVestingScheduleRelativeTrigger.encode(__typed__.value)};
236
- case 'OcfVestingEventTrigger': return {tag: __typed__.tag, value: damlTypes.Unit.encode(__typed__.value)};
237
- default: throw 'unrecognized type tag: ' + __typed__.tag + ' while serializing a value of type OcfVestingTrigger';
238
- }
239
- },
240
- OcfVestingScheduleAbsoluteTrigger: {
241
- decoder: damlTypes.lazyMemo(function () {
242
- return jtv.object({
243
- date: damlTypes.Time.decoder,
244
- });
245
- }),
246
- encode: function (__typed__) {
247
- return {
248
- date: damlTypes.Time.encode(__typed__.date),
249
- };
250
- },
251
- },
252
- OcfVestingScheduleRelativeTrigger: {
253
- decoder: damlTypes.lazyMemo(function () {
254
- return jtv.object({
255
- period: exports.OcfVestingPeriod.decoder,
256
- relative_to_condition_id: damlTypes.Text.decoder,
257
- });
258
- }),
259
- encode: function (__typed__) {
260
- return {
261
- period: exports.OcfVestingPeriod.encode(__typed__.period),
262
- relative_to_condition_id: damlTypes.Text.encode(__typed__.relative_to_condition_id),
263
- };
264
- },
265
- },
187
+ return {
188
+ id: damlTypes.Text.encode(__typed__.id),
189
+ allocation_type: exports.OcfAllocationType.encode(__typed__.allocation_type),
190
+ description: damlTypes.Text.encode(__typed__.description),
191
+ name: damlTypes.Text.encode(__typed__.name),
192
+ comments: damlTypes.List(damlTypes.Text).encode(__typed__.comments),
193
+ vesting_conditions: damlTypes.List(exports.OcfVestingCondition).encode(__typed__.vesting_conditions),
194
+ };
195
+ }
196
+ ,
266
197
  };
267
198
 
199
+
200
+
268
201
  exports.VestingTerms = damlTypes.assembleTemplate(
269
- {
270
- templateId: '#OpenCapTable-v35:Fairmint.OpenCapTable.OCF.VestingTerms:VestingTerms',
271
- templateIdWithPackageId: '#5f7929a6d58de9847deb3b9e48afd0f6dc58266f6e94a6de23d4c9a502b219bf:Fairmint.OpenCapTable.OCF.VestingTerms:VestingTerms',
272
- keyDecoder: jtv.constant(undefined),
273
- keyEncode: function () { throw 'EncodeError'; },
274
- decoder: damlTypes.lazyMemo(function () {
275
- return jtv.object({
276
- context: Fairmint_OpenCapTable_Types_Core.Context.decoder,
277
- vesting_terms_data: exports.VestingTermsOcfData.decoder,
278
- });
279
- }),
280
- encode: function (__typed__) {
281
- return {
282
- context: Fairmint_OpenCapTable_Types_Core.Context.encode(__typed__.context),
283
- vesting_terms_data: exports.VestingTermsOcfData.encode(__typed__.vesting_terms_data),
284
- };
285
- },
286
- Archive: {
287
- template: function () { return exports.VestingTerms; },
288
- choiceName: 'Archive',
289
- argumentDecoder: damlTypes.lazyMemo(function () {
290
- return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder;
291
- }),
292
- argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
293
- resultDecoder: damlTypes.lazyMemo(function () {
294
- return damlTypes.Unit.decoder;
295
- }),
296
- resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
297
- },
202
+ {
203
+ templateId: '#OpenCapTable-v34:Fairmint.OpenCapTable.OCF.VestingTerms:VestingTerms',
204
+ templateIdWithPackageId: '534319ff0f8e273fce07984ee471fa86c19b15528e177f7e3e42ba858d89ed8d:Fairmint.OpenCapTable.OCF.VestingTerms:VestingTerms',
205
+ keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
206
+ keyEncode: function () { throw 'EncodeError'; },
207
+ decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_OpenCapTable_Types_Core.Context.decoder, vesting_terms_data: exports.VestingTermsOcfData.decoder, }); }),
208
+ encode: function (__typed__) {
209
+ return {
210
+ context: Fairmint_OpenCapTable_Types_Core.Context.encode(__typed__.context),
211
+ vesting_terms_data: exports.VestingTermsOcfData.encode(__typed__.vesting_terms_data),
212
+ };
213
+ }
214
+ ,
215
+ Archive: {
216
+ template: function () { return exports.VestingTerms; },
217
+ choiceName: 'Archive',
218
+ argumentDecoder: damlTypes.lazyMemo(function () { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder; }),
219
+ argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
220
+ resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
221
+ resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
298
222
  },
223
+ }
224
+
299
225
  );
300
226
 
301
- damlTypes.registerTemplate(exports.VestingTerms, ['5f7929a6d58de9847deb3b9e48afd0f6dc58266f6e94a6de23d4c9a502b219bf', '#OpenCapTable-v35']);
302
227
 
303
- exports.VestingTermsOcfData = {
304
- decoder: damlTypes.lazyMemo(function () {
305
- return jtv.object({
306
- id: damlTypes.Text.decoder,
307
- allocation_type: exports.OcfAllocationType.decoder,
308
- description: damlTypes.Text.decoder,
309
- name: damlTypes.Text.decoder,
310
- comments: damlTypes.List(damlTypes.Text).decoder,
311
- vesting_conditions: damlTypes.List(exports.OcfVestingCondition).decoder,
312
- });
313
- }),
314
- encode: function (__typed__) {
315
- return {
316
- id: damlTypes.Text.encode(__typed__.id),
317
- allocation_type: exports.OcfAllocationType.encode(__typed__.allocation_type),
318
- description: damlTypes.Text.encode(__typed__.description),
319
- name: damlTypes.Text.encode(__typed__.name),
320
- comments: damlTypes.List(damlTypes.Text).encode(__typed__.comments),
321
- vesting_conditions: damlTypes.List(exports.OcfVestingCondition).encode(__typed__.vesting_conditions),
322
- };
323
- },
324
- };
228
+ damlTypes.registerTemplate(exports.VestingTerms, ['534319ff0f8e273fce07984ee471fa86c19b15528e177f7e3e42ba858d89ed8d', '#OpenCapTable-v34']);
229
+
@@ -5,5 +5,4 @@ function __export(m) {
5
5
  for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
6
6
  }
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
-
9
8
  __export(require('./module'));
@@ -1,5 +1,4 @@
1
- // Generated from ../../../../Fairmint/OpenCapTable/OCF/WarrantAcceptance/module.daml
2
-
1
+ // Generated from Fairmint/OpenCapTable/OCF/WarrantAcceptance.daml
3
2
  /* eslint-disable @typescript-eslint/camelcase */
4
3
  /* eslint-disable @typescript-eslint/no-namespace */
5
4
  /* eslint-disable @typescript-eslint/no-use-before-define */
@@ -10,27 +9,33 @@ import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69
10
9
 
11
10
  import * as Fairmint_OpenCapTable_Types_Core from '../../../../Fairmint/OpenCapTable/Types/Core/module';
12
11
 
12
+ export declare type WarrantAcceptanceOcfData = {
13
+ id: string;
14
+ date: damlTypes.Time;
15
+ security_id: string;
16
+ comments: string[];
17
+ };
18
+
19
+ export declare const WarrantAcceptanceOcfData:
20
+ damlTypes.Serializable<WarrantAcceptanceOcfData> & {
21
+ }
22
+ ;
23
+
24
+
13
25
  export declare type WarrantAcceptance = {
14
- context: Fairmint_OpenCapTable_Types_Core.Context,
15
- acceptance_data: WarrantAcceptanceOcfData,
16
- }
26
+ context: Fairmint_OpenCapTable_Types_Core.Context;
27
+ acceptance_data: WarrantAcceptanceOcfData;
28
+ };
17
29
 
18
30
  export declare interface WarrantAcceptanceInterface {
19
- Archive:
20
- damlTypes.Choice<WarrantAcceptance, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> &
21
- damlTypes.ChoiceFrom<damlTypes.Template<WarrantAcceptance, undefined>>;
31
+ Archive: damlTypes.Choice<WarrantAcceptance, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<WarrantAcceptance, undefined>>;
22
32
  }
23
33
  export declare const WarrantAcceptance:
24
- damlTypes.Template<WarrantAcceptance, undefined, '#OpenCapTable-v35:Fairmint.OpenCapTable.OCF.WarrantAcceptance:WarrantAcceptance'> &
34
+ damlTypes.Template<WarrantAcceptance, undefined, '#OpenCapTable-v34:Fairmint.OpenCapTable.OCF.WarrantAcceptance:WarrantAcceptance'> &
25
35
  damlTypes.ToInterface<WarrantAcceptance, never> &
26
- WarrantAcceptanceInterface
36
+ WarrantAcceptanceInterface;
27
37
 
28
- export declare type WarrantAcceptanceOcfData = {
29
- id: string,
30
- date: damlTypes.Time,
31
- security_id: string,
32
- comments: string[],
38
+ export declare namespace WarrantAcceptance {
33
39
  }
34
40
 
35
- export declare const WarrantAcceptanceOcfData:
36
- damlTypes.Serializable<WarrantAcceptanceOcfData>
41
+
@@ -5,7 +5,6 @@ function __export(m) {
5
5
  for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
6
6
  }
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
-
9
8
  /* eslint-disable-next-line no-unused-vars */
10
9
  var jtv = require('@mojotech/json-type-validation');
11
10
  /* eslint-disable-next-line no-unused-vars */
@@ -15,56 +14,48 @@ var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = requir
15
14
 
16
15
  var Fairmint_OpenCapTable_Types_Core = require('../../../../Fairmint/OpenCapTable/Types/Core/module');
17
16
 
17
+
18
+ exports.WarrantAcceptanceOcfData = {
19
+ decoder: damlTypes.lazyMemo(function () { return jtv.object({id: damlTypes.Text.decoder, date: damlTypes.Time.decoder, security_id: damlTypes.Text.decoder, comments: damlTypes.List(damlTypes.Text).decoder, }); }),
20
+ encode: function (__typed__) {
21
+ return {
22
+ id: damlTypes.Text.encode(__typed__.id),
23
+ date: damlTypes.Time.encode(__typed__.date),
24
+ security_id: damlTypes.Text.encode(__typed__.security_id),
25
+ comments: damlTypes.List(damlTypes.Text).encode(__typed__.comments),
26
+ };
27
+ }
28
+ ,
29
+ };
30
+
31
+
32
+
18
33
  exports.WarrantAcceptance = damlTypes.assembleTemplate(
19
- {
20
- templateId: '#OpenCapTable-v35:Fairmint.OpenCapTable.OCF.WarrantAcceptance:WarrantAcceptance',
21
- templateIdWithPackageId: '#5f7929a6d58de9847deb3b9e48afd0f6dc58266f6e94a6de23d4c9a502b219bf:Fairmint.OpenCapTable.OCF.WarrantAcceptance:WarrantAcceptance',
22
- keyDecoder: jtv.constant(undefined),
23
- keyEncode: function () { throw 'EncodeError'; },
24
- decoder: damlTypes.lazyMemo(function () {
25
- return jtv.object({
26
- context: Fairmint_OpenCapTable_Types_Core.Context.decoder,
27
- acceptance_data: exports.WarrantAcceptanceOcfData.decoder,
28
- });
29
- }),
30
- encode: function (__typed__) {
31
- return {
32
- context: Fairmint_OpenCapTable_Types_Core.Context.encode(__typed__.context),
33
- acceptance_data: exports.WarrantAcceptanceOcfData.encode(__typed__.acceptance_data),
34
- };
35
- },
36
- Archive: {
37
- template: function () { return exports.WarrantAcceptance; },
38
- choiceName: 'Archive',
39
- argumentDecoder: damlTypes.lazyMemo(function () {
40
- return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder;
41
- }),
42
- argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
43
- resultDecoder: damlTypes.lazyMemo(function () {
44
- return damlTypes.Unit.decoder;
45
- }),
46
- resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
47
- },
34
+ {
35
+ templateId: '#OpenCapTable-v34:Fairmint.OpenCapTable.OCF.WarrantAcceptance:WarrantAcceptance',
36
+ templateIdWithPackageId: '534319ff0f8e273fce07984ee471fa86c19b15528e177f7e3e42ba858d89ed8d:Fairmint.OpenCapTable.OCF.WarrantAcceptance:WarrantAcceptance',
37
+ keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
38
+ keyEncode: function () { throw 'EncodeError'; },
39
+ decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_OpenCapTable_Types_Core.Context.decoder, acceptance_data: exports.WarrantAcceptanceOcfData.decoder, }); }),
40
+ encode: function (__typed__) {
41
+ return {
42
+ context: Fairmint_OpenCapTable_Types_Core.Context.encode(__typed__.context),
43
+ acceptance_data: exports.WarrantAcceptanceOcfData.encode(__typed__.acceptance_data),
44
+ };
45
+ }
46
+ ,
47
+ Archive: {
48
+ template: function () { return exports.WarrantAcceptance; },
49
+ choiceName: 'Archive',
50
+ argumentDecoder: damlTypes.lazyMemo(function () { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder; }),
51
+ argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
52
+ resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
53
+ resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
48
54
  },
55
+ }
56
+
49
57
  );
50
58
 
51
- damlTypes.registerTemplate(exports.WarrantAcceptance, ['5f7929a6d58de9847deb3b9e48afd0f6dc58266f6e94a6de23d4c9a502b219bf', '#OpenCapTable-v35']);
52
59
 
53
- exports.WarrantAcceptanceOcfData = {
54
- decoder: damlTypes.lazyMemo(function () {
55
- return jtv.object({
56
- id: damlTypes.Text.decoder,
57
- date: damlTypes.Time.decoder,
58
- security_id: damlTypes.Text.decoder,
59
- comments: damlTypes.List(damlTypes.Text).decoder,
60
- });
61
- }),
62
- encode: function (__typed__) {
63
- return {
64
- id: damlTypes.Text.encode(__typed__.id),
65
- date: damlTypes.Time.encode(__typed__.date),
66
- security_id: damlTypes.Text.encode(__typed__.security_id),
67
- comments: damlTypes.List(damlTypes.Text).encode(__typed__.comments),
68
- };
69
- },
70
- };
60
+ damlTypes.registerTemplate(exports.WarrantAcceptance, ['534319ff0f8e273fce07984ee471fa86c19b15528e177f7e3e42ba858d89ed8d', '#OpenCapTable-v34']);
61
+
@@ -5,5 +5,4 @@ function __export(m) {
5
5
  for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
6
6
  }
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
-
9
8
  __export(require('./module'));