@fairmint/open-captable-protocol-daml-js 0.2.35 → 0.2.37

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 (123) hide show
  1. package/README.md +1 -1
  2. package/generated/paymentStreams-factory-contract-id.json +22 -0
  3. package/generated/{subscriptions-factory-contract-id.json.d.ts → paymentStreams-factory-contract-id.json.d.ts} +2 -2
  4. package/lib/CantonPayments/PaymentStream/ActivePaymentStream/module.d.ts +225 -0
  5. package/lib/CantonPayments/PaymentStream/ActivePaymentStream/module.js +354 -0
  6. package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/PartyMigrationProposal/module.d.ts +18 -18
  7. package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/PartyMigrationProposal/module.js +27 -27
  8. package/lib/CantonPayments/PaymentStream/PaymentStreamFactory/module.d.ts +52 -0
  9. package/lib/CantonPayments/PaymentStream/PaymentStreamFactory/module.js +74 -0
  10. package/lib/CantonPayments/PaymentStream/ProposedPaymentStream/module.d.ts +103 -0
  11. package/lib/CantonPayments/PaymentStream/ProposedPaymentStream/module.js +161 -0
  12. package/lib/CantonPayments/PaymentStream/Types/ActivePaymentStreamData/module.d.ts +25 -0
  13. package/lib/CantonPayments/PaymentStream/Types/ActivePaymentStreamData/module.js +32 -0
  14. package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/Types/Approvals/module.d.ts +2 -2
  15. package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/Types/Approvals/module.js +2 -2
  16. package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/Types/LockFundsInput/module.d.ts +3 -3
  17. package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/Types/LockFundsInput/module.js +3 -3
  18. package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/Types/PartyRole/module.d.ts +2 -2
  19. package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/Types/PartyRole/module.js +3 -3
  20. package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/Types/PaymentContext/module.d.ts +1 -1
  21. package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/Types/PaymentResult/module.d.ts +4 -2
  22. package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/Types/PaymentResult/module.js +4 -2
  23. package/lib/{Fairmint/Subscriptions/Types/Subscription → CantonPayments/PaymentStream/Types/PaymentStream}/module.d.ts +8 -8
  24. package/lib/{Fairmint/Subscriptions/Types/Subscription → CantonPayments/PaymentStream/Types/PaymentStream}/module.js +6 -6
  25. package/lib/{Fairmint/Subscriptions/Types/SubscriptionAmount → CantonPayments/PaymentStream/Types/PaymentStreamAmount}/module.d.ts +4 -4
  26. package/lib/{Fairmint/Subscriptions/Types/SubscriptionAmount → CantonPayments/PaymentStream/Types/PaymentStreamAmount}/module.js +2 -2
  27. package/lib/{Fairmint/Subscriptions/Types/SubscriptionChanges → CantonPayments/PaymentStream/Types/PaymentStreamChanges}/module.d.ts +10 -10
  28. package/lib/{Fairmint/Subscriptions/Types/SubscriptionChanges → CantonPayments/PaymentStream/Types/PaymentStreamChanges}/module.js +8 -8
  29. package/lib/{Fairmint/Subscriptions/Types/SubscriptionProposal → CantonPayments/PaymentStream/Types/PaymentStreamProposal}/module.d.ts +11 -11
  30. package/lib/CantonPayments/PaymentStream/Types/PaymentStreamProposal/module.js +42 -0
  31. package/lib/{Fairmint/Subscriptions/Types/SubscriptionProposalChanges → CantonPayments/PaymentStream/Types/PaymentStreamProposalChanges}/module.d.ts +11 -11
  32. package/lib/CantonPayments/PaymentStream/Types/PaymentStreamProposalChanges/module.js +42 -0
  33. package/lib/{Fairmint/Subscriptions/Types/SubscriptionStats → CantonPayments/PaymentStream/Types/PaymentStreamStats}/module.d.ts +6 -6
  34. package/lib/{Fairmint/Subscriptions/Types/SubscriptionStats → CantonPayments/PaymentStream/Types/PaymentStreamStats}/module.js +4 -4
  35. package/lib/{Fairmint/Subscriptions/Types/SubscriptionTime → CantonPayments/PaymentStream/Types/PaymentStreamTime}/module.d.ts +4 -4
  36. package/lib/{Fairmint/Subscriptions/Types/SubscriptionTime → CantonPayments/PaymentStream/Types/PaymentStreamTime}/module.js +2 -2
  37. package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/Types/ProcessFreeTrialResult/module.d.ts +2 -2
  38. package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/Types/ProcessFreeTrialResult/module.js +2 -2
  39. package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/Types/ProcessorContext/module.d.ts +1 -1
  40. package/lib/CantonPayments/PaymentStream/Types/index.d.ts +30 -0
  41. package/lib/CantonPayments/PaymentStream/Types/index.js +37 -0
  42. package/lib/CantonPayments/PaymentStream/index.d.ts +10 -0
  43. package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/index.js +6 -6
  44. package/lib/CantonPayments/index.d.ts +2 -0
  45. package/lib/CantonPayments/index.js +9 -0
  46. package/lib/Fairmint/OpenCapTable/ConvertibleIssuance/module.js +1 -1
  47. package/lib/Fairmint/OpenCapTable/Document/module.js +1 -1
  48. package/lib/Fairmint/OpenCapTable/EquityCompensationExercise/module.js +1 -1
  49. package/lib/Fairmint/OpenCapTable/EquityCompensationIssuance/module.js +1 -1
  50. package/lib/Fairmint/OpenCapTable/Issuer/module.js +1 -1
  51. package/lib/Fairmint/OpenCapTable/IssuerAuthorization/module.js +1 -1
  52. package/lib/Fairmint/OpenCapTable/IssuerAuthorizedSharesAdjustment/module.js +1 -1
  53. package/lib/Fairmint/OpenCapTable/OcpFactory/module.js +1 -1
  54. package/lib/Fairmint/OpenCapTable/Stakeholder/module.js +1 -1
  55. package/lib/Fairmint/OpenCapTable/StockCancellation/module.js +1 -1
  56. package/lib/Fairmint/OpenCapTable/StockClass/module.js +1 -1
  57. package/lib/Fairmint/OpenCapTable/StockClassAuthorizedSharesAdjustment/module.js +1 -1
  58. package/lib/Fairmint/OpenCapTable/StockIssuance/module.js +1 -1
  59. package/lib/Fairmint/OpenCapTable/StockLegendTemplate/module.js +1 -1
  60. package/lib/Fairmint/OpenCapTable/StockPlan/module.js +1 -1
  61. package/lib/Fairmint/OpenCapTable/StockPlanPoolAdjustment/module.js +1 -1
  62. package/lib/Fairmint/OpenCapTable/Valuation/module.js +1 -1
  63. package/lib/Fairmint/OpenCapTable/VestingTerms/module.js +1 -1
  64. package/lib/Fairmint/OpenCapTable/WarrantIssuance/module.js +1 -1
  65. package/lib/Fairmint/index.d.ts +0 -1
  66. package/lib/Fairmint/index.js +0 -2
  67. package/lib/index.d.ts +2 -1
  68. package/lib/index.js +2 -0
  69. package/package.json +12 -12
  70. package/generated/subscriptions-factory-contract-id.json +0 -22
  71. package/lib/Fairmint/Subscriptions/ActiveSubscription/module.d.ts +0 -224
  72. package/lib/Fairmint/Subscriptions/ActiveSubscription/module.js +0 -353
  73. package/lib/Fairmint/Subscriptions/ProposedSubscription/module.d.ts +0 -103
  74. package/lib/Fairmint/Subscriptions/ProposedSubscription/module.js +0 -161
  75. package/lib/Fairmint/Subscriptions/SubscriptionFactory/module.d.ts +0 -52
  76. package/lib/Fairmint/Subscriptions/SubscriptionFactory/module.js +0 -74
  77. package/lib/Fairmint/Subscriptions/Types/ActiveSubscriptionData/module.d.ts +0 -25
  78. package/lib/Fairmint/Subscriptions/Types/ActiveSubscriptionData/module.js +0 -32
  79. package/lib/Fairmint/Subscriptions/Types/SubscriptionProposal/module.js +0 -42
  80. package/lib/Fairmint/Subscriptions/Types/SubscriptionProposalChanges/module.js +0 -42
  81. package/lib/Fairmint/Subscriptions/Types/index.d.ts +0 -30
  82. package/lib/Fairmint/Subscriptions/Types/index.js +0 -37
  83. package/lib/Fairmint/Subscriptions/index.d.ts +0 -10
  84. /package/lib/{Fairmint/Subscriptions/ActiveSubscription → CantonPayments/PaymentStream/ActivePaymentStream}/index.d.ts +0 -0
  85. /package/lib/{Fairmint/Subscriptions/ActiveSubscription → CantonPayments/PaymentStream/ActivePaymentStream}/index.js +0 -0
  86. /package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/PartyMigrationProposal/index.d.ts +0 -0
  87. /package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/PartyMigrationProposal/index.js +0 -0
  88. /package/lib/{Fairmint/Subscriptions/ProposedSubscription → CantonPayments/PaymentStream/PaymentStreamFactory}/index.d.ts +0 -0
  89. /package/lib/{Fairmint/Subscriptions/ProposedSubscription → CantonPayments/PaymentStream/PaymentStreamFactory}/index.js +0 -0
  90. /package/lib/{Fairmint/Subscriptions/SubscriptionFactory → CantonPayments/PaymentStream/ProposedPaymentStream}/index.d.ts +0 -0
  91. /package/lib/{Fairmint/Subscriptions/SubscriptionFactory → CantonPayments/PaymentStream/ProposedPaymentStream}/index.js +0 -0
  92. /package/lib/{Fairmint/Subscriptions/Types/ActiveSubscriptionData → CantonPayments/PaymentStream/Types/ActivePaymentStreamData}/index.d.ts +0 -0
  93. /package/lib/{Fairmint/Subscriptions/Types/ActiveSubscriptionData → CantonPayments/PaymentStream/Types/ActivePaymentStreamData}/index.js +0 -0
  94. /package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/Types/Approvals/index.d.ts +0 -0
  95. /package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/Types/Approvals/index.js +0 -0
  96. /package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/Types/LockFundsInput/index.d.ts +0 -0
  97. /package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/Types/LockFundsInput/index.js +0 -0
  98. /package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/Types/PartyRole/index.d.ts +0 -0
  99. /package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/Types/PartyRole/index.js +0 -0
  100. /package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/Types/PaymentContext/index.d.ts +0 -0
  101. /package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/Types/PaymentContext/index.js +0 -0
  102. /package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/Types/PaymentContext/module.js +0 -0
  103. /package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/Types/PaymentResult/index.d.ts +0 -0
  104. /package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/Types/PaymentResult/index.js +0 -0
  105. /package/lib/{Fairmint/Subscriptions/Types/ProcessFreeTrialResult → CantonPayments/PaymentStream/Types/PaymentStream}/index.d.ts +0 -0
  106. /package/lib/{Fairmint/Subscriptions/Types/ProcessFreeTrialResult → CantonPayments/PaymentStream/Types/PaymentStream}/index.js +0 -0
  107. /package/lib/{Fairmint/Subscriptions/Types/ProcessorContext → CantonPayments/PaymentStream/Types/PaymentStreamAmount}/index.d.ts +0 -0
  108. /package/lib/{Fairmint/Subscriptions/Types/ProcessorContext → CantonPayments/PaymentStream/Types/PaymentStreamAmount}/index.js +0 -0
  109. /package/lib/{Fairmint/Subscriptions/Types/Subscription → CantonPayments/PaymentStream/Types/PaymentStreamChanges}/index.d.ts +0 -0
  110. /package/lib/{Fairmint/Subscriptions/Types/Subscription → CantonPayments/PaymentStream/Types/PaymentStreamChanges}/index.js +0 -0
  111. /package/lib/{Fairmint/Subscriptions/Types/SubscriptionAmount → CantonPayments/PaymentStream/Types/PaymentStreamProposal}/index.d.ts +0 -0
  112. /package/lib/{Fairmint/Subscriptions/Types/SubscriptionAmount → CantonPayments/PaymentStream/Types/PaymentStreamProposal}/index.js +0 -0
  113. /package/lib/{Fairmint/Subscriptions/Types/SubscriptionChanges → CantonPayments/PaymentStream/Types/PaymentStreamProposalChanges}/index.d.ts +0 -0
  114. /package/lib/{Fairmint/Subscriptions/Types/SubscriptionChanges → CantonPayments/PaymentStream/Types/PaymentStreamProposalChanges}/index.js +0 -0
  115. /package/lib/{Fairmint/Subscriptions/Types/SubscriptionProposal → CantonPayments/PaymentStream/Types/PaymentStreamStats}/index.d.ts +0 -0
  116. /package/lib/{Fairmint/Subscriptions/Types/SubscriptionProposal → CantonPayments/PaymentStream/Types/PaymentStreamStats}/index.js +0 -0
  117. /package/lib/{Fairmint/Subscriptions/Types/SubscriptionProposalChanges → CantonPayments/PaymentStream/Types/PaymentStreamTime}/index.d.ts +0 -0
  118. /package/lib/{Fairmint/Subscriptions/Types/SubscriptionProposalChanges → CantonPayments/PaymentStream/Types/PaymentStreamTime}/index.js +0 -0
  119. /package/lib/{Fairmint/Subscriptions/Types/SubscriptionStats → CantonPayments/PaymentStream/Types/ProcessFreeTrialResult}/index.d.ts +0 -0
  120. /package/lib/{Fairmint/Subscriptions/Types/SubscriptionStats → CantonPayments/PaymentStream/Types/ProcessFreeTrialResult}/index.js +0 -0
  121. /package/lib/{Fairmint/Subscriptions/Types/SubscriptionTime → CantonPayments/PaymentStream/Types/ProcessorContext}/index.d.ts +0 -0
  122. /package/lib/{Fairmint/Subscriptions/Types/SubscriptionTime → CantonPayments/PaymentStream/Types/ProcessorContext}/index.js +0 -0
  123. /package/lib/{Fairmint/Subscriptions → CantonPayments/PaymentStream}/Types/ProcessorContext/module.js +0 -0
