@c7-digital/scan 0.0.2 → 0.0.4

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 (203) hide show
  1. package/lib/_vendor/splice-codegen/daml-prim-DA-Exception-ArithmeticError-1.0.0/lib/DA/Exception/ArithmeticError/index.d.ts +1 -0
  2. package/lib/_vendor/splice-codegen/daml-prim-DA-Exception-ArithmeticError-1.0.0/lib/DA/Exception/ArithmeticError/module.d.ts +16 -0
  3. package/lib/_vendor/splice-codegen/daml-prim-DA-Exception-ArithmeticError-1.0.0/lib/DA/Exception/index.d.ts +2 -0
  4. package/lib/_vendor/splice-codegen/daml-prim-DA-Exception-ArithmeticError-1.0.0/lib/DA/index.d.ts +2 -0
  5. package/lib/_vendor/splice-codegen/daml-prim-DA-Exception-ArithmeticError-1.0.0/lib/index.d.ts +3 -0
  6. package/lib/_vendor/splice-codegen/daml-prim-DA-Exception-AssertionFailed-1.0.0/lib/DA/Exception/AssertionFailed/index.d.ts +1 -0
  7. package/lib/_vendor/splice-codegen/daml-prim-DA-Exception-AssertionFailed-1.0.0/lib/DA/Exception/AssertionFailed/module.d.ts +16 -0
  8. package/lib/_vendor/splice-codegen/daml-prim-DA-Exception-AssertionFailed-1.0.0/lib/DA/Exception/index.d.ts +2 -0
  9. package/lib/_vendor/splice-codegen/daml-prim-DA-Exception-AssertionFailed-1.0.0/lib/DA/index.d.ts +2 -0
  10. package/lib/_vendor/splice-codegen/daml-prim-DA-Exception-AssertionFailed-1.0.0/lib/index.d.ts +3 -0
  11. package/lib/_vendor/splice-codegen/daml-prim-DA-Exception-GeneralError-1.0.0/lib/DA/Exception/GeneralError/index.d.ts +1 -0
  12. package/lib/_vendor/splice-codegen/daml-prim-DA-Exception-GeneralError-1.0.0/lib/DA/Exception/GeneralError/module.d.ts +16 -0
  13. package/lib/_vendor/splice-codegen/daml-prim-DA-Exception-GeneralError-1.0.0/lib/DA/Exception/index.d.ts +2 -0
  14. package/lib/_vendor/splice-codegen/daml-prim-DA-Exception-GeneralError-1.0.0/lib/DA/index.d.ts +2 -0
  15. package/lib/_vendor/splice-codegen/daml-prim-DA-Exception-GeneralError-1.0.0/lib/index.d.ts +3 -0
  16. package/lib/_vendor/splice-codegen/daml-prim-DA-Exception-PreconditionFailed-1.0.0/lib/DA/Exception/PreconditionFailed/index.d.ts +1 -0
  17. package/lib/_vendor/splice-codegen/daml-prim-DA-Exception-PreconditionFailed-1.0.0/lib/DA/Exception/PreconditionFailed/module.d.ts +16 -0
  18. package/lib/_vendor/splice-codegen/daml-prim-DA-Exception-PreconditionFailed-1.0.0/lib/DA/Exception/index.d.ts +2 -0
  19. package/lib/_vendor/splice-codegen/daml-prim-DA-Exception-PreconditionFailed-1.0.0/lib/DA/index.d.ts +2 -0
  20. package/lib/_vendor/splice-codegen/daml-prim-DA-Exception-PreconditionFailed-1.0.0/lib/index.d.ts +3 -0
  21. package/lib/_vendor/splice-codegen/daml-prim-DA-Types-1.0.0/lib/DA/Types/index.d.ts +1 -0
  22. package/lib/_vendor/splice-codegen/daml-prim-DA-Types-1.0.0/lib/DA/Types/module.d.ts +377 -0
  23. package/lib/_vendor/splice-codegen/daml-prim-DA-Types-1.0.0/lib/DA/index.d.ts +2 -0
  24. package/lib/_vendor/splice-codegen/daml-prim-DA-Types-1.0.0/lib/index.d.ts +3 -0
  25. package/lib/_vendor/splice-codegen/daml-prim-GHC-Tuple-1.0.0/lib/GHC/Tuple/index.d.ts +1 -0
  26. package/lib/_vendor/splice-codegen/daml-prim-GHC-Tuple-1.0.0/lib/GHC/Tuple/module.d.ts +15 -0
  27. package/lib/_vendor/splice-codegen/daml-prim-GHC-Tuple-1.0.0/lib/GHC/index.d.ts +2 -0
  28. package/lib/_vendor/splice-codegen/daml-prim-GHC-Tuple-1.0.0/lib/index.d.ts +3 -0
  29. package/lib/_vendor/splice-codegen/daml-prim-GHC-Types-1.0.0/lib/GHC/Types/index.d.ts +1 -0
  30. package/lib/_vendor/splice-codegen/daml-prim-GHC-Types-1.0.0/lib/GHC/Types/module.d.ts +19 -0
  31. package/lib/_vendor/splice-codegen/daml-prim-GHC-Types-1.0.0/lib/GHC/index.d.ts +2 -0
  32. package/lib/_vendor/splice-codegen/daml-prim-GHC-Types-1.0.0/lib/index.d.ts +3 -0
  33. package/lib/_vendor/splice-codegen/daml-stdlib-DA-Date-Types-1.0.0/lib/DA/Date/Types/index.d.ts +1 -0
  34. package/lib/_vendor/splice-codegen/daml-stdlib-DA-Date-Types-1.0.0/lib/DA/Date/Types/module.d.ts +45 -0
  35. package/lib/_vendor/splice-codegen/daml-stdlib-DA-Date-Types-1.0.0/lib/DA/Date/index.d.ts +2 -0
  36. package/lib/_vendor/splice-codegen/daml-stdlib-DA-Date-Types-1.0.0/lib/DA/index.d.ts +2 -0
  37. package/lib/_vendor/splice-codegen/daml-stdlib-DA-Date-Types-1.0.0/lib/index.d.ts +3 -0
  38. package/lib/_vendor/splice-codegen/daml-stdlib-DA-Internal-Down-1.0.0/lib/DA/Internal/Down/index.d.ts +1 -0
  39. package/lib/_vendor/splice-codegen/daml-stdlib-DA-Internal-Down-1.0.0/lib/DA/Internal/Down/module.d.ts +15 -0
  40. package/lib/_vendor/splice-codegen/daml-stdlib-DA-Internal-Down-1.0.0/lib/DA/Internal/index.d.ts +2 -0
  41. package/lib/_vendor/splice-codegen/daml-stdlib-DA-Internal-Down-1.0.0/lib/DA/index.d.ts +2 -0
  42. package/lib/_vendor/splice-codegen/daml-stdlib-DA-Internal-Down-1.0.0/lib/index.d.ts +3 -0
  43. package/lib/_vendor/splice-codegen/daml-stdlib-DA-Logic-Types-1.0.0/lib/DA/Logic/Types/index.d.ts +1 -0
  44. package/lib/_vendor/splice-codegen/daml-stdlib-DA-Logic-Types-1.0.0/lib/DA/Logic/Types/module.d.ts +18 -0
  45. package/lib/_vendor/splice-codegen/daml-stdlib-DA-Logic-Types-1.0.0/lib/DA/Logic/index.d.ts +2 -0
  46. package/lib/_vendor/splice-codegen/daml-stdlib-DA-Logic-Types-1.0.0/lib/DA/index.d.ts +2 -0
  47. package/lib/_vendor/splice-codegen/daml-stdlib-DA-Logic-Types-1.0.0/lib/index.d.ts +3 -0
  48. package/lib/_vendor/splice-codegen/daml-stdlib-DA-Monoid-Types-1.0.0/lib/DA/Monoid/Types/index.d.ts +1 -0
  49. package/lib/_vendor/splice-codegen/daml-stdlib-DA-Monoid-Types-1.0.0/lib/DA/Monoid/Types/module.d.ts +44 -0
  50. package/lib/_vendor/splice-codegen/daml-stdlib-DA-Monoid-Types-1.0.0/lib/DA/Monoid/index.d.ts +2 -0
  51. package/lib/_vendor/splice-codegen/daml-stdlib-DA-Monoid-Types-1.0.0/lib/DA/index.d.ts +2 -0
  52. package/lib/_vendor/splice-codegen/daml-stdlib-DA-Monoid-Types-1.0.0/lib/index.d.ts +3 -0
  53. package/lib/_vendor/splice-codegen/daml-stdlib-DA-NonEmpty-Types-1.0.0/lib/DA/NonEmpty/Types/index.d.ts +1 -0
  54. package/lib/_vendor/splice-codegen/daml-stdlib-DA-NonEmpty-Types-1.0.0/lib/DA/NonEmpty/Types/module.d.ts +16 -0
  55. package/lib/_vendor/splice-codegen/daml-stdlib-DA-NonEmpty-Types-1.0.0/lib/DA/NonEmpty/index.d.ts +2 -0
  56. package/lib/_vendor/splice-codegen/daml-stdlib-DA-NonEmpty-Types-1.0.0/lib/DA/index.d.ts +2 -0
  57. package/lib/_vendor/splice-codegen/daml-stdlib-DA-NonEmpty-Types-1.0.0/lib/index.d.ts +3 -0
  58. package/lib/_vendor/splice-codegen/daml-stdlib-DA-Random-Types-1.0.0/lib/DA/Random/Types/index.d.ts +1 -0
  59. package/lib/_vendor/splice-codegen/daml-stdlib-DA-Random-Types-1.0.0/lib/DA/Random/Types/module.d.ts +16 -0
  60. package/lib/_vendor/splice-codegen/daml-stdlib-DA-Random-Types-1.0.0/lib/DA/Random/index.d.ts +2 -0
  61. package/lib/_vendor/splice-codegen/daml-stdlib-DA-Random-Types-1.0.0/lib/DA/index.d.ts +2 -0
  62. package/lib/_vendor/splice-codegen/daml-stdlib-DA-Random-Types-1.0.0/lib/index.d.ts +3 -0
  63. package/lib/_vendor/splice-codegen/daml-stdlib-DA-Semigroup-Types-1.0.0/lib/DA/Semigroup/Types/index.d.ts +1 -0
  64. package/lib/_vendor/splice-codegen/daml-stdlib-DA-Semigroup-Types-1.0.0/lib/DA/Semigroup/Types/module.d.ts +24 -0
  65. package/lib/_vendor/splice-codegen/daml-stdlib-DA-Semigroup-Types-1.0.0/lib/DA/Semigroup/index.d.ts +2 -0
  66. package/lib/_vendor/splice-codegen/daml-stdlib-DA-Semigroup-Types-1.0.0/lib/DA/index.d.ts +2 -0
  67. package/lib/_vendor/splice-codegen/daml-stdlib-DA-Semigroup-Types-1.0.0/lib/index.d.ts +3 -0
  68. package/lib/_vendor/splice-codegen/daml-stdlib-DA-Set-Types-1.0.0/lib/DA/Set/Types/index.d.ts +1 -0
  69. package/lib/_vendor/splice-codegen/daml-stdlib-DA-Set-Types-1.0.0/lib/DA/Set/Types/module.d.ts +15 -0
  70. package/lib/_vendor/splice-codegen/daml-stdlib-DA-Set-Types-1.0.0/lib/DA/Set/index.d.ts +2 -0
  71. package/lib/_vendor/splice-codegen/daml-stdlib-DA-Set-Types-1.0.0/lib/DA/index.d.ts +2 -0
  72. package/lib/_vendor/splice-codegen/daml-stdlib-DA-Set-Types-1.0.0/lib/index.d.ts +3 -0
  73. package/lib/_vendor/splice-codegen/daml-stdlib-DA-Stack-Types-1.0.0/lib/DA/Stack/Types/index.d.ts +1 -0
  74. package/lib/_vendor/splice-codegen/daml-stdlib-DA-Stack-Types-1.0.0/lib/DA/Stack/Types/module.d.ts +22 -0
  75. package/lib/_vendor/splice-codegen/daml-stdlib-DA-Stack-Types-1.0.0/lib/DA/Stack/index.d.ts +2 -0
  76. package/lib/_vendor/splice-codegen/daml-stdlib-DA-Stack-Types-1.0.0/lib/DA/index.d.ts +2 -0
  77. package/lib/_vendor/splice-codegen/daml-stdlib-DA-Stack-Types-1.0.0/lib/index.d.ts +3 -0
  78. package/lib/_vendor/splice-codegen/daml-stdlib-DA-Time-Types-1.0.0/lib/DA/Time/Types/index.d.ts +1 -0
  79. package/lib/_vendor/splice-codegen/daml-stdlib-DA-Time-Types-1.0.0/lib/DA/Time/Types/module.d.ts +16 -0
  80. package/lib/_vendor/splice-codegen/daml-stdlib-DA-Time-Types-1.0.0/lib/DA/Time/index.d.ts +2 -0
  81. package/lib/_vendor/splice-codegen/daml-stdlib-DA-Time-Types-1.0.0/lib/DA/index.d.ts +2 -0
  82. package/lib/_vendor/splice-codegen/daml-stdlib-DA-Time-Types-1.0.0/lib/index.d.ts +3 -0
  83. package/lib/_vendor/splice-codegen/daml-stdlib-DA-Validation-Types-1.0.0/lib/DA/Validation/Types/index.d.ts +1 -0
  84. package/lib/_vendor/splice-codegen/daml-stdlib-DA-Validation-Types-1.0.0/lib/DA/Validation/Types/module.d.ts +18 -0
  85. package/lib/_vendor/splice-codegen/daml-stdlib-DA-Validation-Types-1.0.0/lib/DA/Validation/index.d.ts +2 -0
  86. package/lib/_vendor/splice-codegen/daml-stdlib-DA-Validation-Types-1.0.0/lib/DA/index.d.ts +2 -0
  87. package/lib/_vendor/splice-codegen/daml-stdlib-DA-Validation-Types-1.0.0/lib/index.d.ts +3 -0
  88. package/lib/_vendor/splice-codegen/ghc-stdlib-DA-Internal-Template-1.0.0/lib/DA/Internal/Template/index.d.ts +1 -0
  89. package/lib/_vendor/splice-codegen/ghc-stdlib-DA-Internal-Template-1.0.0/lib/DA/Internal/Template/module.d.ts +15 -0
  90. package/lib/_vendor/splice-codegen/ghc-stdlib-DA-Internal-Template-1.0.0/lib/DA/Internal/index.d.ts +2 -0
  91. package/lib/_vendor/splice-codegen/ghc-stdlib-DA-Internal-Template-1.0.0/lib/DA/index.d.ts +2 -0
  92. package/lib/_vendor/splice-codegen/ghc-stdlib-DA-Internal-Template-1.0.0/lib/index.d.ts +3 -0
  93. package/lib/_vendor/splice-codegen/index.d.ts +21 -0
  94. package/lib/_vendor/splice-codegen/splice-amulet-0.1.15/lib/Splice/Amulet/TokenApiUtils/index.d.ts +1 -0
  95. package/lib/_vendor/splice-codegen/splice-amulet-0.1.15/lib/Splice/Amulet/TokenApiUtils/module.d.ts +22 -0
  96. package/lib/_vendor/splice-codegen/splice-amulet-0.1.15/lib/Splice/Amulet/TwoStepTransfer/index.d.ts +1 -0
  97. package/lib/_vendor/splice-codegen/splice-amulet-0.1.15/lib/Splice/Amulet/TwoStepTransfer/module.d.ts +24 -0
  98. package/lib/_vendor/splice-codegen/splice-amulet-0.1.15/lib/Splice/Amulet/index.d.ts +5 -0
  99. package/lib/_vendor/splice-codegen/splice-amulet-0.1.15/lib/Splice/Amulet/module.d.ts +648 -0
  100. package/lib/_vendor/splice-codegen/splice-amulet-0.1.15/lib/Splice/AmuletAllocation/index.d.ts +1 -0
  101. package/lib/_vendor/splice-codegen/splice-amulet-0.1.15/lib/Splice/AmuletAllocation/module.d.ts +29 -0
  102. package/lib/_vendor/splice-codegen/splice-amulet-0.1.15/lib/Splice/AmuletConfig/index.d.ts +1 -0
  103. package/lib/_vendor/splice-codegen/splice-amulet-0.1.15/lib/Splice/AmuletConfig/module.d.ts +82 -0
  104. package/lib/_vendor/splice-codegen/splice-amulet-0.1.15/lib/Splice/AmuletRules/index.d.ts +1 -0
  105. package/lib/_vendor/splice-codegen/splice-amulet-0.1.15/lib/Splice/AmuletRules/module.d.ts +1078 -0
  106. package/lib/_vendor/splice-codegen/splice-amulet-0.1.15/lib/Splice/AmuletTransferInstruction/index.d.ts +1 -0
  107. package/lib/_vendor/splice-codegen/splice-amulet-0.1.15/lib/Splice/AmuletTransferInstruction/module.d.ts +29 -0
  108. package/lib/_vendor/splice-codegen/splice-amulet-0.1.15/lib/Splice/DecentralizedSynchronizer/index.d.ts +1 -0
  109. package/lib/_vendor/splice-codegen/splice-amulet-0.1.15/lib/Splice/DecentralizedSynchronizer/module.d.ts +83 -0
  110. package/lib/_vendor/splice-codegen/splice-amulet-0.1.15/lib/Splice/Expiry/index.d.ts +1 -0
  111. package/lib/_vendor/splice-codegen/splice-amulet-0.1.15/lib/Splice/Expiry/module.d.ts +28 -0
  112. package/lib/_vendor/splice-codegen/splice-amulet-0.1.15/lib/Splice/ExternalPartyAmuletRules/index.d.ts +1 -0
  113. package/lib/_vendor/splice-codegen/splice-amulet-0.1.15/lib/Splice/ExternalPartyAmuletRules/module.d.ts +196 -0
  114. package/lib/_vendor/splice-codegen/splice-amulet-0.1.15/lib/Splice/Fees/index.d.ts +1 -0
  115. package/lib/_vendor/splice-codegen/splice-amulet-0.1.15/lib/Splice/Fees/module.d.ts +63 -0
  116. package/lib/_vendor/splice-codegen/splice-amulet-0.1.15/lib/Splice/Issuance/index.d.ts +1 -0
  117. package/lib/_vendor/splice-codegen/splice-amulet-0.1.15/lib/Splice/Issuance/module.d.ts +67 -0
  118. package/lib/_vendor/splice-codegen/splice-amulet-0.1.15/lib/Splice/RelRound/index.d.ts +1 -0
  119. package/lib/_vendor/splice-codegen/splice-amulet-0.1.15/lib/Splice/RelRound/module.d.ts +16 -0
  120. package/lib/_vendor/splice-codegen/splice-amulet-0.1.15/lib/Splice/Round/index.d.ts +1 -0
  121. package/lib/_vendor/splice-codegen/splice-amulet-0.1.15/lib/Splice/Round/module.d.ts +118 -0
  122. package/lib/_vendor/splice-codegen/splice-amulet-0.1.15/lib/Splice/Schedule/index.d.ts +1 -0
  123. package/lib/_vendor/splice-codegen/splice-amulet-0.1.15/lib/Splice/Schedule/module.d.ts +18 -0
  124. package/lib/_vendor/splice-codegen/splice-amulet-0.1.15/lib/Splice/Types/index.d.ts +1 -0
  125. package/lib/_vendor/splice-codegen/splice-amulet-0.1.15/lib/Splice/Types/module.d.ts +48 -0
  126. package/lib/_vendor/splice-codegen/splice-amulet-0.1.15/lib/Splice/ValidatorLicense/index.d.ts +1 -0
  127. package/lib/_vendor/splice-codegen/splice-amulet-0.1.15/lib/Splice/ValidatorLicense/module.d.ts +269 -0
  128. package/lib/_vendor/splice-codegen/splice-amulet-0.1.15/lib/Splice/index.d.ts +30 -0
  129. package/lib/_vendor/splice-codegen/splice-amulet-0.1.15/lib/index.d.ts +3 -0
  130. package/lib/_vendor/splice-codegen/splice-amulet-name-service-0.1.16/lib/Splice/Ans/AmuletConversionRateFeed/index.d.ts +1 -0
  131. package/lib/_vendor/splice-codegen/splice-amulet-name-service-0.1.16/lib/Splice/Ans/AmuletConversionRateFeed/module.d.ts +87 -0
  132. package/lib/_vendor/splice-codegen/splice-amulet-name-service-0.1.16/lib/Splice/Ans/index.d.ts +3 -0
  133. package/lib/_vendor/splice-codegen/splice-amulet-name-service-0.1.16/lib/Splice/Ans/module.d.ts +341 -0
  134. package/lib/_vendor/splice-codegen/splice-amulet-name-service-0.1.16/lib/Splice/index.d.ts +2 -0
  135. package/lib/_vendor/splice-codegen/splice-amulet-name-service-0.1.16/lib/index.d.ts +3 -0
  136. package/lib/_vendor/splice-codegen/splice-api-featured-app-v1-1.0.0/lib/Splice/Api/FeaturedAppRightV1/index.d.ts +1 -0
  137. package/lib/_vendor/splice-codegen/splice-api-featured-app-v1-1.0.0/lib/Splice/Api/FeaturedAppRightV1/module.d.ts +84 -0
  138. package/lib/_vendor/splice-codegen/splice-api-featured-app-v1-1.0.0/lib/Splice/Api/index.d.ts +2 -0
  139. package/lib/_vendor/splice-codegen/splice-api-featured-app-v1-1.0.0/lib/Splice/index.d.ts +2 -0
  140. package/lib/_vendor/splice-codegen/splice-api-featured-app-v1-1.0.0/lib/index.d.ts +3 -0
  141. package/lib/_vendor/splice-codegen/splice-api-token-allocation-instruction-v1-1.0.0/lib/Splice/Api/Token/AllocationInstructionV1/index.d.ts +1 -0
  142. package/lib/_vendor/splice-codegen/splice-api-token-allocation-instruction-v1-1.0.0/lib/Splice/Api/Token/AllocationInstructionV1/module.d.ts +147 -0
  143. package/lib/_vendor/splice-codegen/splice-api-token-allocation-instruction-v1-1.0.0/lib/Splice/Api/Token/index.d.ts +2 -0
  144. package/lib/_vendor/splice-codegen/splice-api-token-allocation-instruction-v1-1.0.0/lib/Splice/Api/index.d.ts +2 -0
  145. package/lib/_vendor/splice-codegen/splice-api-token-allocation-instruction-v1-1.0.0/lib/Splice/index.d.ts +2 -0
  146. package/lib/_vendor/splice-codegen/splice-api-token-allocation-instruction-v1-1.0.0/lib/index.d.ts +3 -0
  147. package/lib/_vendor/splice-codegen/splice-api-token-allocation-v1-1.0.0/lib/Splice/Api/Token/AllocationV1/index.d.ts +1 -0
  148. package/lib/_vendor/splice-codegen/splice-api-token-allocation-v1-1.0.0/lib/Splice/Api/Token/AllocationV1/module.d.ts +151 -0
  149. package/lib/_vendor/splice-codegen/splice-api-token-allocation-v1-1.0.0/lib/Splice/Api/Token/index.d.ts +2 -0
  150. package/lib/_vendor/splice-codegen/splice-api-token-allocation-v1-1.0.0/lib/Splice/Api/index.d.ts +2 -0
  151. package/lib/_vendor/splice-codegen/splice-api-token-allocation-v1-1.0.0/lib/Splice/index.d.ts +2 -0
  152. package/lib/_vendor/splice-codegen/splice-api-token-allocation-v1-1.0.0/lib/index.d.ts +3 -0
  153. package/lib/_vendor/splice-codegen/splice-api-token-holding-v1-1.0.0/lib/Splice/Api/Token/HoldingV1/index.d.ts +1 -0
  154. package/lib/_vendor/splice-codegen/splice-api-token-holding-v1-1.0.0/lib/Splice/Api/Token/HoldingV1/module.d.ts +58 -0
  155. package/lib/_vendor/splice-codegen/splice-api-token-holding-v1-1.0.0/lib/Splice/Api/Token/index.d.ts +2 -0
  156. package/lib/_vendor/splice-codegen/splice-api-token-holding-v1-1.0.0/lib/Splice/Api/index.d.ts +2 -0
  157. package/lib/_vendor/splice-codegen/splice-api-token-holding-v1-1.0.0/lib/Splice/index.d.ts +2 -0
  158. package/lib/_vendor/splice-codegen/splice-api-token-holding-v1-1.0.0/lib/index.d.ts +3 -0
  159. package/lib/_vendor/splice-codegen/splice-api-token-metadata-v1-1.0.0/lib/Splice/Api/Token/MetadataV1/index.d.ts +1 -0
  160. package/lib/_vendor/splice-codegen/splice-api-token-metadata-v1-1.0.0/lib/Splice/Api/Token/MetadataV1/module.d.ts +89 -0
  161. package/lib/_vendor/splice-codegen/splice-api-token-metadata-v1-1.0.0/lib/Splice/Api/Token/index.d.ts +2 -0
  162. package/lib/_vendor/splice-codegen/splice-api-token-metadata-v1-1.0.0/lib/Splice/Api/index.d.ts +2 -0
  163. package/lib/_vendor/splice-codegen/splice-api-token-metadata-v1-1.0.0/lib/Splice/index.d.ts +2 -0
  164. package/lib/_vendor/splice-codegen/splice-api-token-metadata-v1-1.0.0/lib/index.d.ts +3 -0
  165. package/lib/_vendor/splice-codegen/splice-api-token-transfer-instruction-v1-1.0.0/lib/Splice/Api/Token/TransferInstructionV1/index.d.ts +1 -0
  166. package/lib/_vendor/splice-codegen/splice-api-token-transfer-instruction-v1-1.0.0/lib/Splice/Api/Token/TransferInstructionV1/module.d.ts +200 -0
  167. package/lib/_vendor/splice-codegen/splice-api-token-transfer-instruction-v1-1.0.0/lib/Splice/Api/Token/index.d.ts +2 -0
  168. package/lib/_vendor/splice-codegen/splice-api-token-transfer-instruction-v1-1.0.0/lib/Splice/Api/index.d.ts +2 -0
  169. package/lib/_vendor/splice-codegen/splice-api-token-transfer-instruction-v1-1.0.0/lib/Splice/index.d.ts +2 -0
  170. package/lib/_vendor/splice-codegen/splice-api-token-transfer-instruction-v1-1.0.0/lib/index.d.ts +3 -0
  171. package/lib/_vendor/splice-codegen/splice-dso-governance-0.1.21/lib/Splice/CometBft/index.d.ts +1 -0
  172. package/lib/_vendor/splice-codegen/splice-dso-governance-0.1.21/lib/Splice/CometBft/module.d.ts +63 -0
  173. package/lib/_vendor/splice-codegen/splice-dso-governance-0.1.21/lib/Splice/DSO/AmuletPrice/index.d.ts +1 -0
  174. package/lib/_vendor/splice-codegen/splice-dso-governance-0.1.21/lib/Splice/DSO/AmuletPrice/module.d.ts +28 -0
  175. package/lib/_vendor/splice-codegen/splice-dso-governance-0.1.21/lib/Splice/DSO/DecentralizedSynchronizer/index.d.ts +1 -0
  176. package/lib/_vendor/splice-codegen/splice-dso-governance-0.1.21/lib/Splice/DSO/DecentralizedSynchronizer/module.d.ts +115 -0
  177. package/lib/_vendor/splice-codegen/splice-dso-governance-0.1.21/lib/Splice/DSO/SvState/index.d.ts +1 -0
  178. package/lib/_vendor/splice-codegen/splice-dso-governance-0.1.21/lib/Splice/DSO/SvState/module.d.ts +131 -0
  179. package/lib/_vendor/splice-codegen/splice-dso-governance-0.1.21/lib/Splice/DSO/index.d.ts +6 -0
  180. package/lib/_vendor/splice-codegen/splice-dso-governance-0.1.21/lib/Splice/DsoBootstrap/index.d.ts +1 -0
  181. package/lib/_vendor/splice-codegen/splice-dso-governance-0.1.21/lib/Splice/DsoBootstrap/module.d.ts +65 -0
  182. package/lib/_vendor/splice-codegen/splice-dso-governance-0.1.21/lib/Splice/DsoRules/index.d.ts +1 -0
  183. package/lib/_vendor/splice-codegen/splice-dso-governance-0.1.21/lib/Splice/DsoRules/module.d.ts +1598 -0
  184. package/lib/_vendor/splice-codegen/splice-dso-governance-0.1.21/lib/Splice/SvOnboarding/index.d.ts +1 -0
  185. package/lib/_vendor/splice-codegen/splice-dso-governance-0.1.21/lib/Splice/SvOnboarding/module.d.ts +96 -0
  186. package/lib/_vendor/splice-codegen/splice-dso-governance-0.1.21/lib/Splice/index.d.ts +10 -0
  187. package/lib/_vendor/splice-codegen/splice-dso-governance-0.1.21/lib/index.d.ts +3 -0
  188. package/lib/_vendor/splice-codegen/splice-wallet-payments-0.1.15/lib/Splice/Wallet/Payment/index.d.ts +1 -0
  189. package/lib/_vendor/splice-codegen/splice-wallet-payments-0.1.15/lib/Splice/Wallet/Payment/module.d.ts +280 -0
  190. package/lib/_vendor/splice-codegen/splice-wallet-payments-0.1.15/lib/Splice/Wallet/Subscriptions/index.d.ts +1 -0
  191. package/lib/_vendor/splice-codegen/splice-wallet-payments-0.1.15/lib/Splice/Wallet/Subscriptions/module.d.ts +441 -0
  192. package/lib/_vendor/splice-codegen/splice-wallet-payments-0.1.15/lib/Splice/Wallet/index.d.ts +4 -0
  193. package/lib/_vendor/splice-codegen/splice-wallet-payments-0.1.15/lib/Splice/index.d.ts +2 -0
  194. package/lib/_vendor/splice-codegen/splice-wallet-payments-0.1.15/lib/index.d.ts +3 -0
  195. package/lib/_vendor/splice-codegen/version.d.ts +1 -0
  196. package/lib/scripts/build.js +82 -2
  197. package/lib/src/client.d.ts +6 -13
  198. package/lib/src/index.d.ts +1 -0
  199. package/lib/src/types.d.ts +86 -0
  200. package/lib/src/types.js +1 -0
  201. package/lib/tsconfig.tsbuildinfo +1 -1
  202. package/package.json +3 -2
  203. package/scripts/build.ts +91 -2
