@fairmint/open-captable-protocol-daml-js 0.2.161 → 0.3.1

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/Fairmint/OpenCapTable/CapTable/module.js +2 -2
  2. package/lib/Fairmint/OpenCapTable/IssuerAuthorization/module.js +2 -2
  3. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleAcceptance/module.js +2 -2
  4. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleCancellation/module.js +2 -2
  5. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleConversion/module.js +2 -2
  6. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleIssuance/module.js +2 -2
  7. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleRetraction/module.js +2 -2
  8. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleTransfer/module.js +2 -2
  9. package/lib/Fairmint/OpenCapTable/OCF/Document/module.js +2 -2
  10. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationAcceptance/module.js +2 -2
  11. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationCancellation/module.js +2 -2
  12. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationExercise/module.js +2 -2
  13. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationIssuance/module.js +2 -2
  14. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRelease/module.js +2 -2
  15. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRepricing/module.js +2 -2
  16. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRetraction/module.js +2 -2
  17. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationTransfer/module.js +2 -2
  18. package/lib/Fairmint/OpenCapTable/OCF/Issuer/module.js +2 -2
  19. package/lib/Fairmint/OpenCapTable/OCF/IssuerAuthorizedSharesAdjustment/module.js +2 -2
  20. package/lib/Fairmint/OpenCapTable/OCF/Stakeholder/module.js +2 -2
  21. package/lib/Fairmint/OpenCapTable/OCF/StakeholderRelationshipChangeEvent/module.js +2 -2
  22. package/lib/Fairmint/OpenCapTable/OCF/StakeholderStatusChangeEvent/module.js +2 -2
  23. package/lib/Fairmint/OpenCapTable/OCF/StockAcceptance/module.js +2 -2
  24. package/lib/Fairmint/OpenCapTable/OCF/StockCancellation/module.js +2 -2
  25. package/lib/Fairmint/OpenCapTable/OCF/StockClass/module.js +2 -2
  26. package/lib/Fairmint/OpenCapTable/OCF/StockClassAuthorizedSharesAdjustment/module.js +2 -2
  27. package/lib/Fairmint/OpenCapTable/OCF/StockClassConversionRatioAdjustment/module.js +2 -2
  28. package/lib/Fairmint/OpenCapTable/OCF/StockClassSplit/module.js +2 -2
  29. package/lib/Fairmint/OpenCapTable/OCF/StockConsolidation/module.js +2 -2
  30. package/lib/Fairmint/OpenCapTable/OCF/StockConversion/module.js +2 -2
  31. package/lib/Fairmint/OpenCapTable/OCF/StockIssuance/module.js +2 -2
  32. package/lib/Fairmint/OpenCapTable/OCF/StockLegendTemplate/module.js +2 -2
  33. package/lib/Fairmint/OpenCapTable/OCF/StockPlan/module.js +2 -2
  34. package/lib/Fairmint/OpenCapTable/OCF/StockPlanPoolAdjustment/module.js +2 -2
  35. package/lib/Fairmint/OpenCapTable/OCF/StockPlanReturnToPool/module.js +2 -2
  36. package/lib/Fairmint/OpenCapTable/OCF/StockReissuance/module.js +2 -2
  37. package/lib/Fairmint/OpenCapTable/OCF/StockRepurchase/module.js +2 -2
  38. package/lib/Fairmint/OpenCapTable/OCF/StockRetraction/module.js +2 -2
  39. package/lib/Fairmint/OpenCapTable/OCF/StockTransfer/module.js +2 -2
  40. package/lib/Fairmint/OpenCapTable/OCF/Valuation/module.js +2 -2
  41. package/lib/Fairmint/OpenCapTable/OCF/VestingAcceleration/module.js +2 -2
  42. package/lib/Fairmint/OpenCapTable/OCF/VestingEvent/module.js +2 -2
  43. package/lib/Fairmint/OpenCapTable/OCF/VestingStart/module.js +2 -2
  44. package/lib/Fairmint/OpenCapTable/OCF/VestingTerms/module.js +2 -2
  45. package/lib/Fairmint/OpenCapTable/OCF/WarrantAcceptance/module.js +2 -2
  46. package/lib/Fairmint/OpenCapTable/OCF/WarrantCancellation/module.js +2 -2
  47. package/lib/Fairmint/OpenCapTable/OCF/WarrantExercise/module.js +2 -2
  48. package/lib/Fairmint/OpenCapTable/OCF/WarrantIssuance/module.js +2 -2
  49. package/lib/Fairmint/OpenCapTable/OCF/WarrantRetraction/module.js +2 -2
  50. package/lib/Fairmint/OpenCapTable/OCF/WarrantTransfer/module.js +2 -2
  51. package/lib/Fairmint/OpenCapTable/OcpFactory/module.js +2 -2
  52. package/lib/Fairmint/index.d.ts +0 -1
  53. package/lib/Fairmint/index.js +0 -2
  54. package/lib/index.d.ts +1 -3
  55. package/lib/index.js +0 -4
  56. package/package.json +7 -31
  57. package/published-dars/OpenCapTable.dar +0 -0
  58. package/generated/paymentStreams-factory-contract-id.json +0 -22
  59. package/generated/reports-factory-contract-id.json +0 -10
  60. package/lib/CantonPayments/Airdrop/Airdrop/index.d.ts +0 -1
  61. package/lib/CantonPayments/Airdrop/Airdrop/index.js +0 -8
  62. package/lib/CantonPayments/Airdrop/Airdrop/module.d.ts +0 -113
  63. package/lib/CantonPayments/Airdrop/Airdrop/module.js +0 -180
  64. package/lib/CantonPayments/Airdrop/AirdropFactory/index.d.ts +0 -1
  65. package/lib/CantonPayments/Airdrop/AirdropFactory/index.js +0 -8
  66. package/lib/CantonPayments/Airdrop/AirdropFactory/module.d.ts +0 -64
  67. package/lib/CantonPayments/Airdrop/AirdropFactory/module.js +0 -100
  68. package/lib/CantonPayments/Airdrop/PersonalAirdrop/index.d.ts +0 -1
  69. package/lib/CantonPayments/Airdrop/PersonalAirdrop/index.js +0 -8
  70. package/lib/CantonPayments/Airdrop/PersonalAirdrop/module.d.ts +0 -60
  71. package/lib/CantonPayments/Airdrop/PersonalAirdrop/module.js +0 -96
  72. package/lib/CantonPayments/Airdrop/SimpleAirdrop/index.d.ts +0 -1
  73. package/lib/CantonPayments/Airdrop/SimpleAirdrop/index.js +0 -8
  74. package/lib/CantonPayments/Airdrop/SimpleAirdrop/module.d.ts +0 -64
  75. package/lib/CantonPayments/Airdrop/SimpleAirdrop/module.js +0 -95
  76. package/lib/CantonPayments/Airdrop/index.d.ts +0 -8
  77. package/lib/CantonPayments/Airdrop/index.js +0 -15
  78. package/lib/CantonPayments/PaymentStream/ActivePaymentStream/index.d.ts +0 -1
  79. package/lib/CantonPayments/PaymentStream/ActivePaymentStream/index.js +0 -8
  80. package/lib/CantonPayments/PaymentStream/ActivePaymentStream/module.d.ts +0 -215
  81. package/lib/CantonPayments/PaymentStream/ActivePaymentStream/module.js +0 -354
  82. package/lib/CantonPayments/PaymentStream/PartyMigrationProposal/index.d.ts +0 -1
  83. package/lib/CantonPayments/PaymentStream/PartyMigrationProposal/index.js +0 -8
  84. package/lib/CantonPayments/PaymentStream/PartyMigrationProposal/module.d.ts +0 -82
  85. package/lib/CantonPayments/PaymentStream/PartyMigrationProposal/module.js +0 -136
  86. package/lib/CantonPayments/PaymentStream/PaymentStreamFactory/index.d.ts +0 -1
  87. package/lib/CantonPayments/PaymentStream/PaymentStreamFactory/index.js +0 -8
  88. package/lib/CantonPayments/PaymentStream/PaymentStreamFactory/module.d.ts +0 -46
  89. package/lib/CantonPayments/PaymentStream/PaymentStreamFactory/module.js +0 -73
  90. package/lib/CantonPayments/PaymentStream/ProposedPaymentStream/index.d.ts +0 -1
  91. package/lib/CantonPayments/PaymentStream/ProposedPaymentStream/index.js +0 -8
  92. package/lib/CantonPayments/PaymentStream/ProposedPaymentStream/module.d.ts +0 -97
  93. package/lib/CantonPayments/PaymentStream/ProposedPaymentStream/module.js +0 -160
  94. package/lib/CantonPayments/PaymentStream/Types/ActivePaymentStreamData/index.d.ts +0 -1
  95. package/lib/CantonPayments/PaymentStream/Types/ActivePaymentStreamData/index.js +0 -8
  96. package/lib/CantonPayments/PaymentStream/Types/ActivePaymentStreamData/module.d.ts +0 -23
  97. package/lib/CantonPayments/PaymentStream/Types/ActivePaymentStreamData/module.js +0 -30
  98. package/lib/CantonPayments/PaymentStream/Types/Approvals/index.d.ts +0 -1
  99. package/lib/CantonPayments/PaymentStream/Types/Approvals/index.js +0 -8
  100. package/lib/CantonPayments/PaymentStream/Types/Approvals/module.d.ts +0 -18
  101. package/lib/CantonPayments/PaymentStream/Types/Approvals/module.js +0 -25
  102. package/lib/CantonPayments/PaymentStream/Types/LockFundsInput/index.d.ts +0 -1
  103. package/lib/CantonPayments/PaymentStream/Types/LockFundsInput/index.js +0 -8
  104. package/lib/CantonPayments/PaymentStream/Types/LockFundsInput/module.d.ts +0 -22
  105. package/lib/CantonPayments/PaymentStream/Types/LockFundsInput/module.js +0 -29
  106. package/lib/CantonPayments/PaymentStream/Types/PartyRole/index.d.ts +0 -1
  107. package/lib/CantonPayments/PaymentStream/Types/PartyRole/index.js +0 -8
  108. package/lib/CantonPayments/PaymentStream/Types/PartyRole/module.d.ts +0 -19
  109. package/lib/CantonPayments/PaymentStream/Types/PartyRole/module.js +0 -22
  110. package/lib/CantonPayments/PaymentStream/Types/PaymentContext/index.d.ts +0 -1
  111. package/lib/CantonPayments/PaymentStream/Types/PaymentContext/index.js +0 -8
  112. package/lib/CantonPayments/PaymentStream/Types/PaymentContext/module.d.ts +0 -20
  113. package/lib/CantonPayments/PaymentStream/Types/PaymentContext/module.js +0 -27
  114. package/lib/CantonPayments/PaymentStream/Types/PaymentResult/index.d.ts +0 -1
  115. package/lib/CantonPayments/PaymentStream/Types/PaymentResult/index.js +0 -8
  116. package/lib/CantonPayments/PaymentStream/Types/PaymentResult/module.d.ts +0 -20
  117. package/lib/CantonPayments/PaymentStream/Types/PaymentResult/module.js +0 -28
  118. package/lib/CantonPayments/PaymentStream/Types/PaymentStream/index.d.ts +0 -1
  119. package/lib/CantonPayments/PaymentStream/Types/PaymentStream/index.js +0 -8
  120. package/lib/CantonPayments/PaymentStream/Types/PaymentStream/module.d.ts +0 -32
  121. package/lib/CantonPayments/PaymentStream/Types/PaymentStream/module.js +0 -39
  122. package/lib/CantonPayments/PaymentStream/Types/PaymentStreamAmount/index.d.ts +0 -1
  123. package/lib/CantonPayments/PaymentStream/Types/PaymentStreamAmount/index.js +0 -8
  124. package/lib/CantonPayments/PaymentStream/Types/PaymentStreamAmount/module.d.ts +0 -17
  125. package/lib/CantonPayments/PaymentStream/Types/PaymentStreamAmount/module.js +0 -25
  126. package/lib/CantonPayments/PaymentStream/Types/PaymentStreamChanges/index.d.ts +0 -1
  127. package/lib/CantonPayments/PaymentStream/Types/PaymentStreamChanges/index.js +0 -8
  128. package/lib/CantonPayments/PaymentStream/Types/PaymentStreamChanges/module.d.ts +0 -32
  129. package/lib/CantonPayments/PaymentStream/Types/PaymentStreamChanges/module.js +0 -39
  130. package/lib/CantonPayments/PaymentStream/Types/PaymentStreamProposal/index.d.ts +0 -1
  131. package/lib/CantonPayments/PaymentStream/Types/PaymentStreamProposal/index.js +0 -8
  132. package/lib/CantonPayments/PaymentStream/Types/PaymentStreamProposal/module.d.ts +0 -33
  133. package/lib/CantonPayments/PaymentStream/Types/PaymentStreamProposal/module.js +0 -40
  134. package/lib/CantonPayments/PaymentStream/Types/PaymentStreamProposalChanges/index.d.ts +0 -1
  135. package/lib/CantonPayments/PaymentStream/Types/PaymentStreamProposalChanges/index.js +0 -8
  136. package/lib/CantonPayments/PaymentStream/Types/PaymentStreamProposalChanges/module.d.ts +0 -33
  137. package/lib/CantonPayments/PaymentStream/Types/PaymentStreamProposalChanges/module.js +0 -40
  138. package/lib/CantonPayments/PaymentStream/Types/PaymentStreamStats/index.d.ts +0 -1
  139. package/lib/CantonPayments/PaymentStream/Types/PaymentStreamStats/index.js +0 -8
  140. package/lib/CantonPayments/PaymentStream/Types/PaymentStreamStats/module.d.ts +0 -22
  141. package/lib/CantonPayments/PaymentStream/Types/PaymentStreamStats/module.js +0 -29
  142. package/lib/CantonPayments/PaymentStream/Types/PaymentStreamTime/index.d.ts +0 -1
  143. package/lib/CantonPayments/PaymentStream/Types/PaymentStreamTime/index.js +0 -8
  144. package/lib/CantonPayments/PaymentStream/Types/PaymentStreamTime/module.d.ts +0 -19
  145. package/lib/CantonPayments/PaymentStream/Types/PaymentStreamTime/module.js +0 -27
  146. package/lib/CantonPayments/PaymentStream/Types/ProcessFreeTrialResult/index.d.ts +0 -1
  147. package/lib/CantonPayments/PaymentStream/Types/ProcessFreeTrialResult/index.js +0 -8
  148. package/lib/CantonPayments/PaymentStream/Types/ProcessFreeTrialResult/module.d.ts +0 -18
  149. package/lib/CantonPayments/PaymentStream/Types/ProcessFreeTrialResult/module.js +0 -26
  150. package/lib/CantonPayments/PaymentStream/Types/ProcessorContext/index.d.ts +0 -1
  151. package/lib/CantonPayments/PaymentStream/Types/ProcessorContext/index.js +0 -8
  152. package/lib/CantonPayments/PaymentStream/Types/ProcessorContext/module.d.ts +0 -17
  153. package/lib/CantonPayments/PaymentStream/Types/ProcessorContext/module.js +0 -24
  154. package/lib/CantonPayments/PaymentStream/Types/index.d.ts +0 -30
  155. package/lib/CantonPayments/PaymentStream/Types/index.js +0 -37
  156. package/lib/CantonPayments/PaymentStream/index.d.ts +0 -10
  157. package/lib/CantonPayments/PaymentStream/index.js +0 -17
  158. package/lib/CantonPayments/index.d.ts +0 -4
  159. package/lib/CantonPayments/index.js +0 -11
  160. package/lib/Fairmint/OpenCapTableReports/CompanyValuationReport/index.d.ts +0 -1
  161. package/lib/Fairmint/OpenCapTableReports/CompanyValuationReport/index.js +0 -8
  162. package/lib/Fairmint/OpenCapTableReports/CompanyValuationReport/module.d.ts +0 -53
  163. package/lib/Fairmint/OpenCapTableReports/CompanyValuationReport/module.js +0 -89
  164. package/lib/Fairmint/OpenCapTableReports/ReportsFactory/index.d.ts +0 -1
  165. package/lib/Fairmint/OpenCapTableReports/ReportsFactory/index.js +0 -8
  166. package/lib/Fairmint/OpenCapTableReports/ReportsFactory/module.d.ts +0 -42
  167. package/lib/Fairmint/OpenCapTableReports/ReportsFactory/module.js +0 -69
  168. package/lib/Fairmint/OpenCapTableReports/index.d.ts +0 -4
  169. package/lib/Fairmint/OpenCapTableReports/index.js +0 -11
  170. package/lib/Nft/Api/V1/Nft/index.d.ts +0 -1
  171. package/lib/Nft/Api/V1/Nft/index.js +0 -8
  172. package/lib/Nft/Api/V1/Nft/module.d.ts +0 -20
  173. package/lib/Nft/Api/V1/Nft/module.js +0 -31
  174. package/lib/Nft/Api/V1/Types/index.d.ts +0 -1
  175. package/lib/Nft/Api/V1/Types/index.js +0 -8
  176. package/lib/Nft/Api/V1/Types/module.d.ts +0 -179
  177. package/lib/Nft/Api/V1/Types/module.js +0 -218
  178. package/lib/Nft/Api/V1/index.d.ts +0 -4
  179. package/lib/Nft/Api/V1/index.js +0 -11
  180. package/lib/Nft/Api/index.d.ts +0 -2
  181. package/lib/Nft/Api/index.js +0 -9
  182. package/lib/Nft/Reference/V1/NftAsset/index.d.ts +0 -1
  183. package/lib/Nft/Reference/V1/NftAsset/index.js +0 -8
  184. package/lib/Nft/Reference/V1/NftAsset/module.d.ts +0 -105
  185. package/lib/Nft/Reference/V1/NftAsset/module.js +0 -183
  186. package/lib/Nft/Reference/V1/NftRegistry/index.d.ts +0 -1
  187. package/lib/Nft/Reference/V1/NftRegistry/index.js +0 -8
  188. package/lib/Nft/Reference/V1/NftRegistry/module.d.ts +0 -97
  189. package/lib/Nft/Reference/V1/NftRegistry/module.js +0 -150
  190. package/lib/Nft/Reference/V1/ReceiveAuthorization/index.d.ts +0 -1
  191. package/lib/Nft/Reference/V1/ReceiveAuthorization/index.js +0 -8
  192. package/lib/Nft/Reference/V1/ReceiveAuthorization/module.d.ts +0 -41
  193. package/lib/Nft/Reference/V1/ReceiveAuthorization/module.js +0 -68
  194. package/lib/Nft/Reference/V1/index.d.ts +0 -6
  195. package/lib/Nft/Reference/V1/index.js +0 -13
  196. package/lib/Nft/Reference/index.d.ts +0 -2
  197. package/lib/Nft/Reference/index.js +0 -9
  198. package/lib/Nft/index.d.ts +0 -2
  199. package/lib/Nft/index.js +0 -6
  200. package/lib/nft-api-v01-package-namespace.d.ts +0 -4
  201. package/lib/nft-api-v01-package-namespace.js +0 -4
  202. package/types/paymentStreams-factory-contract-id-json.d.ts +0 -24
  203. package/types/reports-factory-contract-id-json.d.ts +0 -12