@@ -0,0 +1,32 @@
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
+ /* eslint-disable-next-line no-unused-vars */
13
+ var damlLedger = require('@daml/ledger');
14
+
15
+ var CantonPayments_PaymentStream_Types_PaymentStream = require('../../../../CantonPayments/PaymentStream/Types/PaymentStream/module');
16
+ var CantonPayments_PaymentStream_Types_PaymentStreamStats = require('../../../../CantonPayments/PaymentStream/Types/PaymentStreamStats/module');
17
+ var CantonPayments_PaymentStream_Types_ProcessorContext = require('../../../../CantonPayments/PaymentStream/Types/ProcessorContext/module');
18
+
19
+
20
+ exports.ActivePaymentStreamData = {
21
+ 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, stats: CantonPayments_PaymentStream_Types_PaymentStreamStats.PaymentStreamStats.decoder, }); }),
22
+ encode: function (__typed__) {
23
+ return {
24
+ paymentStream: CantonPayments_PaymentStream_Types_PaymentStream.PaymentStream.encode(__typed__.paymentStream),
25
+ processorContext: CantonPayments_PaymentStream_Types_ProcessorContext.ProcessorContext.encode(__typed__.processorContext),
26
+ processedAndPaidUntil: damlTypes.Time.encode(__typed__.processedAndPaidUntil),
27
+ stats: CantonPayments_PaymentStream_Types_PaymentStreamStats.PaymentStreamStats.encode(__typed__.stats),
28
+ };
29
+ }
30
+ ,
31
+ };
32
+
@@ -1,4 +1,4 @@
1
- // Generated from Fairmint/Subscriptions/Types/Approvals.daml
1
+ // Generated from CantonPayments/PaymentStream/Types/Approvals.daml
2
2
  /* eslint-disable @typescript-eslint/camelcase */