@@ -0,0 +1,441 @@
1
+ // Generated from Splice/Wallet/Subscriptions.daml
2
+ /* eslint-disable @typescript-eslint/camelcase */
3
+ /* eslint-disable @typescript-eslint/no-namespace */
4
+ /* eslint-disable @typescript-eslint/no-use-before-define */
5
+ import * as jtv from '@mojotech/json-type-validation';
6
+ import * as damlTypes from '@daml/types';
7
+
8
+ import * as pkg67fac2f853bce8dbf0b9817bb5ba7c59f10e8120b7c808696f7010e5f0c8a791 from '../../../../../splice-amulet-0.1.15/lib/index';
9
+ import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '../../../../../ghc-stdlib-DA-Internal-Template-1.0.0/lib/index';
10
+ import * as pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946 from '../../../../../daml-stdlib-DA-Time-Types-1.0.0/lib/index';
11
+
12
+ import * as Splice_Wallet_Payment from '../../../Splice/Wallet/Payment/module';
13
+
14
+ export declare type SubscriptionPayment_Expire = {
15
+ actor: damlTypes.Party;
16
+ transferContext: pkg67fac2f853bce8dbf0b9817bb5ba7c59f10e8120b7c808696f7010e5f0c8a791.Splice.AmuletRules.AppTransferContext;
17
+ };
18
+
19
+ export declare const SubscriptionPayment_Expire:
20
+ damlTypes.Serializable<SubscriptionPayment_Expire> & {
21
+ }
22
+ ;
23
+
24
+
25
+ export declare type SubscriptionPayment_Reject = {
26
+ transferContext: pkg67fac2f853bce8dbf0b9817bb5ba7c59f10e8120b7c808696f7010e5f0c8a791.Splice.AmuletRules.AppTransferContext;
27
+ };
28
+
29
+ export declare const SubscriptionPayment_Reject:
30
+ damlTypes.Serializable<SubscriptionPayment_Reject> & {
31
+ }
32
+ ;
33
+
34
+
35
+ export declare type SubscriptionPayment_Collect = {
36
+ transferContext: pkg67fac2f853bce8dbf0b9817bb5ba7c59f10e8120b7c808696f7010e5f0c8a791.Splice.AmuletRules.AppTransferContext;
37
+ };
38
+
39
+ export declare const SubscriptionPayment_Collect:
40
+ damlTypes.Serializable<SubscriptionPayment_Collect> & {
41
+ }
42
+ ;
43
+
44
+
45
+ export declare type SubscriptionPayment = {
46
+ subscription: damlTypes.ContractId<Subscription>;
47
+ subscriptionData: SubscriptionData;
48
+ payData: SubscriptionPayData;
49
+ thisPaymentDueAt: damlTypes.Time;
50
+ targetAmount: damlTypes.Numeric;
51
+ lockedAmulet: damlTypes.ContractId<pkg67fac2f853bce8dbf0b9817bb5ba7c59f10e8120b7c808696f7010e5f0c8a791.Splice.Amulet.LockedAmulet>;
52
+ round: pkg67fac2f853bce8dbf0b9817bb5ba7c59f10e8120b7c808696f7010e5f0c8a791.Splice.Types.Round;
53
+ reference: damlTypes.ContractId<SubscriptionRequest>;
54
+ };
55
+
56
+ export declare interface SubscriptionPaymentInterface {
57
+ SubscriptionPayment_Collect: damlTypes.Choice<SubscriptionPayment, SubscriptionPayment_Collect, SubscriptionPayment_CollectResult, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<SubscriptionPayment, undefined>>;
58
+ SubscriptionPayment_Reject: damlTypes.Choice<SubscriptionPayment, SubscriptionPayment_Reject, SubscriptionPayment_RejectResult, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<SubscriptionPayment, undefined>>;
59
+ SubscriptionPayment_Expire: damlTypes.Choice<SubscriptionPayment, SubscriptionPayment_Expire, SubscriptionPayment_ExpireResult, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<SubscriptionPayment, undefined>>;
60
+ Archive: damlTypes.Choice<SubscriptionPayment, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<SubscriptionPayment, undefined>>;
61
+ }
62
+ export declare const SubscriptionPayment:
63
+ damlTypes.Template<SubscriptionPayment, undefined, '#splice-wallet-payments:Splice.Wallet.Subscriptions:SubscriptionPayment'> &
64
+ damlTypes.ToInterface<SubscriptionPayment, never> &
65
+ SubscriptionPaymentInterface;
66
+
67
+ export declare namespace SubscriptionPayment {
68
+ }
69
+
70
+
71
+
72
+ export declare type SubscriptionIdleState_CancelSubscription = {
73
+ };
74
+
75
+ export declare const SubscriptionIdleState_CancelSubscription:
76
+ damlTypes.Serializable<SubscriptionIdleState_CancelSubscription> & {
77
+ }
78
+ ;
79
+
80
+
81
+ export declare type SubscriptionIdleState_ExpireSubscription = {
82
+ actor: damlTypes.Party;
83
+ };
84
+
85
+ export declare const SubscriptionIdleState_ExpireSubscription:
86
+ damlTypes.Serializable<SubscriptionIdleState_ExpireSubscription> & {
87
+ }
88
+ ;
89
+
90
+
91
+ export declare type SubscriptionIdleState_MakePayment = {
92
+ inputs: pkg67fac2f853bce8dbf0b9817bb5ba7c59f10e8120b7c808696f7010e5f0c8a791.Splice.AmuletRules.TransferInput[];
93
+ context: pkg67fac2f853bce8dbf0b9817bb5ba7c59f10e8120b7c808696f7010e5f0c8a791.Splice.AmuletRules.PaymentTransferContext;
94
+ walletProvider: damlTypes.Party;
95
+ };
96
+
97
+ export declare const SubscriptionIdleState_MakePayment:
98
+ damlTypes.Serializable<SubscriptionIdleState_MakePayment> & {
99
+ }
100
+ ;
101
+
102
+
103
+ export declare type SubscriptionIdleState = {
104
+ subscription: damlTypes.ContractId<Subscription>;
105
+ subscriptionData: SubscriptionData;
106
+ payData: SubscriptionPayData;
107
+ nextPaymentDueAt: damlTypes.Time;
108
+ reference: damlTypes.ContractId<SubscriptionRequest>;
109
+ };
110
+
111
+ export declare interface SubscriptionIdleStateInterface {
112
+ SubscriptionIdleState_MakePayment: damlTypes.Choice<SubscriptionIdleState, SubscriptionIdleState_MakePayment, SubscriptionIdleState_MakePaymentResult, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<SubscriptionIdleState, undefined>>;
113
+ SubscriptionIdleState_ExpireSubscription: damlTypes.Choice<SubscriptionIdleState, SubscriptionIdleState_ExpireSubscription, SubscriptionIdleState_ExpireSubscriptionResult, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<SubscriptionIdleState, undefined>>;
114
+ SubscriptionIdleState_CancelSubscription: damlTypes.Choice<SubscriptionIdleState, SubscriptionIdleState_CancelSubscription, SubscriptionIdleState_CancelSubscriptionResult, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<SubscriptionIdleState, undefined>>;
115
+ Archive: damlTypes.Choice<SubscriptionIdleState, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<SubscriptionIdleState, undefined>>;
116
+ }
117
+ export declare const SubscriptionIdleState:
118
+ damlTypes.Template<SubscriptionIdleState, undefined, '#splice-wallet-payments:Splice.Wallet.Subscriptions:SubscriptionIdleState'> &
119
+ damlTypes.ToInterface<SubscriptionIdleState, never> &
120
+ SubscriptionIdleStateInterface;
121
+
122
+ export declare namespace SubscriptionIdleState {
123
+ }
124
+
125
+
126
+
127
+ export declare type SubscriptionInitialPayment_Expire = {
128
+ actor: damlTypes.Party;
129
+ transferContext: pkg67fac2f853bce8dbf0b9817bb5ba7c59f10e8120b7c808696f7010e5f0c8a791.Splice.AmuletRules.AppTransferContext;
130
+ };
131
+
132
+ export declare const SubscriptionInitialPayment_Expire:
133
+ damlTypes.Serializable<SubscriptionInitialPayment_Expire> & {
134
+ }
135
+ ;
136
+
137
+
138
+ export declare type SubscriptionInitialPayment_Reject = {
139
+ transferContext: pkg67fac2f853bce8dbf0b9817bb5ba7c59f10e8120b7c808696f7010e5f0c8a791.Splice.AmuletRules.AppTransferContext;
140
+ };
141
+
142
+ export declare const SubscriptionInitialPayment_Reject:
143
+ damlTypes.Serializable<SubscriptionInitialPayment_Reject> & {
144
+ }
145
+ ;
146
+
147
+
148
+ export declare type SubscriptionInitialPayment_Collect = {
149
+ transferContext: pkg67fac2f853bce8dbf0b9817bb5ba7c59f10e8120b7c808696f7010e5f0c8a791.Splice.AmuletRules.AppTransferContext;
150
+ };
151
+
152
+ export declare const SubscriptionInitialPayment_Collect:
153
+ damlTypes.Serializable<SubscriptionInitialPayment_Collect> & {
154
+ }
155
+ ;
156
+
157
+
158
+ export declare type SubscriptionInitialPayment = {
159
+ subscriptionData: SubscriptionData;
160
+ payData: SubscriptionPayData;
161
+ targetAmount: damlTypes.Numeric;
162
+ lockedAmulet: damlTypes.ContractId<pkg67fac2f853bce8dbf0b9817bb5ba7c59f10e8120b7c808696f7010e5f0c8a791.Splice.Amulet.LockedAmulet>;
163
+ round: pkg67fac2f853bce8dbf0b9817bb5ba7c59f10e8120b7c808696f7010e5f0c8a791.Splice.Types.Round;
164
+ reference: damlTypes.ContractId<SubscriptionRequest>;
165
+ };
166
+
167
+ export declare interface SubscriptionInitialPaymentInterface {
168
+ SubscriptionInitialPayment_Collect: damlTypes.Choice<SubscriptionInitialPayment, SubscriptionInitialPayment_Collect, SubscriptionInitialPayment_CollectResult, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<SubscriptionInitialPayment, undefined>>;
169
+ SubscriptionInitialPayment_Reject: damlTypes.Choice<SubscriptionInitialPayment, SubscriptionInitialPayment_Reject, SubscriptionInitialPayment_RejectResult, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<SubscriptionInitialPayment, undefined>>;
170
+ SubscriptionInitialPayment_Expire: damlTypes.Choice<SubscriptionInitialPayment, SubscriptionInitialPayment_Expire, SubscriptionInitialPayment_ExpireResult, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<SubscriptionInitialPayment, undefined>>;
171
+ Archive: damlTypes.Choice<SubscriptionInitialPayment, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<SubscriptionInitialPayment, undefined>>;
172
+ }
173
+ export declare const SubscriptionInitialPayment:
174
+ damlTypes.Template<SubscriptionInitialPayment, undefined, '#splice-wallet-payments:Splice.Wallet.Subscriptions:SubscriptionInitialPayment'> &
175
+ damlTypes.ToInterface<SubscriptionInitialPayment, never> &
176
+ SubscriptionInitialPaymentInterface;
177
+
178
+ export declare namespace SubscriptionInitialPayment {
179
+ }
180
+
181
+
182
+
183
+ export declare type SubscriptionRequest_Reject = {
184
+ };
185
+
186
+ export declare const SubscriptionRequest_Reject:
187
+ damlTypes.Serializable<SubscriptionRequest_Reject> & {
188
+ }
189
+ ;
190
+
191
+
192
+ export declare type SubscriptionRequest_Withdraw = {
193
+ };
194
+
195
+ export declare const SubscriptionRequest_Withdraw:
196
+ damlTypes.Serializable<SubscriptionRequest_Withdraw> & {
197
+ }
198
+ ;
199
+
200
+
201
+ export declare type SubscriptionRequest_AcceptAndMakePayment = {
202
+ inputs: pkg67fac2f853bce8dbf0b9817bb5ba7c59f10e8120b7c808696f7010e5f0c8a791.Splice.AmuletRules.TransferInput[];
203
+ context: pkg67fac2f853bce8dbf0b9817bb5ba7c59f10e8120b7c808696f7010e5f0c8a791.Splice.AmuletRules.PaymentTransferContext;
204
+ walletProvider: damlTypes.Party;
205
+ };
206
+
207
+ export declare const SubscriptionRequest_AcceptAndMakePayment:
208
+ damlTypes.Serializable<SubscriptionRequest_AcceptAndMakePayment> & {
209
+ }
210
+ ;
211
+
212
+
213
+ export declare type SubscriptionRequest = {
214
+ subscriptionData: SubscriptionData;
215
+ payData: SubscriptionPayData;
216
+ };
217
+
218
+ export declare interface SubscriptionRequestInterface {
219
+ SubscriptionRequest_AcceptAndMakePayment: damlTypes.Choice<SubscriptionRequest, SubscriptionRequest_AcceptAndMakePayment, SubscriptionRequest_AcceptAndMakePaymentResult, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<SubscriptionRequest, undefined>>;
220
+ SubscriptionRequest_Withdraw: damlTypes.Choice<SubscriptionRequest, SubscriptionRequest_Withdraw, SubscriptionRequest_WithdrawResult, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<SubscriptionRequest, undefined>>;
221
+ SubscriptionRequest_Reject: damlTypes.Choice<SubscriptionRequest, SubscriptionRequest_Reject, SubscriptionRequest_RejectResult, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<SubscriptionRequest, undefined>>;
222
+ Archive: damlTypes.Choice<SubscriptionRequest, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<SubscriptionRequest, undefined>>;
223
+ }
224
+ export declare const SubscriptionRequest:
225
+ damlTypes.Template<SubscriptionRequest, undefined, '#splice-wallet-payments:Splice.Wallet.Subscriptions:SubscriptionRequest'> &
226
+ damlTypes.ToInterface<SubscriptionRequest, never> &
227
+ SubscriptionRequestInterface;
228
+
229
+ export declare namespace SubscriptionRequest {
230
+ }
231
+
232
+
233
+
234
+ export declare type SubscriptionPayData = {
235
+ paymentAmount: Splice_Wallet_Payment.PaymentAmount;
236
+ paymentInterval: pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime;
237
+ paymentDuration: pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime;
238
+ };
239
+
240
+ export declare const SubscriptionPayData:
241
+ damlTypes.Serializable<SubscriptionPayData> & {
242
+ }
243
+ ;
244
+
245
+
246
+ export declare type TerminatedSubscription = {
247
+ subscriptionData: SubscriptionData;
248
+ reference: damlTypes.ContractId<SubscriptionRequest>;
249
+ };
250
+
251
+ export declare interface TerminatedSubscriptionInterface {
252
+ Archive: damlTypes.Choice<TerminatedSubscription, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<TerminatedSubscription, undefined>>;
253
+ }
254
+ export declare const TerminatedSubscription:
255
+ damlTypes.Template<TerminatedSubscription, undefined, '#splice-wallet-payments:Splice.Wallet.Subscriptions:TerminatedSubscription'> &
256
+ damlTypes.ToInterface<TerminatedSubscription, never> &
257
+ TerminatedSubscriptionInterface;
258
+
259
+ export declare namespace TerminatedSubscription {
260
+ }
261
+
262
+
263
+
264
+ export declare type Subscription_Archive = {
265
+ };
266
+
267
+ export declare const Subscription_Archive:
268
+ damlTypes.Serializable<Subscription_Archive> & {
269
+ }
270
+ ;
271
+
272
+
273
+ export declare type Subscription = {
274
+ subscriptionData: SubscriptionData;
275
+ reference: damlTypes.ContractId<SubscriptionRequest>;
276
+ };
277
+
278
+ export declare interface SubscriptionInterface {
279
+ Subscription_Archive: damlTypes.Choice<Subscription, Subscription_Archive, Subscription_ArchiveResult, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Subscription, undefined>>;
280
+ Archive: damlTypes.Choice<Subscription, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Subscription, undefined>>;
281
+ }
282
+ export declare const Subscription:
283
+ damlTypes.Template<Subscription, undefined, '#splice-wallet-payments:Splice.Wallet.Subscriptions:Subscription'> &
284
+ damlTypes.ToInterface<Subscription, never> &
285
+ SubscriptionInterface;
286
+
287
+ export declare namespace Subscription {
288
+ }
289
+
290
+
291
+
292
+ export declare type SubscriptionPayment_ExpireResult = {
293
+ subscriptionState: damlTypes.ContractId<SubscriptionIdleState>;
294
+ amuletSum: pkg67fac2f853bce8dbf0b9817bb5ba7c59f10e8120b7c808696f7010e5f0c8a791.Splice.Amulet.AmuletCreateSummary<damlTypes.ContractId<pkg67fac2f853bce8dbf0b9817bb5ba7c59f10e8120b7c808696f7010e5f0c8a791.Splice.Amulet.Amulet>>;
295
+ };
296
+
297
+ export declare const SubscriptionPayment_ExpireResult:
298
+ damlTypes.Serializable<SubscriptionPayment_ExpireResult> & {
299
+ }
300
+ ;
301
+
302
+
303
+ export declare type SubscriptionPayment_RejectResult = {
304
+ subscriptionState: damlTypes.ContractId<SubscriptionIdleState>;
305
+ amuletSum: pkg67fac2f853bce8dbf0b9817bb5ba7c59f10e8120b7c808696f7010e5f0c8a791.Splice.Amulet.AmuletCreateSummary<damlTypes.ContractId<pkg67fac2f853bce8dbf0b9817bb5ba7c59f10e8120b7c808696f7010e5f0c8a791.Splice.Amulet.Amulet>>;
306
+ };
307
+
308
+ export declare const SubscriptionPayment_RejectResult:
309
+ damlTypes.Serializable<SubscriptionPayment_RejectResult> & {
310
+ }
311
+ ;
312
+
313
+
314
+ export declare type SubscriptionPayment_CollectResult = {
315
+ subscriptionState: damlTypes.ContractId<SubscriptionIdleState>;
316
+ amulet: damlTypes.ContractId<pkg67fac2f853bce8dbf0b9817bb5ba7c59f10e8120b7c808696f7010e5f0c8a791.Splice.Amulet.Amulet>;
317
+ };
318
+
319
+ export declare const SubscriptionPayment_CollectResult:
320
+ damlTypes.Serializable<SubscriptionPayment_CollectResult> & {
321
+ }
322
+ ;
323
+
324
+
325
+ export declare type SubscriptionIdleState_MakePaymentResult = {
326
+ subscriptionPayment: damlTypes.ContractId<SubscriptionPayment>;
327
+ senderChange: damlTypes.Optional<damlTypes.ContractId<pkg67fac2f853bce8dbf0b9817bb5ba7c59f10e8120b7c808696f7010e5f0c8a791.Splice.Amulet.Amulet>>;
328
+ };
329
+
330
+ export declare const SubscriptionIdleState_MakePaymentResult:
331
+ damlTypes.Serializable<SubscriptionIdleState_MakePaymentResult> & {
332
+ }
333
+ ;
334
+
335
+
336
+ export declare type SubscriptionIdleState_CancelSubscriptionResult = {
337
+ terminatedSubscription: damlTypes.ContractId<TerminatedSubscription>;
338
+ };
339
+
340
+ export declare const SubscriptionIdleState_CancelSubscriptionResult:
341
+ damlTypes.Serializable<SubscriptionIdleState_CancelSubscriptionResult> & {
342
+ }
343
+ ;
344
+
345
+
346
+ export declare type SubscriptionIdleState_ExpireSubscriptionResult = {
347
+ terminatedSubscription: damlTypes.ContractId<TerminatedSubscription>;
348
+ };
349
+
350
+ export declare const SubscriptionIdleState_ExpireSubscriptionResult:
351
+ damlTypes.Serializable<SubscriptionIdleState_ExpireSubscriptionResult> & {
352
+ }
353
+ ;
354
+
355
+
356
+ export declare type SubscriptionInitialPayment_ExpireResult = {
357
+ amuletSum: pkg67fac2f853bce8dbf0b9817bb5ba7c59f10e8120b7c808696f7010e5f0c8a791.Splice.Amulet.AmuletCreateSummary<damlTypes.ContractId<pkg67fac2f853bce8dbf0b9817bb5ba7c59f10e8120b7c808696f7010e5f0c8a791.Splice.Amulet.Amulet>>;
358
+ };
359
+
360
+ export declare const SubscriptionInitialPayment_ExpireResult:
361
+ damlTypes.Serializable<SubscriptionInitialPayment_ExpireResult> & {
362
+ }
363
+ ;
364
+
365
+
366
+ export declare type SubscriptionInitialPayment_RejectResult = {
367
+ amuletSum: pkg67fac2f853bce8dbf0b9817bb5ba7c59f10e8120b7c808696f7010e5f0c8a791.Splice.Amulet.AmuletCreateSummary<damlTypes.ContractId<pkg67fac2f853bce8dbf0b9817bb5ba7c59f10e8120b7c808696f7010e5f0c8a791.Splice.Amulet.Amulet>>;
368
+ };
369
+
370
+ export declare const SubscriptionInitialPayment_RejectResult:
371
+ damlTypes.Serializable<SubscriptionInitialPayment_RejectResult> & {
372
+ }
373
+ ;
374
+
375
+
376
+ export declare type SubscriptionInitialPayment_CollectResult = {
377
+ subscription: damlTypes.ContractId<Subscription>;
378
+ subscriptionState: damlTypes.ContractId<SubscriptionIdleState>;
379
+ amulet: damlTypes.ContractId<pkg67fac2f853bce8dbf0b9817bb5ba7c59f10e8120b7c808696f7010e5f0c8a791.Splice.Amulet.Amulet>;
380
+ };
381
+
382
+ export declare const SubscriptionInitialPayment_CollectResult:
383
+ damlTypes.Serializable<SubscriptionInitialPayment_CollectResult> & {
384
+ }
385
+ ;
386
+
387
+
388
+ export declare type SubscriptionRequest_RejectResult = {
389
+ terminatedSubscription: damlTypes.ContractId<TerminatedSubscription>;
390
+ };
391
+
392
+ export declare const SubscriptionRequest_RejectResult:
393
+ damlTypes.Serializable<SubscriptionRequest_RejectResult> & {
394
+ }
395
+ ;
396
+
397
+
398
+ export declare type SubscriptionRequest_WithdrawResult = {
399
+ terminatedSubscription: damlTypes.ContractId<TerminatedSubscription>;
400
+ };
401
+
402
+ export declare const SubscriptionRequest_WithdrawResult:
403
+ damlTypes.Serializable<SubscriptionRequest_WithdrawResult> & {
404
+ }
405
+ ;
406
+
407
+
408
+ export declare type SubscriptionRequest_AcceptAndMakePaymentResult = {
409
+ subscriptionPayment: damlTypes.ContractId<SubscriptionInitialPayment>;
410
+ senderChange: damlTypes.Optional<damlTypes.ContractId<pkg67fac2f853bce8dbf0b9817bb5ba7c59f10e8120b7c808696f7010e5f0c8a791.Splice.Amulet.Amulet>>;
411
+ };
412
+
413
+ export declare const SubscriptionRequest_AcceptAndMakePaymentResult:
414
+ damlTypes.Serializable<SubscriptionRequest_AcceptAndMakePaymentResult> & {
415
+ }
416
+ ;
417
+
418
+
419
+ export declare type Subscription_ArchiveResult = {
420
+ terminatedSubscription: damlTypes.ContractId<TerminatedSubscription>;
421
+ };
422
+
423
+ export declare const Subscription_ArchiveResult:
424
+ damlTypes.Serializable<Subscription_ArchiveResult> & {
425
+ }
426
+ ;
427
+
428
+
429
+ export declare type SubscriptionData = {
430
+ sender: damlTypes.Party;
431
+ receiver: damlTypes.Party;
432
+ provider: damlTypes.Party;
433
+ dso: damlTypes.Party;
434
+ description: string;
435
+ };
436
+
437
+ export declare const SubscriptionData:
438
+ damlTypes.Serializable<SubscriptionData> & {
439
+ }
440
+ ;
441
+
@@ -0,0 +1,4 @@
1
+ import * as Payment from './Payment';
2
+ export { Payment } ;
3
+ import * as Subscriptions from './Subscriptions';
4
+ export { Subscriptions } ;
@@ -0,0 +1,2 @@
1
+ import * as Wallet from './Wallet';
2
+ export { Wallet } ;
@@ -0,0 +1,3 @@
1
+ import * as Splice from './Splice';
2
+ export { Splice } ;
3
+ export declare const packageId = 'f80fae7a9de9431854372a66c3ca78675f77b2f54ede65abdc1b1abdec707d21';
@@ -0,0 +1 @@
1
+ export declare const PACKAGE_VERSION: string;
@@ -9,11 +9,11 @@
9
9
  * 4. Generate sdk-version.ts constant