@@ -1,354 +0,0 @@
1
- "use strict";
2
- /* eslint-disable-next-line no-unused-vars */
3
- function __export(m) {
4
- /* eslint-disable-next-line no-prototype-builtins */
5
- for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
6
- }
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- /* eslint-disable-next-line no-unused-vars */
9
- var jtv = require('@mojotech/json-type-validation');
10
- /* eslint-disable-next-line no-unused-vars */
11
- var damlTypes = require('@daml/types');
12
-
13
- var pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4 = require('../../../__bundled__/daml-prim-DA-Types');
14
- var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = require('../../../__bundled__/ghc-stdlib-DA-Internal-Template');
15
- var pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946 = require('../../../__bundled__/daml-stdlib-DA-Time-Types');
16
- var pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23 = require('../../..');
17
-
18
- var CantonPayments_PaymentStream_Types_Approvals = require('../../../CantonPayments/PaymentStream/Types/Approvals/module');
19
- var CantonPayments_PaymentStream_Types_LockFundsInput = require('../../../CantonPayments/PaymentStream/Types/LockFundsInput/module');
20
- var CantonPayments_PaymentStream_Types_PartyRole = require('../../../CantonPayments/PaymentStream/Types/PartyRole/module');
21
- var CantonPayments_PaymentStream_Types_PaymentContext = require('../../../CantonPayments/PaymentStream/Types/PaymentContext/module');
22
- var CantonPayments_PaymentStream_Types_PaymentResult = require('../../../CantonPayments/PaymentStream/Types/PaymentResult/module');
23
- var CantonPayments_PaymentStream_Types_PaymentStream = require('../../../CantonPayments/PaymentStream/Types/PaymentStream/module');
24
- var CantonPayments_PaymentStream_Types_PaymentStreamChanges = require('../../../CantonPayments/PaymentStream/Types/PaymentStreamChanges/module');
25
- var CantonPayments_PaymentStream_Types_PaymentStreamStats = require('../../../CantonPayments/PaymentStream/Types/PaymentStreamStats/module');
26
- var CantonPayments_PaymentStream_Types_ProcessFreeTrialResult = require('../../../CantonPayments/PaymentStream/Types/ProcessFreeTrialResult/module');
27
- var CantonPayments_PaymentStream_Types_ProcessorContext = require('../../../CantonPayments/PaymentStream/Types/ProcessorContext/module');
28
-
29
-
30
- exports.PaymentStreamChangeProposal_Reject = {
31
- decoder: damlTypes.lazyMemo(function () { return jtv.object({actor: damlTypes.Party.decoder, description: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), }); }),
32
- encode: function (__typed__) {
33
- return {
34
- actor: damlTypes.Party.encode(__typed__.actor),
35
- description: damlTypes.Optional(damlTypes.Text).encode(__typed__.description),
36
- };
37
- }
38
- ,
39
- };
40
-
41
-
42
-
43
- exports.PaymentStreamChangeProposal_Apply = {
44
- decoder: damlTypes.lazyMemo(function () { return jtv.object({actor: damlTypes.Party.decoder, activePaymentStreamCid: damlTypes.ContractId(exports.ActivePaymentStream).decoder, }); }),
45
- encode: function (__typed__) {
46
- return {
47
- actor: damlTypes.Party.encode(__typed__.actor),
48
- activePaymentStreamCid: damlTypes.ContractId(exports.ActivePaymentStream).encode(__typed__.activePaymentStreamCid),
49
- };
50
- }
51
- ,
52
- };
53
-
54
-
55
-
56
- exports.PaymentStreamChangeProposal_Approve = {
57
- decoder: damlTypes.lazyMemo(function () { return jtv.object({actor: damlTypes.Party.decoder, }); }),
58
- encode: function (__typed__) {
59
- return {
60
- actor: damlTypes.Party.encode(__typed__.actor),
61
- };
62
- }
63
- ,
64
- };
65
-
66
-
67
-
68
- exports.PaymentStreamChangeProposal = damlTypes.assembleTemplate(
69
- {
70
- templateId: '#CantonPayments:CantonPayments.PaymentStream.ActivePaymentStream:PaymentStreamChangeProposal',
71
- templateIdWithPackageId: '6b6a969fa6a621479a29fcf7fb2d9596317545eabc088ed4c62c43c0c0ac2173:CantonPayments.PaymentStream.ActivePaymentStream:PaymentStreamChangeProposal',
72
- keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
73
- keyEncode: function () { throw 'EncodeError'; },
74
- decoder: damlTypes.lazyMemo(function () { return jtv.object({paymentStream: CantonPayments_PaymentStream_Types_PaymentStream.PaymentStream.decoder, processorContext: CantonPayments_PaymentStream_Types_ProcessorContext.ProcessorContext.decoder, paymentStreamChanges: CantonPayments_PaymentStream_Types_PaymentStreamChanges.PaymentStreamChanges.decoder, approvals: CantonPayments_PaymentStream_Types_Approvals.Approvals.decoder, }); }),
75
- encode: function (__typed__) {
76
- return {
77
- paymentStream: CantonPayments_PaymentStream_Types_PaymentStream.PaymentStream.encode(__typed__.paymentStream),
78
- processorContext: CantonPayments_PaymentStream_Types_ProcessorContext.ProcessorContext.encode(__typed__.processorContext),
79
- paymentStreamChanges: CantonPayments_PaymentStream_Types_PaymentStreamChanges.PaymentStreamChanges.encode(__typed__.paymentStreamChanges),
80
- approvals: CantonPayments_PaymentStream_Types_Approvals.Approvals.encode(__typed__.approvals),
81
- };
82
- }
83
- ,
84
- PaymentStreamChangeProposal_Approve: {
85
- template: function () { return exports.PaymentStreamChangeProposal; },
86
- choiceName: 'PaymentStreamChangeProposal_Approve',
87
- argumentDecoder: damlTypes.lazyMemo(function () { return exports.PaymentStreamChangeProposal_Approve.decoder; }),
88
- argumentEncode: function (__typed__) { return exports.PaymentStreamChangeProposal_Approve.encode(__typed__); },
89
- resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.ContractId(exports.PaymentStreamChangeProposal).decoder; }),
90
- resultEncode: function (__typed__) { return damlTypes.ContractId(exports.PaymentStreamChangeProposal).encode(__typed__); },
91
- },
92
- PaymentStreamChangeProposal_Apply: {
93
- template: function () { return exports.PaymentStreamChangeProposal; },
94
- choiceName: 'PaymentStreamChangeProposal_Apply',
95
- argumentDecoder: damlTypes.lazyMemo(function () { return exports.PaymentStreamChangeProposal_Apply.decoder; }),
96
- argumentEncode: function (__typed__) { return exports.PaymentStreamChangeProposal_Apply.encode(__typed__); },
97
- resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.ContractId(exports.ActivePaymentStream).decoder; }),
98
- resultEncode: function (__typed__) { return damlTypes.ContractId(exports.ActivePaymentStream).encode(__typed__); },
99
- },
100
- PaymentStreamChangeProposal_Reject: {
101
- template: function () { return exports.PaymentStreamChangeProposal; },
102
- choiceName: 'PaymentStreamChangeProposal_Reject',
103
- argumentDecoder: damlTypes.lazyMemo(function () { return exports.PaymentStreamChangeProposal_Reject.decoder; }),
104
- argumentEncode: function (__typed__) { return exports.PaymentStreamChangeProposal_Reject.encode(__typed__); },
105
- resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
106
- resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
107
- },
108
- Archive: {
109
- template: function () { return exports.PaymentStreamChangeProposal; },
110
- choiceName: 'Archive',
111
- argumentDecoder: damlTypes.lazyMemo(function () { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder; }),
112
- argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
113
- resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
114
- resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
115
- },
116
- }
117
-
118
- );
119
-
120
-
121
- damlTypes.registerTemplate(exports.PaymentStreamChangeProposal, ['6b6a969fa6a621479a29fcf7fb2d9596317545eabc088ed4c62c43c0c0ac2173', '#CantonPayments']);
122
-
123
-
124
-
125
- exports.ActivePaymentStream_ChangeParty = {
126
- decoder: damlTypes.lazyMemo(function () { return jtv.object({partyType: CantonPayments_PaymentStream_Types_PartyRole.PartyRole.decoder, oldParty: damlTypes.Party.decoder, newParty: damlTypes.Party.decoder, changePartyPaymentContext: CantonPayments_PaymentStream_Types_PaymentContext.PaymentContext.decoder, }); }),
127
- encode: function (__typed__) {
128
- return {
129
- partyType: CantonPayments_PaymentStream_Types_PartyRole.PartyRole.encode(__typed__.partyType),
130
- oldParty: damlTypes.Party.encode(__typed__.oldParty),
131
- newParty: damlTypes.Party.encode(__typed__.newParty),
132
- changePartyPaymentContext: CantonPayments_PaymentStream_Types_PaymentContext.PaymentContext.encode(__typed__.changePartyPaymentContext),
133
- };
134
- }
135
- ,
136
- };
137
-
138
-
139
-
140
- exports.ActivePaymentStream_ArchiveInactivePaymentStream = {
141
- decoder: damlTypes.lazyMemo(function () { return jtv.object({actor: damlTypes.Party.decoder, paymentContext: CantonPayments_PaymentStream_Types_PaymentContext.PaymentContext.decoder, }); }),
142
- encode: function (__typed__) {
143
- return {
144
- actor: damlTypes.Party.encode(__typed__.actor),
145
- paymentContext: CantonPayments_PaymentStream_Types_PaymentContext.PaymentContext.encode(__typed__.paymentContext),
146
- };
147
- }
148
- ,
149
- };
150
-
151
-
152
-
153
- exports.ActivePaymentStream_WithdrawFunds = {
154
- decoder: damlTypes.lazyMemo(function () { return jtv.object({amountToKeepLocked: damlTypes.Numeric(10).decoder, paymentContext: CantonPayments_PaymentStream_Types_PaymentContext.PaymentContext.decoder, }); }),
155
- encode: function (__typed__) {
156
- return {
157
- amountToKeepLocked: damlTypes.Numeric(10).encode(__typed__.amountToKeepLocked),
158
- paymentContext: CantonPayments_PaymentStream_Types_PaymentContext.PaymentContext.encode(__typed__.paymentContext),
159
- };
160
- }
161
- ,
162
- };
163
-
164
-
165
-
166
- exports.ActivePaymentStream_AddFunds = {
167
- decoder: damlTypes.lazyMemo(function () { return jtv.object({actor: damlTypes.Party.decoder, lockFundsInput: CantonPayments_PaymentStream_Types_LockFundsInput.LockFundsInput.decoder, description: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), }); }),
168
- encode: function (__typed__) {
169
- return {
170
- actor: damlTypes.Party.encode(__typed__.actor),
171
- lockFundsInput: CantonPayments_PaymentStream_Types_LockFundsInput.LockFundsInput.encode(__typed__.lockFundsInput),
172
- description: damlTypes.Optional(damlTypes.Text).encode(__typed__.description),
173
- };
174
- }
175
- ,
176
- };
177
-
178
-
179
-
180
- exports.ActivePaymentStream_Refund = {
181
- decoder: damlTypes.lazyMemo(function () { return jtv.object({paymentContext: CantonPayments_PaymentStream_Types_PaymentContext.PaymentContext.decoder, recipientAmuletInputs: damlTypes.List(damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Amulet)).decoder, recipientFeaturedAppRight: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.FeaturedAppRight)).decoder), }); }),
182
- encode: function (__typed__) {
183
- return {
184
- paymentContext: CantonPayments_PaymentStream_Types_PaymentContext.PaymentContext.encode(__typed__.paymentContext),
185
- recipientAmuletInputs: damlTypes.List(damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Amulet)).encode(__typed__.recipientAmuletInputs),
186
- recipientFeaturedAppRight: damlTypes.Optional(damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.FeaturedAppRight)).encode(__typed__.recipientFeaturedAppRight),
187
- };
188
- }
189
- ,
190
- };
191
-
192
-
193
-
194
- exports.ActivePaymentStream_Cancel = {
195
- decoder: damlTypes.lazyMemo(function () { return jtv.object({actor: damlTypes.Party.decoder, disregardAvailablePaidPeriod: damlTypes.Bool.decoder, description: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), openMiningRoundCid: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.OpenMiningRound)).decoder), }); }),
196
- encode: function (__typed__) {
197
- return {
198
- actor: damlTypes.Party.encode(__typed__.actor),
199
- disregardAvailablePaidPeriod: damlTypes.Bool.encode(__typed__.disregardAvailablePaidPeriod),
200
- description: damlTypes.Optional(damlTypes.Text).encode(__typed__.description),
201
- openMiningRoundCid: damlTypes.Optional(damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.OpenMiningRound)).encode(__typed__.openMiningRoundCid),
202
- };
203
- }
204
- ,
205
- };
206
-
207
-
208
-
209
- exports.ActivePaymentStream_ProposeChanges = {
210
- decoder: damlTypes.lazyMemo(function () { return jtv.object({actor: damlTypes.Party.decoder, paymentStreamChanges: CantonPayments_PaymentStream_Types_PaymentStreamChanges.PaymentStreamChanges.decoder, description: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), }); }),
211
- encode: function (__typed__) {
212
- return {
213
- actor: damlTypes.Party.encode(__typed__.actor),
214
- paymentStreamChanges: CantonPayments_PaymentStream_Types_PaymentStreamChanges.PaymentStreamChanges.encode(__typed__.paymentStreamChanges),
215
- description: damlTypes.Optional(damlTypes.Text).encode(__typed__.description),
216
- };
217
- }
218
- ,
219
- };
220
-
221
-
222
-
223
- exports.ActivePaymentStream_ProcessPayment = {
224
- decoder: damlTypes.lazyMemo(function () { return jtv.object({processingPeriod: pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime.decoder, paymentContext: CantonPayments_PaymentStream_Types_PaymentContext.PaymentContext.decoder, skipProcessorPayment: damlTypes.Bool.decoder, activityMarkerFeaturedAppRightCid: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.FeaturedAppRight)).decoder), }); }),
225
- encode: function (__typed__) {
226
- return {
227
- processingPeriod: pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime.encode(__typed__.processingPeriod),
228
- paymentContext: CantonPayments_PaymentStream_Types_PaymentContext.PaymentContext.encode(__typed__.paymentContext),
229
- skipProcessorPayment: damlTypes.Bool.encode(__typed__.skipProcessorPayment),
230
- activityMarkerFeaturedAppRightCid: damlTypes.Optional(damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.FeaturedAppRight)).encode(__typed__.activityMarkerFeaturedAppRightCid),
231
- };
232
- }
233
- ,
234
- };
235
-
236
-
237
-
238
- exports.ActivePaymentStream_ProcessFreeTrial = {
239
- decoder: damlTypes.lazyMemo(function () { return jtv.object({processingPeriod: pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime.decoder, featuredAppRight: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.FeaturedAppRight)).decoder), }); }),
240
- encode: function (__typed__) {
241
- return {
242
- processingPeriod: pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime.encode(__typed__.processingPeriod),
243
- featuredAppRight: damlTypes.Optional(damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.FeaturedAppRight)).encode(__typed__.featuredAppRight),
244
- };
245
- }
246
- ,
247
- };
248
-
249
-
250
-
251
- exports.ActivePaymentStream = damlTypes.assembleTemplate(
252
- {
253
- templateId: '#CantonPayments:CantonPayments.PaymentStream.ActivePaymentStream:ActivePaymentStream',
254
- templateIdWithPackageId: '6b6a969fa6a621479a29fcf7fb2d9596317545eabc088ed4c62c43c0c0ac2173:CantonPayments.PaymentStream.ActivePaymentStream:ActivePaymentStream',
255
- keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
256
- keyEncode: function () { throw 'EncodeError'; },
257
- decoder: damlTypes.lazyMemo(function () { return jtv.object({paymentStream: CantonPayments_PaymentStream_Types_PaymentStream.PaymentStream.decoder, processorContext: CantonPayments_PaymentStream_Types_ProcessorContext.ProcessorContext.decoder, processedAndPaidUntil: damlTypes.Time.decoder, lockedAmuletCid: damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.LockedAmulet).decoder, stats: CantonPayments_PaymentStream_Types_PaymentStreamStats.PaymentStreamStats.decoder, }); }),
258
- encode: function (__typed__) {
259
- return {
260
- paymentStream: CantonPayments_PaymentStream_Types_PaymentStream.PaymentStream.encode(__typed__.paymentStream),
261
- processorContext: CantonPayments_PaymentStream_Types_ProcessorContext.ProcessorContext.encode(__typed__.processorContext),
262
- processedAndPaidUntil: damlTypes.Time.encode(__typed__.processedAndPaidUntil),
263
- lockedAmuletCid: damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.LockedAmulet).encode(__typed__.lockedAmuletCid),
264
- stats: CantonPayments_PaymentStream_Types_PaymentStreamStats.PaymentStreamStats.encode(__typed__.stats),
265
- };
266
- }
267
- ,
268
- ActivePaymentStream_ProcessFreeTrial: {
269
- template: function () { return exports.ActivePaymentStream; },
270
- choiceName: 'ActivePaymentStream_ProcessFreeTrial',
271
- argumentDecoder: damlTypes.lazyMemo(function () { return exports.ActivePaymentStream_ProcessFreeTrial.decoder; }),
272
- argumentEncode: function (__typed__) { return exports.ActivePaymentStream_ProcessFreeTrial.encode(__typed__); },
273
- resultDecoder: damlTypes.lazyMemo(function () { return CantonPayments_PaymentStream_Types_ProcessFreeTrialResult.ProcessFreeTrialResult(exports.ActivePaymentStream).decoder; }),
274
- resultEncode: function (__typed__) { return CantonPayments_PaymentStream_Types_ProcessFreeTrialResult.ProcessFreeTrialResult(exports.ActivePaymentStream).encode(__typed__); },
275
- },
276
- ActivePaymentStream_ProcessPayment: {
277
- template: function () { return exports.ActivePaymentStream; },
278
- choiceName: 'ActivePaymentStream_ProcessPayment',
279
- argumentDecoder: damlTypes.lazyMemo(function () { return exports.ActivePaymentStream_ProcessPayment.decoder; }),
280
- argumentEncode: function (__typed__) { return exports.ActivePaymentStream_ProcessPayment.encode(__typed__); },
281
- resultDecoder: damlTypes.lazyMemo(function () { return CantonPayments_PaymentStream_Types_PaymentResult.ProcessPaymentResult(exports.ActivePaymentStream).decoder; }),
282
- resultEncode: function (__typed__) { return CantonPayments_PaymentStream_Types_PaymentResult.ProcessPaymentResult(exports.ActivePaymentStream).encode(__typed__); },
283
- },
284
- ActivePaymentStream_ProposeChanges: {
285
- template: function () { return exports.ActivePaymentStream; },
286
- choiceName: 'ActivePaymentStream_ProposeChanges',
287
- argumentDecoder: damlTypes.lazyMemo(function () { return exports.ActivePaymentStream_ProposeChanges.decoder; }),
288
- argumentEncode: function (__typed__) { return exports.ActivePaymentStream_ProposeChanges.encode(__typed__); },
289
- resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.ContractId(exports.PaymentStreamChangeProposal).decoder; }),
290
- resultEncode: function (__typed__) { return damlTypes.ContractId(exports.PaymentStreamChangeProposal).encode(__typed__); },
291
- },
292
- ActivePaymentStream_Cancel: {
293
- template: function () { return exports.ActivePaymentStream; },
294
- choiceName: 'ActivePaymentStream_Cancel',
295
- argumentDecoder: damlTypes.lazyMemo(function () { return exports.ActivePaymentStream_Cancel.decoder; }),
296
- argumentEncode: function (__typed__) { return exports.ActivePaymentStream_Cancel.encode(__typed__); },
297
- resultDecoder: damlTypes.lazyMemo(function () { return pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Tuple2(damlTypes.Optional(damlTypes.ContractId(exports.ActivePaymentStream)), damlTypes.Optional(damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Amulet))).decoder; }),
298
- resultEncode: function (__typed__) { return pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Tuple2(damlTypes.Optional(damlTypes.ContractId(exports.ActivePaymentStream)), damlTypes.Optional(damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Amulet))).encode(__typed__); },
299
- },
300
- ActivePaymentStream_Refund: {
301
- template: function () { return exports.ActivePaymentStream; },
302
- choiceName: 'ActivePaymentStream_Refund',
303
- argumentDecoder: damlTypes.lazyMemo(function () { return exports.ActivePaymentStream_Refund.decoder; }),
304
- argumentEncode: function (__typed__) { return exports.ActivePaymentStream_Refund.encode(__typed__); },
305
- resultDecoder: damlTypes.lazyMemo(function () { return pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Tuple2(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.TransferResult, damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Amulet)).decoder; }),
306
- resultEncode: function (__typed__) { return pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Tuple2(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.TransferResult, damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Amulet)).encode(__typed__); },
307
- },
308
- ActivePaymentStream_AddFunds: {
309
- template: function () { return exports.ActivePaymentStream; },
310
- choiceName: 'ActivePaymentStream_AddFunds',
311
- argumentDecoder: damlTypes.lazyMemo(function () { return exports.ActivePaymentStream_AddFunds.decoder; }),
312
- argumentEncode: function (__typed__) { return exports.ActivePaymentStream_AddFunds.encode(__typed__); },
313
- resultDecoder: damlTypes.lazyMemo(function () { return pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Tuple2(damlTypes.ContractId(exports.ActivePaymentStream), damlTypes.Optional(damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Amulet))).decoder; }),
314
- resultEncode: function (__typed__) { return pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Tuple2(damlTypes.ContractId(exports.ActivePaymentStream), damlTypes.Optional(damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Amulet))).encode(__typed__); },
315
- },
316
- ActivePaymentStream_WithdrawFunds: {
317
- template: function () { return exports.ActivePaymentStream; },
318
- choiceName: 'ActivePaymentStream_WithdrawFunds',
319
- argumentDecoder: damlTypes.lazyMemo(function () { return exports.ActivePaymentStream_WithdrawFunds.decoder; }),
320
- argumentEncode: function (__typed__) { return exports.ActivePaymentStream_WithdrawFunds.encode(__typed__); },
321
- resultDecoder: damlTypes.lazyMemo(function () { return pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Tuple2(damlTypes.ContractId(exports.ActivePaymentStream), damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Amulet)).decoder; }),
322
- resultEncode: function (__typed__) { return pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Tuple2(damlTypes.ContractId(exports.ActivePaymentStream), damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Amulet)).encode(__typed__); },
323
- },
324
- ActivePaymentStream_ArchiveInactivePaymentStream: {
325
- template: function () { return exports.ActivePaymentStream; },
326
- choiceName: 'ActivePaymentStream_ArchiveInactivePaymentStream',
327
- argumentDecoder: damlTypes.lazyMemo(function () { return exports.ActivePaymentStream_ArchiveInactivePaymentStream.decoder; }),
328
- argumentEncode: function (__typed__) { return exports.ActivePaymentStream_ArchiveInactivePaymentStream.encode(__typed__); },
329
- resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Amulet).decoder; }),
330
- resultEncode: function (__typed__) { return damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Amulet).encode(__typed__); },
331
- },
332
- ActivePaymentStream_ChangeParty: {
333
- template: function () { return exports.ActivePaymentStream; },
334
- choiceName: 'ActivePaymentStream_ChangeParty',
335
- argumentDecoder: damlTypes.lazyMemo(function () { return exports.ActivePaymentStream_ChangeParty.decoder; }),
336
- argumentEncode: function (__typed__) { return exports.ActivePaymentStream_ChangeParty.encode(__typed__); },
337
- resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.ContractId(exports.ActivePaymentStream).decoder; }),
338
- resultEncode: function (__typed__) { return damlTypes.ContractId(exports.ActivePaymentStream).encode(__typed__); },
339
- },
340
- Archive: {
341
- template: function () { return exports.ActivePaymentStream; },
342
- choiceName: 'Archive',
343
- argumentDecoder: damlTypes.lazyMemo(function () { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder; }),
344
- argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
345
- resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
346
- resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
347
- },
348
- }
349
-
350
- );
351
-
352
-
353
- damlTypes.registerTemplate(exports.ActivePaymentStream, ['6b6a969fa6a621479a29fcf7fb2d9596317545eabc088ed4c62c43c0c0ac2173', '#CantonPayments']);
354
-
@@ -1 +0,0 @@
1
- export * from './module';
@@ -1,8 +0,0 @@
1
- "use strict";
2
- /* eslint-disable-next-line no-unused-vars */
3
- function __export(m) {
4
- /* eslint-disable-next-line no-prototype-builtins */
5
- for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
6
- }
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- __export(require('./module'));
@@ -1,82 +0,0 @@
1
- // Generated from CantonPayments/PaymentStream/PartyMigrationProposal.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 pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '../../../__bundled__/ghc-stdlib-DA-Internal-Template';
9
-
10
- import * as CantonPayments_PaymentStream_ActivePaymentStream from '../../../CantonPayments/PaymentStream/ActivePaymentStream/module';
11
- import * as CantonPayments_PaymentStream_ProposedPaymentStream from '../../../CantonPayments/PaymentStream/ProposedPaymentStream/module';
12
- import * as CantonPayments_PaymentStream_Types_PartyRole from '../../../CantonPayments/PaymentStream/Types/PartyRole/module';
13
- import * as CantonPayments_PaymentStream_Types_PaymentContext from '../../../CantonPayments/PaymentStream/Types/PaymentContext/module';
14
-
15
- export declare type PartyMigrationProposal_Archive = {
16
- actor: damlTypes.Party;
17
- description: damlTypes.Optional<string>;
18
- };
19
-
20
- export declare const PartyMigrationProposal_Archive:
21
- damlTypes.Serializable<PartyMigrationProposal_Archive> & {
22
- }
23
- ;
24
-
25
-
26
- export declare type PartyMigrationProposal_MigrateProposedPaymentStream = {
27
- actor: damlTypes.Party;
28
- proposedPaymentStreamCid: damlTypes.ContractId<CantonPayments_PaymentStream_ProposedPaymentStream.ProposedPaymentStream>;
29
- };
30
-
31
- export declare const PartyMigrationProposal_MigrateProposedPaymentStream:
32
- damlTypes.Serializable<PartyMigrationProposal_MigrateProposedPaymentStream> & {
33
- }
34
- ;
35
-
36
-
37
- export declare type PartyMigrationProposal_MigrateActivePaymentStream = {
38
- actor: damlTypes.Party;
39
- activePaymentStreamCid: damlTypes.ContractId<CantonPayments_PaymentStream_ActivePaymentStream.ActivePaymentStream>;
40
- changePartyPaymentContext: CantonPayments_PaymentStream_Types_PaymentContext.PaymentContext;
41
- };
42
-
43
- export declare const PartyMigrationProposal_MigrateActivePaymentStream:
44
- damlTypes.Serializable<PartyMigrationProposal_MigrateActivePaymentStream> & {
45
- }
46
- ;
47
-
48
-
49
- export declare type PartyMigrationProposal_Approve = {
50
- actor: damlTypes.Party;
51
- };
52
-
53
- export declare const PartyMigrationProposal_Approve:
54
- damlTypes.Serializable<PartyMigrationProposal_Approve> & {
55
- }
56
- ;
57
-
58
-
59
- export declare type PartyMigrationProposal = {
60
- partyType: CantonPayments_PaymentStream_Types_PartyRole.PartyRole;
61
- oldParty: damlTypes.Party;
62
- newParty: damlTypes.Party;
63
- oldPartyApproved: boolean;
64
- newPartyApproved: boolean;
65
- };
66
-
67
- export declare interface PartyMigrationProposalInterface {
68
- PartyMigrationProposal_Approve: damlTypes.Choice<PartyMigrationProposal, PartyMigrationProposal_Approve, damlTypes.ContractId<PartyMigrationProposal>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<PartyMigrationProposal, undefined>>;
69
- PartyMigrationProposal_MigrateActivePaymentStream: damlTypes.Choice<PartyMigrationProposal, PartyMigrationProposal_MigrateActivePaymentStream, damlTypes.ContractId<CantonPayments_PaymentStream_ActivePaymentStream.ActivePaymentStream>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<PartyMigrationProposal, undefined>>;
70
- PartyMigrationProposal_MigrateProposedPaymentStream: damlTypes.Choice<PartyMigrationProposal, PartyMigrationProposal_MigrateProposedPaymentStream, damlTypes.ContractId<CantonPayments_PaymentStream_ProposedPaymentStream.ProposedPaymentStream>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<PartyMigrationProposal, undefined>>;
71
- PartyMigrationProposal_Archive: damlTypes.Choice<PartyMigrationProposal, PartyMigrationProposal_Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<PartyMigrationProposal, undefined>>;
72
- Archive: damlTypes.Choice<PartyMigrationProposal, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<PartyMigrationProposal, undefined>>;
73
- }
74
- export declare const PartyMigrationProposal:
75
- damlTypes.Template<PartyMigrationProposal, undefined, '#CantonPayments:CantonPayments.PaymentStream.PartyMigrationProposal:PartyMigrationProposal'> &
76
- damlTypes.ToInterface<PartyMigrationProposal, never> &
77
- PartyMigrationProposalInterface;
78
-
79
- export declare namespace PartyMigrationProposal {
80
- }
81
-
82
-
@@ -1,136 +0,0 @@
1
- "use strict";
2
- /* eslint-disable-next-line no-unused-vars */
3
- function __export(m) {
4
- /* eslint-disable-next-line no-prototype-builtins */
5
- for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
6
- }
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- /* eslint-disable-next-line no-unused-vars */
9
- var jtv = require('@mojotech/json-type-validation');
10
- /* eslint-disable-next-line no-unused-vars */
11
- var damlTypes = require('@daml/types');
12
-
13
- var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = require('../../../__bundled__/ghc-stdlib-DA-Internal-Template');
14
-
15
- var CantonPayments_PaymentStream_ActivePaymentStream = require('../../../CantonPayments/PaymentStream/ActivePaymentStream/module');
16
- var CantonPayments_PaymentStream_ProposedPaymentStream = require('../../../CantonPayments/PaymentStream/ProposedPaymentStream/module');
17
- var CantonPayments_PaymentStream_Types_PartyRole = require('../../../CantonPayments/PaymentStream/Types/PartyRole/module');
18
- var CantonPayments_PaymentStream_Types_PaymentContext = require('../../../CantonPayments/PaymentStream/Types/PaymentContext/module');
19
-
20
-
21
- exports.PartyMigrationProposal_Archive = {
22
- decoder: damlTypes.lazyMemo(function () { return jtv.object({actor: damlTypes.Party.decoder, description: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), }); }),
23
- encode: function (__typed__) {
24
- return {
25
- actor: damlTypes.Party.encode(__typed__.actor),
26
- description: damlTypes.Optional(damlTypes.Text).encode(__typed__.description),
27
- };
28
- }
29
- ,
30
- };
31
-
32
-
33
-
34
- exports.PartyMigrationProposal_MigrateProposedPaymentStream = {
35
- decoder: damlTypes.lazyMemo(function () { return jtv.object({actor: damlTypes.Party.decoder, proposedPaymentStreamCid: damlTypes.ContractId(CantonPayments_PaymentStream_ProposedPaymentStream.ProposedPaymentStream).decoder, }); }),
36
- encode: function (__typed__) {
37
- return {
38
- actor: damlTypes.Party.encode(__typed__.actor),
39
- proposedPaymentStreamCid: damlTypes.ContractId(CantonPayments_PaymentStream_ProposedPaymentStream.ProposedPaymentStream).encode(__typed__.proposedPaymentStreamCid),
40
- };
41
- }
42
- ,
43
- };
44
-
45
-
46
-
47
- exports.PartyMigrationProposal_MigrateActivePaymentStream = {
48
- decoder: damlTypes.lazyMemo(function () { return jtv.object({actor: damlTypes.Party.decoder, activePaymentStreamCid: damlTypes.ContractId(CantonPayments_PaymentStream_ActivePaymentStream.ActivePaymentStream).decoder, changePartyPaymentContext: CantonPayments_PaymentStream_Types_PaymentContext.PaymentContext.decoder, }); }),
49
- encode: function (__typed__) {
50
- return {
51
- actor: damlTypes.Party.encode(__typed__.actor),
52
- activePaymentStreamCid: damlTypes.ContractId(CantonPayments_PaymentStream_ActivePaymentStream.ActivePaymentStream).encode(__typed__.activePaymentStreamCid),
53
- changePartyPaymentContext: CantonPayments_PaymentStream_Types_PaymentContext.PaymentContext.encode(__typed__.changePartyPaymentContext),
54
- };
55
- }
56
- ,
57
- };
58
-
59
-
60
-
61
- exports.PartyMigrationProposal_Approve = {
62
- decoder: damlTypes.lazyMemo(function () { return jtv.object({actor: damlTypes.Party.decoder, }); }),
63
- encode: function (__typed__) {
64
- return {
65
- actor: damlTypes.Party.encode(__typed__.actor),
66
- };
67
- }
68
- ,
69
- };
70
-
71
-
72
-
73
- exports.PartyMigrationProposal = damlTypes.assembleTemplate(
74
- {
75
- templateId: '#CantonPayments:CantonPayments.PaymentStream.PartyMigrationProposal:PartyMigrationProposal',
76
- templateIdWithPackageId: '6b6a969fa6a621479a29fcf7fb2d9596317545eabc088ed4c62c43c0c0ac2173:CantonPayments.PaymentStream.PartyMigrationProposal:PartyMigrationProposal',
77
- keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
78
- keyEncode: function () { throw 'EncodeError'; },
79
- decoder: damlTypes.lazyMemo(function () { return jtv.object({partyType: CantonPayments_PaymentStream_Types_PartyRole.PartyRole.decoder, oldParty: damlTypes.Party.decoder, newParty: damlTypes.Party.decoder, oldPartyApproved: damlTypes.Bool.decoder, newPartyApproved: damlTypes.Bool.decoder, }); }),
80
- encode: function (__typed__) {
81
- return {
82
- partyType: CantonPayments_PaymentStream_Types_PartyRole.PartyRole.encode(__typed__.partyType),
83
- oldParty: damlTypes.Party.encode(__typed__.oldParty),
84
- newParty: damlTypes.Party.encode(__typed__.newParty),
85
- oldPartyApproved: damlTypes.Bool.encode(__typed__.oldPartyApproved),
86
- newPartyApproved: damlTypes.Bool.encode(__typed__.newPartyApproved),
87
- };
88
- }
89
- ,
90
- PartyMigrationProposal_Approve: {
91
- template: function () { return exports.PartyMigrationProposal; },
92
- choiceName: 'PartyMigrationProposal_Approve',
93
- argumentDecoder: damlTypes.lazyMemo(function () { return exports.PartyMigrationProposal_Approve.decoder; }),
94
- argumentEncode: function (__typed__) { return exports.PartyMigrationProposal_Approve.encode(__typed__); },
95
- resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.ContractId(exports.PartyMigrationProposal).decoder; }),
96
- resultEncode: function (__typed__) { return damlTypes.ContractId(exports.PartyMigrationProposal).encode(__typed__); },
97
- },
98
- PartyMigrationProposal_MigrateActivePaymentStream: {
99
- template: function () { return exports.PartyMigrationProposal; },
100
- choiceName: 'PartyMigrationProposal_MigrateActivePaymentStream',
101
- argumentDecoder: damlTypes.lazyMemo(function () { return exports.PartyMigrationProposal_MigrateActivePaymentStream.decoder; }),
102
- argumentEncode: function (__typed__) { return exports.PartyMigrationProposal_MigrateActivePaymentStream.encode(__typed__); },
103
- resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.ContractId(CantonPayments_PaymentStream_ActivePaymentStream.ActivePaymentStream).decoder; }),
104
- resultEncode: function (__typed__) { return damlTypes.ContractId(CantonPayments_PaymentStream_ActivePaymentStream.ActivePaymentStream).encode(__typed__); },
105
- },
106
- PartyMigrationProposal_MigrateProposedPaymentStream: {
107
- template: function () { return exports.PartyMigrationProposal; },
108
- choiceName: 'PartyMigrationProposal_MigrateProposedPaymentStream',
109
- argumentDecoder: damlTypes.lazyMemo(function () { return exports.PartyMigrationProposal_MigrateProposedPaymentStream.decoder; }),
110
- argumentEncode: function (__typed__) { return exports.PartyMigrationProposal_MigrateProposedPaymentStream.encode(__typed__); },
111
- resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.ContractId(CantonPayments_PaymentStream_ProposedPaymentStream.ProposedPaymentStream).decoder; }),
112
- resultEncode: function (__typed__) { return damlTypes.ContractId(CantonPayments_PaymentStream_ProposedPaymentStream.ProposedPaymentStream).encode(__typed__); },
113
- },
114
- PartyMigrationProposal_Archive: {
115
- template: function () { return exports.PartyMigrationProposal; },
116
- choiceName: 'PartyMigrationProposal_Archive',
117
- argumentDecoder: damlTypes.lazyMemo(function () { return exports.PartyMigrationProposal_Archive.decoder; }),
118
- argumentEncode: function (__typed__) { return exports.PartyMigrationProposal_Archive.encode(__typed__); },
119
- resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
120
- resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
121
- },
122
- Archive: {
123
- template: function () { return exports.PartyMigrationProposal; },
124
- choiceName: 'Archive',
125
- argumentDecoder: damlTypes.lazyMemo(function () { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder; }),
126
- argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
127
- resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
128
- resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
129
- },
130
- }
131
-
132
- );
133
-
134
-
135
- damlTypes.registerTemplate(exports.PartyMigrationProposal, ['6b6a969fa6a621479a29fcf7fb2d9596317545eabc088ed4c62c43c0c0ac2173', '#CantonPayments']);
136
-
@@ -1 +0,0 @@
1
- export * from './module';
@@ -1,8 +0,0 @@
1
- "use strict";
2
- /* eslint-disable-next-line no-unused-vars */
3
- function __export(m) {
4
- /* eslint-disable-next-line no-prototype-builtins */
5
- for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
6
- }
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- __export(require('./module'));
@@ -1,46 +0,0 @@
1
- // Generated from CantonPayments/PaymentStream/PaymentStreamFactory.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 pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4 from '../../../__bundled__/daml-prim-DA-Types';
9
- import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '../../../__bundled__/ghc-stdlib-DA-Internal-Template';
10
- import * as pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23 from '../../..';
11
-
12
- import * as CantonPayments_PaymentStream_ActivePaymentStream from '../../../CantonPayments/PaymentStream/ActivePaymentStream/module';
13
- import * as CantonPayments_PaymentStream_ProposedPaymentStream from '../../../CantonPayments/PaymentStream/ProposedPaymentStream/module';
14
- import * as CantonPayments_PaymentStream_Types_LockFundsInput from '../../../CantonPayments/PaymentStream/Types/LockFundsInput/module';
15
- import * as CantonPayments_PaymentStream_Types_PaymentStreamProposal from '../../../CantonPayments/PaymentStream/Types/PaymentStreamProposal/module';
16
- import * as CantonPayments_PaymentStream_Types_ProcessorContext from '../../../CantonPayments/PaymentStream/Types/ProcessorContext/module';
17
-
18
- export declare type PaymentStreamFactory_CreatePaymentStreamProposal = {
19
- actor: damlTypes.Party;
20
- paymentStreamProposal: CantonPayments_PaymentStream_Types_PaymentStreamProposal.PaymentStreamProposal;
21
- lockFundsInput: damlTypes.Optional<CantonPayments_PaymentStream_Types_LockFundsInput.LockFundsInput>;
22
- };
23
-
24
- export declare const PaymentStreamFactory_CreatePaymentStreamProposal:
25
- damlTypes.Serializable<PaymentStreamFactory_CreatePaymentStreamProposal> & {
26
- }
27
- ;
28
-
29
-
30
- export declare type PaymentStreamFactory = {
31
- processorContext: CantonPayments_PaymentStream_Types_ProcessorContext.ProcessorContext;
32
- };
33
-
34
- export declare interface PaymentStreamFactoryInterface {
35
- Archive: damlTypes.Choice<PaymentStreamFactory, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<PaymentStreamFactory, undefined>>;
36
- PaymentStreamFactory_CreatePaymentStreamProposal: damlTypes.Choice<PaymentStreamFactory, PaymentStreamFactory_CreatePaymentStreamProposal, pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Either<damlTypes.ContractId<CantonPayments_PaymentStream_ProposedPaymentStream.ProposedPaymentStream>, pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4.DA.Types.Tuple2<damlTypes.ContractId<CantonPayments_PaymentStream_ActivePaymentStream.ActivePaymentStream>, damlTypes.Optional<damlTypes.ContractId<pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Splice.Amulet.Amulet>>>>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<PaymentStreamFactory, undefined>>;
37
- }
38
- export declare const PaymentStreamFactory:
39
- damlTypes.Template<PaymentStreamFactory, undefined, '#CantonPayments:CantonPayments.PaymentStream.PaymentStreamFactory:PaymentStreamFactory'> &
40
- damlTypes.ToInterface<PaymentStreamFactory, never> &
41
- PaymentStreamFactoryInterface;
42
-
43
- export declare namespace PaymentStreamFactory {
44
- }
45
-
46
-