3
3
  /* eslint-disable @typescript-eslint/no-namespace */
4
4
  /* eslint-disable @typescript-eslint/no-use-before-define */
@@ -8,7 +8,7 @@ import * as damlTypes from '@daml/types';
8
8
  import * as damlLedger from '@daml/ledger';
9
9
 
10
10
  export declare type Approvals = {
11
- subscriberApproved: boolean;
11
+ payerApproved: boolean;
12
12
  recipientApproved: boolean;
13
13
  processorApproved: boolean;
14
14
  };
@@ -14,10 +14,10 @@ var damlLedger = require('@daml/ledger');
14
14
 
15
15
 
16
16
  exports.Approvals = {
17
- decoder: damlTypes.lazyMemo(function () { return jtv.object({subscriberApproved: damlTypes.Bool.decoder, recipientApproved: damlTypes.Bool.decoder, processorApproved: damlTypes.Bool.decoder, }); }),
17
+ decoder: damlTypes.lazyMemo(function () { return jtv.object({payerApproved: damlTypes.Bool.decoder, recipientApproved: damlTypes.Bool.decoder, processorApproved: damlTypes.Bool.decoder, }); }),
18
18
  encode: function (__typed__) {
19
19
  return {
20
- subscriberApproved: damlTypes.Bool.encode(__typed__.subscriberApproved),
20
+ payerApproved: damlTypes.Bool.encode(__typed__.payerApproved),
21
21
  recipientApproved: damlTypes.Bool.encode(__typed__.recipientApproved),
22
22
  processorApproved: damlTypes.Bool.encode(__typed__.processorApproved),
23
23
  };
@@ -1,4 +1,4 @@
1
- // Generated from Fairmint/Subscriptions/Types/LockFundsInput.daml
1
+ // Generated from CantonPayments/PaymentStream/Types/LockFundsInput.daml
2
2
  /* eslint-disable @typescript-eslint/camelcase */
3
3
  /* eslint-disable @typescript-eslint/no-namespace */
4
4
  /* eslint-disable @typescript-eslint/no-use-before-define */
@@ -9,12 +9,12 @@ import * as damlLedger from '@daml/ledger';
9
9
 
10
10
  import * as pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1 from '../../../..';
11
11
 
12
- import * as Fairmint_Subscriptions_Types_PaymentContext from '../../../../Fairmint/Subscriptions/Types/PaymentContext/module';
12
+ import * as CantonPayments_PaymentStream_Types_PaymentContext from '../../../../CantonPayments/PaymentStream/Types/PaymentContext/module';
13
13
 
14
14
  export declare type LockFundsInput = {
15
15
  amuletInputs: damlTypes.ContractId<pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.Splice.Amulet.Amulet>[];
16
16
  amountToLock: damlTypes.Numeric;
17
- paymentContext: Fairmint_Subscriptions_Types_PaymentContext.PaymentContext;
17
+ paymentContext: CantonPayments_PaymentStream_Types_PaymentContext.PaymentContext;
18
18
  };
19
19
 
20
20
  export declare const LockFundsInput:
@@ -14,16 +14,16 @@ var damlLedger = require('@daml/ledger');
14
14
 
15
15
  var pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1 = require('../../../..');
16
16
 
17
- var Fairmint_Subscriptions_Types_PaymentContext = require('../../../../Fairmint/Subscriptions/Types/PaymentContext/module');
17
+ var CantonPayments_PaymentStream_Types_PaymentContext = require('../../../../CantonPayments/PaymentStream/Types/PaymentContext/module');
18
18
 
19
19
 
20
20
  exports.LockFundsInput = {
21
- decoder: damlTypes.lazyMemo(function () { return jtv.object({amuletInputs: damlTypes.List(damlTypes.ContractId(pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.Amulet)).decoder, amountToLock: damlTypes.Numeric(10).decoder, paymentContext: Fairmint_Subscriptions_Types_PaymentContext.PaymentContext.decoder, }); }),
21
+ decoder: damlTypes.lazyMemo(function () { return jtv.object({amuletInputs: damlTypes.List(damlTypes.ContractId(pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.Amulet)).decoder, amountToLock: damlTypes.Numeric(10).decoder, paymentContext: CantonPayments_PaymentStream_Types_PaymentContext.PaymentContext.decoder, }); }),
22
22
  encode: function (__typed__) {
23
23
  return {
24
24
  amuletInputs: damlTypes.List(damlTypes.ContractId(pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.Amulet)).encode(__typed__.amuletInputs),
25
25
  amountToLock: damlTypes.Numeric(10).encode(__typed__.amountToLock),
26
- paymentContext: Fairmint_Subscriptions_Types_PaymentContext.PaymentContext.encode(__typed__.paymentContext),
26
+ paymentContext: CantonPayments_PaymentStream_Types_PaymentContext.PaymentContext.encode(__typed__.paymentContext),
27
27
  };
28
28
  }
29
29
  ,
@@ -1,4 +1,4 @@
1
- // Generated from Fairmint/Subscriptions/Types/PartyRole.daml
1
+ // Generated from CantonPayments/PaymentStream/Types/PartyRole.daml
2
2
  /* eslint-disable @typescript-eslint/camelcase */
3
3
  /* eslint-disable @typescript-eslint/no-namespace */
4
4
  /* eslint-disable @typescript-eslint/no-use-before-define */
@@ -8,7 +8,7 @@ import * as damlTypes from '@daml/types';
8
8
  import * as damlLedger from '@daml/ledger';
9
9
 
10
10
  export declare type PartyRole =
11
- | 'Subscriber'
11
+ | 'Payer'
12
12
  | 'Recipient'
13
13
  | 'Processor'
14
14
  ;
@@ -14,11 +14,11 @@ var damlLedger = require('@daml/ledger');
14
14
 
15
15
 
16
16
  exports.PartyRole = {
17
- Subscriber: 'Subscriber',
17
+ Payer: 'Payer',
18
18
  Recipient: 'Recipient',
19
19
  Processor: 'Processor',
20
- keys: ['Subscriber','Recipient','Processor',],
21
- decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.constant(exports.PartyRole.Subscriber), jtv.constant(exports.PartyRole.Recipient), jtv.constant(exports.PartyRole.Processor)); }),
20
+ keys: ['Payer','Recipient','Processor',],
21
+ decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.constant(exports.PartyRole.Payer), jtv.constant(exports.PartyRole.Recipient), jtv.constant(exports.PartyRole.Processor)); }),
22
22
  encode: function (__typed__) { return __typed__; },
23
23
  };
24
24
 
@@ -1,4 +1,4 @@
1
- // Generated from Fairmint/Subscriptions/Types/PaymentContext.daml
1
+ // Generated from CantonPayments/PaymentStream/Types/PaymentContext.daml
2
2
  /* eslint-disable @typescript-eslint/camelcase */
3
3
  /* eslint-disable @typescript-eslint/no-namespace */
4
4
  /* eslint-disable @typescript-eslint/no-use-before-define */