10
10
  * 5. Compile TypeScript (tsc + tsc-alias)
11
11
  */
12
- import { join, dirname } from "path";
12
+ import { join, dirname, relative, sep } from "path";
13
13
  import { fileURLToPath } from "url";
14
14
  import { exec } from "child_process";
15
15
  import { promisify } from "util";
16
- import { writeFile, mkdir, readdir } from "fs/promises";
16
+ import { writeFile, mkdir, readdir, readFile, cp, unlink } from "fs/promises";
17
17
  import { existsSync } from "fs";
18
18
  const execAsync = promisify(exec);
19
19
  const __filename = fileURLToPath(import.meta.url);
@@ -134,6 +134,84 @@ async function compileTypeScript() {
134
134
  throw error;
135
135
  }
136
136
  }
137
+ async function embedSpliceCodegen() {
138
+ console.log("Embedding splice-codegen types...");
139
+ // Look for splice-codegen's .scribe/ in multiple locations:
140
+ // 1. Sibling workspace directory (../splice-codegen/.scribe)
141
+ // 2. node_modules (when installed as a dependency)
142
+ const candidates = [
143
+ join(projectRoot, "..", "splice-codegen", ".scribe"),
144
+ join(projectRoot, "node_modules", "@c7-digital", "splice-codegen", ".scribe"),
145
+ ];
146
+ const scribeDir = candidates.find(d => existsSync(d));
147
+ const vendorDir = join(projectRoot, "lib", "_vendor", "splice-codegen");
148
+ if (!scribeDir) {
149
+ throw new Error(`splice-codegen .scribe directory not found. Searched:\n${candidates.join("\n")}`);
150
+ }
151
+ // Copy .scribe/ into lib/_vendor/splice-codegen/ (dereference symlinks)
152
+ await cp(scribeDir, vendorDir, { recursive: true, dereference: true });
153
+ console.log(`Copied .scribe/ → ${vendorDir}`);
154
+ // Remove nested package.json files — they contain dependencies on
155
+ // @c7-digital/splice-codegen/* that would confuse pnpm during install.
156
+ // Only .d.ts files are needed for type resolution.
157
+ await removeNonTsFiles(vendorDir);
158
+ // Rewrite @c7-digital/splice-codegen imports in all .d.ts files under lib/
159
+ const libDir = join(projectRoot, "lib");
160
+ await rewriteImportsInDir(libDir, vendorDir);
161
+ console.log("splice-codegen types embedded successfully.");
162
+ }
163
+ async function removeNonTsFiles(dir) {
164
+ const entries = await readdir(dir, { withFileTypes: true });
165
+ for (const entry of entries) {
166
+ const fullPath = join(dir, entry.name);
167
+ if (entry.isDirectory()) {
168
+ await removeNonTsFiles(fullPath);
169
+ }
170
+ else if (entry.name === "package.json" || entry.name === "tsconfig.json" || entry.name.endsWith(".js")) {
171
+ await unlink(fullPath);
172
+ }
173
+ }
174
+ }
175
+ /**
176
+ * Recursively find .d.ts files and rewrite @c7-digital/splice-codegen imports
177
+ * to relative paths pointing into _vendor/splice-codegen/.
178
+ */
179
+ async function rewriteImportsInDir(dir, vendorDir) {
180
+ const entries = await readdir(dir, { withFileTypes: true });
181
+ for (const entry of entries) {
182
+ const fullPath = join(dir, entry.name);
183
+ if (entry.isDirectory()) {
184
+ await rewriteImportsInDir(fullPath, vendorDir);
185
+ }
186
+ else if (entry.name.endsWith(".d.ts")) {
187
+ let content = await readFile(fullPath, "utf-8");
188
+ if (!content.includes("@c7-digital/splice-codegen"))
189
+ continue;
190
+ content = content.replace(/from\s+(['"])@c7-digital\/splice-codegen(?:\/([^'"]*))?\1/g, (_match, quote, subpath) => {
191
+ const fileDir = dirname(fullPath);
192
+ if (subpath) {
193
+ // Subpath import: @c7-digital/splice-codegen/MODULE_NAME
194
+ // Resolves to vendorDir/MODULE_NAME/lib/index
195
+ const target = join(vendorDir, subpath, "lib", "index");
196
+ let rel = relative(fileDir, target).split(sep).join("/");
197
+ if (!rel.startsWith("."))
198
+ rel = "./" + rel;
199
+ return `from ${quote}${rel}${quote}`;
200
+ }
201
+ else {
202
+ // Root import: @c7-digital/splice-codegen
203
+ // Resolves to vendorDir/index
204
+ const target = join(vendorDir, "index");
205
+ let rel = relative(fileDir, target).split(sep).join("/");
206
+ if (!rel.startsWith("."))
207
+ rel = "./" + rel;
208
+ return `from ${quote}${rel}${quote}`;
209
+ }
210
+ });
211
+ await writeFile(fullPath, content, "utf-8");
212
+ }
213
+ }
214
+ }
137
215
  async function build() {
138
216
  console.log("Starting @c7-digital/scan build...\n");
139
217
  try {
@@ -147,6 +225,8 @@ async function build() {
147
225
  ]);
148
226
  // Compile TypeScript (depends on generated types)
149
227
  await compileTypeScript();
228
+ // Embed splice-codegen types into lib/ so consumers don't need it installed
229
+ await embedSpliceCodegen();
150
230
  console.log(`\nBuild completed successfully for Splice version: ${version}`);
151
231
  }
152
232
  catch (error) {
@@ -6,6 +6,7 @@
6
6
  */
7
7
  import { Party } from "@daml/types";
8
8
  import { operations, components } from "./generated/api.js";
9
+ import type * as Typed from "./types.js";
9
10
  /** ANS entry with `user` typed as Party (owner party ID). */
10
11
  export type AnsEntry = Omit<components["schemas"]["AnsEntry"], "user"> & {
11
12
  user: Party;
@@ -23,13 +24,7 @@ type LookupAnsEntryByNameResponse = {
23
24
  };
24
25
  type GetPartyToParticipantOperation = operations["getPartyToParticipant"];
25
26
  type GetPartyToParticipantResponse = GetPartyToParticipantOperation["responses"]["200"]["content"]["application/json"];
26
- type GetDsoInfoOperation = operations["getDsoInfo"];
27
- type GetDsoInfoResponseRaw = GetDsoInfoOperation["responses"]["200"]["content"]["application/json"];
28
- /** DSO info with sv_party_id and dso_party_id typed as Party. */
29
- type GetDsoInfoResponse = Omit<GetDsoInfoResponseRaw, "sv_party_id" | "dso_party_id"> & {
30
- sv_party_id: Party;
31
- dso_party_id: Party;
32
- };
27
+ type GetDsoInfoResponse = Typed.GetDsoInfoResponse;
33
28
  type GetDsoPartyIdResponse = {
34
29
  dso_party_id: Party;
35
30
  };
@@ -39,7 +34,7 @@ type ListDsoScansOperation = operations["listDsoScans"];
39
34
  type ListDsoScansResponse = ListDsoScansOperation["responses"]["200"]["content"]["application/json"];
40
35
  type ListValidatorLicensesOperation = operations["listValidatorLicenses"];
41
36
  type ListValidatorLicensesParams = ListValidatorLicensesOperation["parameters"]["query"];
42
- type ListValidatorLicensesResponse = ListValidatorLicensesOperation["responses"]["200"]["content"]["application/json"];
37
+ type ListValidatorLicensesResponse = Typed.ListValidatorLicensesResponse;
43
38
  type GetValidatorFaucetsOperation = operations["getValidatorFaucetsByValidator"];
44
39
  type GetValidatorFaucetsParams = GetValidatorFaucetsOperation["parameters"]["query"];
45
40
  type GetValidatorFaucetsResponse = GetValidatorFaucetsOperation["responses"]["200"]["content"]["application/json"];
@@ -66,19 +61,17 @@ type GetHoldingsStateResponse = GetHoldingsStateOperation["responses"]["200"]["c
66
61
  type GetHoldingsSummaryOperation = operations["getHoldingsSummaryAt"];
67
62
  type GetHoldingsSummaryRequest = GetHoldingsSummaryOperation["requestBody"]["content"]["application/json"];
68
63
  type GetHoldingsSummaryResponse = GetHoldingsSummaryOperation["responses"]["200"]["content"]["application/json"];
69
- type GetClosedRoundsOperation = operations["getClosedRounds"];
70
- type GetClosedRoundsResponse = GetClosedRoundsOperation["responses"]["200"]["content"]["application/json"];
64
+ type GetClosedRoundsResponse = Typed.GetClosedRoundsResponse;
71
65
  type GetOpenAndIssuingMiningRoundsOperation = operations["getOpenAndIssuingMiningRounds"];
72
66
  type GetOpenAndIssuingMiningRoundsRequest = GetOpenAndIssuingMiningRoundsOperation["requestBody"]["content"]["application/json"];
73
- type GetOpenAndIssuingMiningRoundsResponse = GetOpenAndIssuingMiningRoundsOperation["responses"]["200"]["content"]["application/json"];
67
+ type GetOpenAndIssuingMiningRoundsResponse = Typed.GetOpenAndIssuingMiningRoundsResponse;
74
68
  type GetEventsOperation = operations["getEventHistory"];
75
69
  type GetEventsRequest = GetEventsOperation["requestBody"]["content"]["application/json"];
76
70
  type GetEventsResponse = GetEventsOperation["responses"]["200"]["content"]["application/json"];
77
71
  type GetEventByIdOperation = operations["getEventById"];
78
72
  type GetEventByIdParams = GetEventByIdOperation["parameters"]["query"];
79
73
  type GetEventByIdResponse = GetEventByIdOperation["responses"]["200"]["content"]["application/json"];
80
- type ListUnclaimedDevelopmentFundCouponsOperation = operations["listUnclaimedDevelopmentFundCoupons"];
81
- type ListUnclaimedDevelopmentFundCouponsResponse = ListUnclaimedDevelopmentFundCouponsOperation["responses"]["200"]["content"]["application/json"];
74
+ type ListUnclaimedDevelopmentFundCouponsResponse = Typed.ListUnclaimedDevelopmentFundCouponsResponse;
82
75
  type GetHealthStatusOperation = operations["getHealthStatus"];
83
76
  type GetHealthStatusResponse = GetHealthStatusOperation["responses"]["200"]["content"]["application/json"];
84
77
  type GetVersionOperation = operations["getVersion"];
@@ -2,3 +2,4 @@ export { ScanClient, type ScanClientConfig, type AnsEntry } from "./client.js";
2
2
  export { type Logger, ConsoleLogger, NoOpLogger, logger, setLogger } from "./logger.js";
3
3
  export { SPLICE_VERSION } from "./generated/sdk-version.js";
4
4
  export type { paths, operations, components } from "./generated/api.js";
5
+ export type { Amulet, AmuletRules, Ans, DsoRules, ExternalPartyAmuletRules, Round, SvState, ValidatorLicense, Contract, ContractWithState, MaybeCachedContractWithState, GetDsoInfoResponse, ListValidatorLicensesResponse, GetClosedRoundsResponse, GetOpenAndIssuingMiningRoundsResponse, GetAmuletRulesResponse, GetExternalPartyAmuletRulesResponse, GetAnsRulesResponse, ListFeaturedAppRightsResponse, LookupFeaturedAppRightResponse, LookupTransferPreapprovalByPartyResponse, LookupTransferCommandCounterByPartyResponse, TransferCommandContractWithStatus, LookupTransferCommandStatusResponse, ListUnclaimedDevelopmentFundCouponsResponse, ListDsoRulesVoteRequestsResponse, } from "./types.js";