@@ -1,4 +1,4 @@
1
- // Generated from Fairmint/Subscriptions/Types/PaymentResult.daml
1
+ // Generated from CantonPayments/PaymentStream/Types/PaymentResult.daml
2
2
  /* eslint-disable @typescript-eslint/camelcase */
3
3
  /* eslint-disable @typescript-eslint/no-namespace */
4
4
  /* eslint-disable @typescript-eslint/no-use-before-define */
@@ -8,10 +8,12 @@ import * as damlTypes from '@daml/types';
8
8
  import * as damlLedger from '@daml/ledger';
9
9
 
10
10
  import * as pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1 from '../../../..';
11
+ import * as pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda from '../../../../Splice/Api/FeaturedAppRightV1';
11
12
 
12
13
  export declare type ProcessPaymentResult<t> = {
13
- subscriptionCid: damlTypes.ContractId<t>;
14
+ paymentStreamCid: damlTypes.ContractId<t>;
14
15
  transferResult: pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.Splice.AmuletRules.TransferResult;
16
+ activityMarkerCid: damlTypes.Optional<damlTypes.ContractId<pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppActivityMarker>>;
15
17
  };
16
18
 
17
19
  export declare const ProcessPaymentResult :
@@ -13,14 +13,16 @@ var damlTypes = require('@daml/types');
13
13
  var damlLedger = require('@daml/ledger');
14
14
 
15
15
  var pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1 = require('../../../..');
16
+ var pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda = require('../../../../Splice/Api/FeaturedAppRightV1');
16
17
 
17
18
 
18
19
  exports.ProcessPaymentResult = function (t) { return ({
19
- decoder: damlTypes.lazyMemo(function () { return jtv.object({subscriptionCid: damlTypes.ContractId(t).decoder, transferResult: pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.TransferResult.decoder, }); }),
20
+ decoder: damlTypes.lazyMemo(function () { return jtv.object({paymentStreamCid: damlTypes.ContractId(t).decoder, transferResult: pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.TransferResult.decoder, activityMarkerCid: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.ContractId(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.FeaturedAppActivityMarker)).decoder), }); }),
20
21
  encode: function (__typed__) {
21
22
  return {
22
- subscriptionCid: damlTypes.ContractId(t).encode(__typed__.subscriptionCid),
23
+ paymentStreamCid: damlTypes.ContractId(t).encode(__typed__.paymentStreamCid),
23
24
  transferResult: pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.TransferResult.encode(__typed__.transferResult),
25
+ activityMarkerCid: damlTypes.Optional(damlTypes.ContractId(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.FeaturedAppActivityMarker)).encode(__typed__.activityMarkerCid),
24
26
  };
25
27
  }
26
28
  ,
@@ -1,4 +1,4 @@
1
- // Generated from Fairmint/Subscriptions/Types/Subscription.daml
1
+ // Generated from CantonPayments/PaymentStream/Types/PaymentStream.daml
2
2
  /* eslint-disable @typescript-eslint/camelcase */
3
3
  /* eslint-disable @typescript-eslint/no-namespace */
4
4
  /* eslint-disable @typescript-eslint/no-use-before-define */
@@ -10,13 +10,13 @@ import * as damlLedger from '@daml/ledger';
10
10
  import * as pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda from '../../../../Splice/Api/FeaturedAppRightV1';
11
11
  import * as pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946 from '../../../../DA/Time/Types';
12
12
 
13
- import * as Fairmint_Subscriptions_Types_SubscriptionAmount from '../../../../Fairmint/Subscriptions/Types/SubscriptionAmount/module';
13
+ import * as CantonPayments_PaymentStream_Types_PaymentStreamAmount from '../../../../CantonPayments/PaymentStream/Types/PaymentStreamAmount/module';
14
14
 
15
- export declare type Subscription = {
16
- subscriber: damlTypes.Party;
15
+ export declare type PaymentStream = {
16
+ payer: damlTypes.Party;
17
17
  recipient: damlTypes.Party;
18
- recipientPaymentPerDay: Fairmint_Subscriptions_Types_SubscriptionAmount.SubscriptionAmount;
19
- processorPaymentPerDay: damlTypes.Optional<Fairmint_Subscriptions_Types_SubscriptionAmount.SubscriptionAmount>;
18
+ recipientPaymentPerDay: CantonPayments_PaymentStream_Types_PaymentStreamAmount.PaymentStreamAmount;
19
+ processorPaymentPerDay: damlTypes.Optional<CantonPayments_PaymentStream_Types_PaymentStreamAmount.PaymentStreamAmount>;
20
20
  freeTrialExpiration: damlTypes.Optional<damlTypes.Time>;
21
21
  prepayWindow: pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime;
22
22
  paymentsEndAt: damlTypes.Optional<damlTypes.Time>;
@@ -27,8 +27,8 @@ export declare type Subscription = {
27
27
  observers: damlTypes.Party[];
28
28
  };
29
29
 
30
- export declare const Subscription:
31
- damlTypes.Serializable<Subscription> & {
30
+ export declare const PaymentStream:
31
+ damlTypes.Serializable<PaymentStream> & {
32
32
  }
33
33
  ;
34
34
 
@@ -15,17 +15,17 @@ var damlLedger = require('@daml/ledger');
15
15
  var pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda = require('../../../../Splice/Api/FeaturedAppRightV1');
16
16
  var pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946 = require('../../../../DA/Time/Types');
17
17
 
18
- var Fairmint_Subscriptions_Types_SubscriptionAmount = require('../../../../Fairmint/Subscriptions/Types/SubscriptionAmount/module');
18
+ var CantonPayments_PaymentStream_Types_PaymentStreamAmount = require('../../../../CantonPayments/PaymentStream/Types/PaymentStreamAmount/module');
19
19
 
20
20
 
21
- exports.Subscription = {
22
- decoder: damlTypes.lazyMemo(function () { return jtv.object({subscriber: damlTypes.Party.decoder, recipient: damlTypes.Party.decoder, recipientPaymentPerDay: Fairmint_Subscriptions_Types_SubscriptionAmount.SubscriptionAmount.decoder, processorPaymentPerDay: jtv.Decoder.withDefault(null, damlTypes.Optional(Fairmint_Subscriptions_Types_SubscriptionAmount.SubscriptionAmount).decoder), freeTrialExpiration: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Time).decoder), prepayWindow: pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime.decoder, paymentsEndAt: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Time).decoder), provider: damlTypes.Party.decoder, appRewardBeneficiaries: damlTypes.List(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.AppRewardBeneficiary).decoder, description: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), metadata: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.TextMap(damlTypes.Text)).decoder), observers: damlTypes.List(damlTypes.Party).decoder, }); }),
21
+ exports.PaymentStream = {
22
+ decoder: damlTypes.lazyMemo(function () { return jtv.object({payer: damlTypes.Party.decoder, recipient: damlTypes.Party.decoder, recipientPaymentPerDay: CantonPayments_PaymentStream_Types_PaymentStreamAmount.PaymentStreamAmount.decoder, processorPaymentPerDay: jtv.Decoder.withDefault(null, damlTypes.Optional(CantonPayments_PaymentStream_Types_PaymentStreamAmount.PaymentStreamAmount).decoder), freeTrialExpiration: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Time).decoder), prepayWindow: pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime.decoder, paymentsEndAt: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Time).decoder), provider: damlTypes.Party.decoder, appRewardBeneficiaries: damlTypes.List(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.AppRewardBeneficiary).decoder, description: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), metadata: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.TextMap(damlTypes.Text)).decoder), observers: damlTypes.List(damlTypes.Party).decoder, }); }),
23
23
  encode: function (__typed__) {
24
24
  return {
25
- subscriber: damlTypes.Party.encode(__typed__.subscriber),
25
+ payer: damlTypes.Party.encode(__typed__.payer),
26
26
  recipient: damlTypes.Party.encode(__typed__.recipient),
27
- recipientPaymentPerDay: Fairmint_Subscriptions_Types_SubscriptionAmount.SubscriptionAmount.encode(__typed__.recipientPaymentPerDay),
28
- processorPaymentPerDay: damlTypes.Optional(Fairmint_Subscriptions_Types_SubscriptionAmount.SubscriptionAmount).encode(__typed__.processorPaymentPerDay),
27
+ recipientPaymentPerDay: CantonPayments_PaymentStream_Types_PaymentStreamAmount.PaymentStreamAmount.encode(__typed__.recipientPaymentPerDay),
28
+ processorPaymentPerDay: damlTypes.Optional(CantonPayments_PaymentStream_Types_PaymentStreamAmount.PaymentStreamAmount).encode(__typed__.processorPaymentPerDay),
29
29
  freeTrialExpiration: damlTypes.Optional(damlTypes.Time).encode(__typed__.freeTrialExpiration),
30
30
  prepayWindow: pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime.encode(__typed__.prepayWindow),
31
31
  paymentsEndAt: damlTypes.Optional(damlTypes.Time).encode(__typed__.paymentsEndAt),
@@ -1,4 +1,4 @@
1
- // Generated from Fairmint/Subscriptions/Types/SubscriptionAmount.daml
1
+ // Generated from CantonPayments/PaymentStream/Types/PaymentStreamAmount.daml
2
2
  /* eslint-disable @typescript-eslint/camelcase */
3
3
  /* eslint-disable @typescript-eslint/no-namespace */
4
4
  /* eslint-disable @typescript-eslint/no-use-before-define */
@@ -7,13 +7,13 @@ import * as damlTypes from '@daml/types';
7
7
  /* eslint-disable-next-line @typescript-eslint/no-unused-vars */
8
8
  import * as damlLedger from '@daml/ledger';
9
9
 
10
- export declare type SubscriptionAmount =
10
+ export declare type PaymentStreamAmount =
11
11
  | { tag: 'AmuletAmount'; value: damlTypes.Numeric }
12
12
  | { tag: 'USDAmount'; value: damlTypes.Numeric }
13
13
  ;
14
14
 
15
- export declare const SubscriptionAmount:
16
- damlTypes.Serializable<SubscriptionAmount> & {
15
+ export declare const PaymentStreamAmount:
16
+ damlTypes.Serializable<PaymentStreamAmount> & {
17
17
  }
18
18
  ;
19
19
 
@@ -13,13 +13,13 @@ var damlTypes = require('@daml/types');
13
13
  var damlLedger = require('@daml/ledger');
14
14
 
15
15
 
16
- exports.SubscriptionAmount = {
16
+ exports.PaymentStreamAmount = {
17
17
  decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.object({tag: jtv.constant('AmuletAmount'), value: damlTypes.Numeric(10).decoder, }), jtv.object({tag: jtv.constant('USDAmount'), value: damlTypes.Numeric(10).decoder, })); }),
18
18
  encode: function (__typed__) {
19
19
  switch(__typed__.tag) {
20
20
  case 'AmuletAmount': return {tag: __typed__.tag, value: damlTypes.Numeric(10).encode(__typed__.value)};
21
21
  case 'USDAmount': return {tag: __typed__.tag, value: damlTypes.Numeric(10).encode(__typed__.value)};
22
- default: throw 'unrecognized type tag: ' + __typed__.tag + ' while serializing a value of type SubscriptionAmount';
22
+ default: throw 'unrecognized type tag: ' + __typed__.tag + ' while serializing a value of type PaymentStreamAmount';
23
23
  }
24
24
  }
25
25
  ,
@@ -1,4 +1,4 @@
1
- // Generated from Fairmint/Subscriptions/Types/SubscriptionChanges.daml
1
+ // Generated from CantonPayments/PaymentStream/Types/PaymentStreamChanges.daml
2
2
  /* eslint-disable @typescript-eslint/camelcase */
3
3
  /* eslint-disable @typescript-eslint/no-namespace */
4
4
  /* eslint-disable @typescript-eslint/no-use-before-define */
@@ -10,25 +10,25 @@ import * as damlLedger from '@daml/ledger';
10
10
  import * as pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda from '../../../../Splice/Api/FeaturedAppRightV1';
11
11
  import * as pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946 from '../../../../DA/Time/Types';
12
12
 
13
- import * as Fairmint_Subscriptions_Types_SubscriptionAmount from '../../../../Fairmint/Subscriptions/Types/SubscriptionAmount/module';
14
- import * as Fairmint_Subscriptions_Types_SubscriptionTime from '../../../../Fairmint/Subscriptions/Types/SubscriptionTime/module';
13
+ import * as CantonPayments_PaymentStream_Types_PaymentStreamAmount from '../../../../CantonPayments/PaymentStream/Types/PaymentStreamAmount/module';
14
+ import * as CantonPayments_PaymentStream_Types_PaymentStreamTime from '../../../../CantonPayments/PaymentStream/Types/PaymentStreamTime/module';
15
15
 
16
- export declare type SubscriptionChanges = {
16
+ export declare type PaymentStreamChanges = {
17
17
  processedAndPaidUntilAdjustment: damlTypes.Optional<pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime>;
18
18
  provider: damlTypes.Optional<damlTypes.Party>;
19
19
  appRewardBeneficiaries: damlTypes.Optional<pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.AppRewardBeneficiary[]>;
20
- recipientPaymentPerDay: damlTypes.Optional<Fairmint_Subscriptions_Types_SubscriptionAmount.SubscriptionAmount>;
21
- processorPaymentPerDay: damlTypes.Optional<damlTypes.Optional<Fairmint_Subscriptions_Types_SubscriptionAmount.SubscriptionAmount>>;
20
+ recipientPaymentPerDay: damlTypes.Optional<CantonPayments_PaymentStream_Types_PaymentStreamAmount.PaymentStreamAmount>;
21
+ processorPaymentPerDay: damlTypes.Optional<damlTypes.Optional<CantonPayments_PaymentStream_Types_PaymentStreamAmount.PaymentStreamAmount>>;
22
22
  prepayWindow: damlTypes.Optional<pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime>;
23
- paymentsEndAt: damlTypes.Optional<damlTypes.Optional<Fairmint_Subscriptions_Types_SubscriptionTime.SubscriptionTime>>;
24
- freeTrialExpiration: damlTypes.Optional<damlTypes.Optional<Fairmint_Subscriptions_Types_SubscriptionTime.SubscriptionTime>>;
23
+ paymentsEndAt: damlTypes.Optional<damlTypes.Optional<CantonPayments_PaymentStream_Types_PaymentStreamTime.PaymentStreamExpiration>>;
24
+ freeTrialExpiration: damlTypes.Optional<damlTypes.Optional<CantonPayments_PaymentStream_Types_PaymentStreamTime.PaymentStreamExpiration>>;
25
25
  description: damlTypes.Optional<damlTypes.Optional<string>>;
26
26
  metadata: damlTypes.Optional<damlTypes.Optional<{ [key: string]: string }>>;
27
27
  observers: damlTypes.Optional<damlTypes.Party[]>;
28
28
  };
29
29
 
30
- export declare const SubscriptionChanges:
31
- damlTypes.Serializable<SubscriptionChanges> & {
30
+ export declare const PaymentStreamChanges:
31
+ damlTypes.Serializable<PaymentStreamChanges> & {
32
32
  }
33
33
  ;
34
34
 
@@ -15,22 +15,22 @@ var damlLedger = require('@daml/ledger');
15
15
  var pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda = require('../../../../Splice/Api/FeaturedAppRightV1');
16
16
  var pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946 = require('../../../../DA/Time/Types');
17
17
 
18
- var Fairmint_Subscriptions_Types_SubscriptionAmount = require('../../../../Fairmint/Subscriptions/Types/SubscriptionAmount/module');
19
- var Fairmint_Subscriptions_Types_SubscriptionTime = require('../../../../Fairmint/Subscriptions/Types/SubscriptionTime/module');
18
+ var CantonPayments_PaymentStream_Types_PaymentStreamAmount = require('../../../../CantonPayments/PaymentStream/Types/PaymentStreamAmount/module');
19
+ var CantonPayments_PaymentStream_Types_PaymentStreamTime = require('../../../../CantonPayments/PaymentStream/Types/PaymentStreamTime/module');
20
20
 
21
21
 
22
- exports.SubscriptionChanges = {
23
- decoder: damlTypes.lazyMemo(function () { return jtv.object({processedAndPaidUntilAdjustment: jtv.Decoder.withDefault(null, damlTypes.Optional(pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime).decoder), provider: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Party).decoder), appRewardBeneficiaries: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.List(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.AppRewardBeneficiary)).decoder), recipientPaymentPerDay: jtv.Decoder.withDefault(null, damlTypes.Optional(Fairmint_Subscriptions_Types_SubscriptionAmount.SubscriptionAmount).decoder), processorPaymentPerDay: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Optional(Fairmint_Subscriptions_Types_SubscriptionAmount.SubscriptionAmount)).decoder), prepayWindow: jtv.Decoder.withDefault(null, damlTypes.Optional(pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime).decoder), paymentsEndAt: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Optional(Fairmint_Subscriptions_Types_SubscriptionTime.SubscriptionTime)).decoder), freeTrialExpiration: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Optional(Fairmint_Subscriptions_Types_SubscriptionTime.SubscriptionTime)).decoder), description: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Optional(damlTypes.Text)).decoder), metadata: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Optional(damlTypes.TextMap(damlTypes.Text))).decoder), observers: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.List(damlTypes.Party)).decoder), }); }),
22
+ exports.PaymentStreamChanges = {
23
+ decoder: damlTypes.lazyMemo(function () { return jtv.object({processedAndPaidUntilAdjustment: jtv.Decoder.withDefault(null, damlTypes.Optional(pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime).decoder), provider: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Party).decoder), appRewardBeneficiaries: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.List(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.AppRewardBeneficiary)).decoder), recipientPaymentPerDay: jtv.Decoder.withDefault(null, damlTypes.Optional(CantonPayments_PaymentStream_Types_PaymentStreamAmount.PaymentStreamAmount).decoder), processorPaymentPerDay: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Optional(CantonPayments_PaymentStream_Types_PaymentStreamAmount.PaymentStreamAmount)).decoder), prepayWindow: jtv.Decoder.withDefault(null, damlTypes.Optional(pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime).decoder), paymentsEndAt: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Optional(CantonPayments_PaymentStream_Types_PaymentStreamTime.PaymentStreamExpiration)).decoder), freeTrialExpiration: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Optional(CantonPayments_PaymentStream_Types_PaymentStreamTime.PaymentStreamExpiration)).decoder), description: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Optional(damlTypes.Text)).decoder), metadata: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Optional(damlTypes.TextMap(damlTypes.Text))).decoder), observers: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.List(damlTypes.Party)).decoder), }); }),
24
24
  encode: function (__typed__) {
25
25
  return {
26
26
  processedAndPaidUntilAdjustment: damlTypes.Optional(pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime).encode(__typed__.processedAndPaidUntilAdjustment),
27
27
  provider: damlTypes.Optional(damlTypes.Party).encode(__typed__.provider),
28
28
  appRewardBeneficiaries: damlTypes.Optional(damlTypes.List(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.AppRewardBeneficiary)).encode(__typed__.appRewardBeneficiaries),
29
- recipientPaymentPerDay: damlTypes.Optional(Fairmint_Subscriptions_Types_SubscriptionAmount.SubscriptionAmount).encode(__typed__.recipientPaymentPerDay),
30
- processorPaymentPerDay: damlTypes.Optional(damlTypes.Optional(Fairmint_Subscriptions_Types_SubscriptionAmount.SubscriptionAmount)).encode(__typed__.processorPaymentPerDay),
29
+ recipientPaymentPerDay: damlTypes.Optional(CantonPayments_PaymentStream_Types_PaymentStreamAmount.PaymentStreamAmount).encode(__typed__.recipientPaymentPerDay),
30
+ processorPaymentPerDay: damlTypes.Optional(damlTypes.Optional(CantonPayments_PaymentStream_Types_PaymentStreamAmount.PaymentStreamAmount)).encode(__typed__.processorPaymentPerDay),
31
31
  prepayWindow: damlTypes.Optional(pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime).encode(__typed__.prepayWindow),
32
- paymentsEndAt: damlTypes.Optional(damlTypes.Optional(Fairmint_Subscriptions_Types_SubscriptionTime.SubscriptionTime)).encode(__typed__.paymentsEndAt),
33
- freeTrialExpiration: damlTypes.Optional(damlTypes.Optional(Fairmint_Subscriptions_Types_SubscriptionTime.SubscriptionTime)).encode(__typed__.freeTrialExpiration),
32
+ paymentsEndAt: damlTypes.Optional(damlTypes.Optional(CantonPayments_PaymentStream_Types_PaymentStreamTime.PaymentStreamExpiration)).encode(__typed__.paymentsEndAt),
33
+ freeTrialExpiration: damlTypes.Optional(damlTypes.Optional(CantonPayments_PaymentStream_Types_PaymentStreamTime.PaymentStreamExpiration)).encode(__typed__.freeTrialExpiration),
34
34
  description: damlTypes.Optional(damlTypes.Optional(damlTypes.Text)).encode(__typed__.description),
35
35
  metadata: damlTypes.Optional(damlTypes.Optional(damlTypes.TextMap(damlTypes.Text))).encode(__typed__.metadata),
36
36
  observers: damlTypes.Optional(damlTypes.List(damlTypes.Party)).encode(__typed__.observers),
@@ -1,4 +1,4 @@
1
- // Generated from Fairmint/Subscriptions/Types/SubscriptionProposal.daml
1
+ // Generated from CantonPayments/PaymentStream/Types/PaymentStreamProposal.daml
2
2
  /* eslint-disable @typescript-eslint/camelcase */
3
3
  /* eslint-disable @typescript-eslint/no-namespace */
4
4
  /* eslint-disable @typescript-eslint/no-use-before-define */
@@ -10,17 +10,17 @@ import * as damlLedger from '@daml/ledger';
10
10
  import * as pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda from '../../../../Splice/Api/FeaturedAppRightV1';
11
11
  import * as pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946 from '../../../../DA/Time/Types';
12
12
 
13
- import * as Fairmint_Subscriptions_Types_SubscriptionAmount from '../../../../Fairmint/Subscriptions/Types/SubscriptionAmount/module';
14
- import * as Fairmint_Subscriptions_Types_SubscriptionTime from '../../../../Fairmint/Subscriptions/Types/SubscriptionTime/module';
13
+ import * as CantonPayments_PaymentStream_Types_PaymentStreamAmount from '../../../../CantonPayments/PaymentStream/Types/PaymentStreamAmount/module';
14
+ import * as CantonPayments_PaymentStream_Types_PaymentStreamTime from '../../../../CantonPayments/PaymentStream/Types/PaymentStreamTime/module';
15
15
 
16
- export declare type SubscriptionProposal = {
17
- subscriber: damlTypes.Party;
16
+ export declare type PaymentStreamProposal = {
17
+ payer: damlTypes.Party;
18
18
  recipient: damlTypes.Party;
19
- recipientPaymentPerDay: Fairmint_Subscriptions_Types_SubscriptionAmount.SubscriptionAmount;
20
- processorPaymentPerDay: damlTypes.Optional<Fairmint_Subscriptions_Types_SubscriptionAmount.SubscriptionAmount>;
21
- freeTrialExpiration: damlTypes.Optional<Fairmint_Subscriptions_Types_SubscriptionTime.SubscriptionTime>;
19
+ recipientPaymentPerDay: CantonPayments_PaymentStream_Types_PaymentStreamAmount.PaymentStreamAmount;
20
+ processorPaymentPerDay: damlTypes.Optional<CantonPayments_PaymentStream_Types_PaymentStreamAmount.PaymentStreamAmount>;
21
+ freeTrialExpiration: damlTypes.Optional<CantonPayments_PaymentStream_Types_PaymentStreamTime.PaymentStreamExpiration>;
22
22
  prepayWindow: pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime;
23
- paymentsEndAt: damlTypes.Optional<Fairmint_Subscriptions_Types_SubscriptionTime.SubscriptionTime>;
23
+ paymentsEndAt: damlTypes.Optional<CantonPayments_PaymentStream_Types_PaymentStreamTime.PaymentStreamExpiration>;
24
24
  provider: damlTypes.Party;
25
25
  appRewardBeneficiaries: pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.AppRewardBeneficiary[];
26
26
  description: damlTypes.Optional<string>;
@@ -28,8 +28,8 @@ export declare type SubscriptionProposal = {
28
28
  observers: damlTypes.Party[];
29
29
  };
30
30
 
31
- export declare const SubscriptionProposal:
32
- damlTypes.Serializable<SubscriptionProposal> & {
31
+ export declare const PaymentStreamProposal:
32
+ damlTypes.Serializable<PaymentStreamProposal> & {
33
33
  }
34
34
  ;
35
35
 
@@ -0,0 +1,42 @@
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
+ /* eslint-disable-next-line no-unused-vars */
13
+ var damlLedger = require('@daml/ledger');
14
+
15
+ var pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda = require('../../../../Splice/Api/FeaturedAppRightV1');
16
+ var pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946 = require('../../../../DA/Time/Types');
17
+
18
+ var CantonPayments_PaymentStream_Types_PaymentStreamAmount = require('../../../../CantonPayments/PaymentStream/Types/PaymentStreamAmount/module');
19
+ var CantonPayments_PaymentStream_Types_PaymentStreamTime = require('../../../../CantonPayments/PaymentStream/Types/PaymentStreamTime/module');
20
+
21
+
22
+ exports.PaymentStreamProposal = {
23
+ decoder: damlTypes.lazyMemo(function () { return jtv.object({payer: damlTypes.Party.decoder, recipient: damlTypes.Party.decoder, recipientPaymentPerDay: CantonPayments_PaymentStream_Types_PaymentStreamAmount.PaymentStreamAmount.decoder, processorPaymentPerDay: jtv.Decoder.withDefault(null, damlTypes.Optional(CantonPayments_PaymentStream_Types_PaymentStreamAmount.PaymentStreamAmount).decoder), freeTrialExpiration: jtv.Decoder.withDefault(null, damlTypes.Optional(CantonPayments_PaymentStream_Types_PaymentStreamTime.PaymentStreamExpiration).decoder), prepayWindow: pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime.decoder, paymentsEndAt: jtv.Decoder.withDefault(null, damlTypes.Optional(CantonPayments_PaymentStream_Types_PaymentStreamTime.PaymentStreamExpiration).decoder), provider: damlTypes.Party.decoder, appRewardBeneficiaries: damlTypes.List(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.AppRewardBeneficiary).decoder, description: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), metadata: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.TextMap(damlTypes.Text)).decoder), observers: damlTypes.List(damlTypes.Party).decoder, }); }),
24
+ encode: function (__typed__) {
25
+ return {
26
+ payer: damlTypes.Party.encode(__typed__.payer),
27
+ recipient: damlTypes.Party.encode(__typed__.recipient),
28
+ recipientPaymentPerDay: CantonPayments_PaymentStream_Types_PaymentStreamAmount.PaymentStreamAmount.encode(__typed__.recipientPaymentPerDay),
29
+ processorPaymentPerDay: damlTypes.Optional(CantonPayments_PaymentStream_Types_PaymentStreamAmount.PaymentStreamAmount).encode(__typed__.processorPaymentPerDay),
30
+ freeTrialExpiration: damlTypes.Optional(CantonPayments_PaymentStream_Types_PaymentStreamTime.PaymentStreamExpiration).encode(__typed__.freeTrialExpiration),
31
+ prepayWindow: pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime.encode(__typed__.prepayWindow),
32
+ paymentsEndAt: damlTypes.Optional(CantonPayments_PaymentStream_Types_PaymentStreamTime.PaymentStreamExpiration).encode(__typed__.paymentsEndAt),
33
+ provider: damlTypes.Party.encode(__typed__.provider),
34
+ appRewardBeneficiaries: damlTypes.List(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.AppRewardBeneficiary).encode(__typed__.appRewardBeneficiaries),
35
+ description: damlTypes.Optional(damlTypes.Text).encode(__typed__.description),
36
+ metadata: damlTypes.Optional(damlTypes.TextMap(damlTypes.Text)).encode(__typed__.metadata),
37
+ observers: damlTypes.List(damlTypes.Party).encode(__typed__.observers),
38
+ };
39
+ }
40
+ ,
41
+ };
42
+
@@ -1,4 +1,4 @@
1
- // Generated from Fairmint/Subscriptions/Types/SubscriptionProposalChanges.daml
1
+ // Generated from CantonPayments/PaymentStream/Types/PaymentStreamProposalChanges.daml
2
2
  /* eslint-disable @typescript-eslint/camelcase */
3
3
  /* eslint-disable @typescript-eslint/no-namespace */
4
4
  /* eslint-disable @typescript-eslint/no-use-before-define */
@@ -10,26 +10,26 @@ import * as damlLedger from '@daml/ledger';
10
10
  import * as pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda from '../../../../Splice/Api/FeaturedAppRightV1';
11
11
  import * as pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946 from '../../../../DA/Time/Types';
12
12
 
13
- import * as Fairmint_Subscriptions_Types_SubscriptionAmount from '../../../../Fairmint/Subscriptions/Types/SubscriptionAmount/module';
14
- import * as Fairmint_Subscriptions_Types_SubscriptionTime from '../../../../Fairmint/Subscriptions/Types/SubscriptionTime/module';
13
+ import * as CantonPayments_PaymentStream_Types_PaymentStreamAmount from '../../../../CantonPayments/PaymentStream/Types/PaymentStreamAmount/module';
14
+ import * as CantonPayments_PaymentStream_Types_PaymentStreamTime from '../../../../CantonPayments/PaymentStream/Types/PaymentStreamTime/module';
15
15
 
16
- export declare type SubscriptionProposalChanges = {
17
- subscriber: damlTypes.Optional<damlTypes.Party>;
16
+ export declare type PaymentStreamProposalChanges = {
17
+ payer: damlTypes.Optional<damlTypes.Party>;
18
18
  recipient: damlTypes.Optional<damlTypes.Party>;
19
19
  provider: damlTypes.Optional<damlTypes.Party>;
20
20
  appRewardBeneficiaries: damlTypes.Optional<pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.AppRewardBeneficiary[]>;
21
- recipientPaymentPerDay: damlTypes.Optional<Fairmint_Subscriptions_Types_SubscriptionAmount.SubscriptionAmount>;
22
- processorPaymentPerDay: damlTypes.Optional<damlTypes.Optional<Fairmint_Subscriptions_Types_SubscriptionAmount.SubscriptionAmount>>;
23
- paymentsEndAt: damlTypes.Optional<damlTypes.Optional<Fairmint_Subscriptions_Types_SubscriptionTime.SubscriptionTime>>;
21
+ recipientPaymentPerDay: damlTypes.Optional<CantonPayments_PaymentStream_Types_PaymentStreamAmount.PaymentStreamAmount>;
22
+ processorPaymentPerDay: damlTypes.Optional<damlTypes.Optional<CantonPayments_PaymentStream_Types_PaymentStreamAmount.PaymentStreamAmount>>;
23
+ paymentsEndAt: damlTypes.Optional<damlTypes.Optional<CantonPayments_PaymentStream_Types_PaymentStreamTime.PaymentStreamExpiration>>;
24
24
  prepayWindow: damlTypes.Optional<pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime>;
25
- freeTrialExpiration: damlTypes.Optional<damlTypes.Optional<Fairmint_Subscriptions_Types_SubscriptionTime.SubscriptionTime>>;
25
+ freeTrialExpiration: damlTypes.Optional<damlTypes.Optional<CantonPayments_PaymentStream_Types_PaymentStreamTime.PaymentStreamExpiration>>;
26
26
  description: damlTypes.Optional<damlTypes.Optional<string>>;
27
27
  metadata: damlTypes.Optional<damlTypes.Optional<{ [key: string]: string }>>;
28
28
  observers: damlTypes.Optional<damlTypes.Party[]>;
29
29
  };
30
30
 
31
- export declare const SubscriptionProposalChanges:
32
- damlTypes.Serializable<SubscriptionProposalChanges> & {
31
+ export declare const PaymentStreamProposalChanges:
32
+ damlTypes.Serializable<PaymentStreamProposalChanges> & {
33
33
  }
34
34
  ;
35
35
 
@@ -0,0 +1,42 @@
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
+ /* eslint-disable-next-line no-unused-vars */
13
+ var damlLedger = require('@daml/ledger');
14
+
15
+ var pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda = require('../../../../Splice/Api/FeaturedAppRightV1');
16
+ var pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946 = require('../../../../DA/Time/Types');
17
+
18
+ var CantonPayments_PaymentStream_Types_PaymentStreamAmount = require('../../../../CantonPayments/PaymentStream/Types/PaymentStreamAmount/module');
19
+ var CantonPayments_PaymentStream_Types_PaymentStreamTime = require('../../../../CantonPayments/PaymentStream/Types/PaymentStreamTime/module');
20
+
21
+
22
+ exports.PaymentStreamProposalChanges = {
23
+ decoder: damlTypes.lazyMemo(function () { return jtv.object({payer: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Party).decoder), recipient: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Party).decoder), provider: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Party).decoder), appRewardBeneficiaries: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.List(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.AppRewardBeneficiary)).decoder), recipientPaymentPerDay: jtv.Decoder.withDefault(null, damlTypes.Optional(CantonPayments_PaymentStream_Types_PaymentStreamAmount.PaymentStreamAmount).decoder), processorPaymentPerDay: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Optional(CantonPayments_PaymentStream_Types_PaymentStreamAmount.PaymentStreamAmount)).decoder), paymentsEndAt: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Optional(CantonPayments_PaymentStream_Types_PaymentStreamTime.PaymentStreamExpiration)).decoder), prepayWindow: jtv.Decoder.withDefault(null, damlTypes.Optional(pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime).decoder), freeTrialExpiration: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Optional(CantonPayments_PaymentStream_Types_PaymentStreamTime.PaymentStreamExpiration)).decoder), description: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Optional(damlTypes.Text)).decoder), metadata: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Optional(damlTypes.TextMap(damlTypes.Text))).decoder), observers: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.List(damlTypes.Party)).decoder), }); }),
24
+ encode: function (__typed__) {
25
+ return {
26
+ payer: damlTypes.Optional(damlTypes.Party).encode(__typed__.payer),
27
+ recipient: damlTypes.Optional(damlTypes.Party).encode(__typed__.recipient),
28
+ provider: damlTypes.Optional(damlTypes.Party).encode(__typed__.provider),
29
+ appRewardBeneficiaries: damlTypes.Optional(damlTypes.List(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.AppRewardBeneficiary)).encode(__typed__.appRewardBeneficiaries),
30
+ recipientPaymentPerDay: damlTypes.Optional(CantonPayments_PaymentStream_Types_PaymentStreamAmount.PaymentStreamAmount).encode(__typed__.recipientPaymentPerDay),
31
+ processorPaymentPerDay: damlTypes.Optional(damlTypes.Optional(CantonPayments_PaymentStream_Types_PaymentStreamAmount.PaymentStreamAmount)).encode(__typed__.processorPaymentPerDay),
32
+ paymentsEndAt: damlTypes.Optional(damlTypes.Optional(CantonPayments_PaymentStream_Types_PaymentStreamTime.PaymentStreamExpiration)).encode(__typed__.paymentsEndAt),
33
+ prepayWindow: damlTypes.Optional(pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime).encode(__typed__.prepayWindow),
34
+ freeTrialExpiration: damlTypes.Optional(damlTypes.Optional(CantonPayments_PaymentStream_Types_PaymentStreamTime.PaymentStreamExpiration)).encode(__typed__.freeTrialExpiration),
35
+ description: damlTypes.Optional(damlTypes.Optional(damlTypes.Text)).encode(__typed__.description),
36
+ metadata: damlTypes.Optional(damlTypes.Optional(damlTypes.TextMap(damlTypes.Text))).encode(__typed__.metadata),
37
+ observers: damlTypes.Optional(damlTypes.List(damlTypes.Party)).encode(__typed__.observers),
38
+ };
39
+ }
40
+ ,
41
+ };
42
+
@@ -1,4 +1,4 @@
1
- // Generated from Fairmint/Subscriptions/Types/SubscriptionStats.daml
1
+ // Generated from CantonPayments/PaymentStream/Types/PaymentStreamStats.daml
2
2
  /* eslint-disable @typescript-eslint/camelcase */
3
3
  /* eslint-disable @typescript-eslint/no-namespace */
4
4
  /* eslint-disable @typescript-eslint/no-use-before-define */
@@ -7,18 +7,18 @@ import * as damlTypes from '@daml/types';
7
7
  /* eslint-disable-next-line @typescript-eslint/no-unused-vars */
8
8
  import * as damlLedger from '@daml/ledger';
9
9
 
10
- export declare type SubscriptionStats = {
10
+ export declare type PaymentStreamStats = {
11
11
  roundsProcessed: damlTypes.Int;
12
- totalPaidBySubscriberCC: damlTypes.Numeric;
13
- totalPaidBySubscriberUSD: damlTypes.Numeric;
12
+ totalPaidByPayerCC: damlTypes.Numeric;
13
+ totalPaidByPayerUSD: damlTypes.Numeric;
14
14
  totalReceivedByRecipientCC: damlTypes.Numeric;
15
15
  totalReceivedByRecipientUSD: damlTypes.Numeric;
16
16
  totalReceivedByProcessorCC: damlTypes.Numeric;
17
17
  totalReceivedByProcessorUSD: damlTypes.Numeric;
18
18
  };
19
19
 
20
- export declare const SubscriptionStats:
21
- damlTypes.Serializable<SubscriptionStats> & {
20
+ export declare const PaymentStreamStats:
21
+ damlTypes.Serializable<PaymentStreamStats> & {
22
22
  }
23
23
  ;
24
24