// Generated from CantonPayments/PaymentStream/ActivePaymentStream.daml /* eslint-disable @typescript-eslint/camelcase */ /* eslint-disable @typescript-eslint/no-namespace */ /* eslint-disable @typescript-eslint/no-use-before-define */ import * as jtv from '@mojotech/json-type-validation'; import * as damlTypes from '@daml/types'; import * as pkg5aee9b21b8e9a4c4975b5f4c4198e6e6e8469df49e2010820e792f393db870f4 from '../../../__bundled__/daml-prim-DA-Types'; import * as pkg90987abecbcb1d004b063ddfe3b4b5d46cf3814ce89114a86c8cd75ff3cb8a4b from '../../..'; import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '../../../__bundled__/ghc-stdlib-DA-Internal-Template'; import * as pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946 from '../../../__bundled__/daml-stdlib-DA-Time-Types'; import * as CantonPayments_PaymentStream_Types_Approvals from '../../../CantonPayments/PaymentStream/Types/Approvals/module'; import * as CantonPayments_PaymentStream_Types_LockFundsInput from '../../../CantonPayments/PaymentStream/Types/LockFundsInput/module'; import * as CantonPayments_PaymentStream_Types_PartyRole from '../../../CantonPayments/PaymentStream/Types/PartyRole/module'; import * as CantonPayments_PaymentStream_Types_PaymentContext from '../../../CantonPayments/PaymentStream/Types/PaymentContext/module'; import * as CantonPayments_PaymentStream_Types_PaymentResult from '../../../CantonPayments/PaymentStream/Types/PaymentResult/module'; import * as CantonPayments_PaymentStream_Types_PaymentStream from '../../../CantonPayments/PaymentStream/Types/PaymentStream/module'; import * as CantonPayments_PaymentStream_Types_PaymentStreamChanges from '../../../CantonPayments/PaymentStream/Types/PaymentStreamChanges/module'; import * as CantonPayments_PaymentStream_Types_PaymentStreamStats from '../../../CantonPayments/PaymentStream/Types/PaymentStreamStats/module'; import * as CantonPayments_PaymentStream_Types_ProcessFreeTrialResult from '../../../CantonPayments/PaymentStream/Types/ProcessFreeTrialResult/module'; import * as CantonPayments_PaymentStream_Types_ProcessorContext from '../../../CantonPayments/PaymentStream/Types/ProcessorContext/module'; export declare type PaymentStreamChangeProposal_Reject = { actor: damlTypes.Party; description: damlTypes.Optional; }; export declare const PaymentStreamChangeProposal_Reject: damlTypes.Serializable & { } ; export declare type PaymentStreamChangeProposal_Apply = { actor: damlTypes.Party; activePaymentStreamCid: damlTypes.ContractId; }; export declare const PaymentStreamChangeProposal_Apply: damlTypes.Serializable & { } ; export declare type PaymentStreamChangeProposal_Approve = { actor: damlTypes.Party; }; export declare const PaymentStreamChangeProposal_Approve: damlTypes.Serializable & { } ; export declare type PaymentStreamChangeProposal = { paymentStream: CantonPayments_PaymentStream_Types_PaymentStream.PaymentStream; processorContext: CantonPayments_PaymentStream_Types_ProcessorContext.ProcessorContext; paymentStreamChanges: CantonPayments_PaymentStream_Types_PaymentStreamChanges.PaymentStreamChanges; approvals: CantonPayments_PaymentStream_Types_Approvals.Approvals; }; export declare interface PaymentStreamChangeProposalInterface { PaymentStreamChangeProposal_Approve: damlTypes.Choice, undefined> & damlTypes.ChoiceFrom>; PaymentStreamChangeProposal_Apply: damlTypes.Choice, undefined> & damlTypes.ChoiceFrom>; PaymentStreamChangeProposal_Reject: damlTypes.Choice & damlTypes.ChoiceFrom>; Archive: damlTypes.Choice & damlTypes.ChoiceFrom>; } export declare const PaymentStreamChangeProposal: damlTypes.Template & damlTypes.ToInterface & PaymentStreamChangeProposalInterface; export declare namespace PaymentStreamChangeProposal { } export declare type ActivePaymentStream_ChangeParty = { partyType: CantonPayments_PaymentStream_Types_PartyRole.PartyRole; oldParty: damlTypes.Party; newParty: damlTypes.Party; changePartyPaymentContext: CantonPayments_PaymentStream_Types_PaymentContext.PaymentContext; }; export declare const ActivePaymentStream_ChangeParty: damlTypes.Serializable & { } ; export declare type ActivePaymentStream_ArchiveInactivePaymentStream = { actor: damlTypes.Party; paymentContext: CantonPayments_PaymentStream_Types_PaymentContext.PaymentContext; }; export declare const ActivePaymentStream_ArchiveInactivePaymentStream: damlTypes.Serializable & { } ; export declare type ActivePaymentStream_WithdrawFunds = { amountToKeepLocked: damlTypes.Numeric; paymentContext: CantonPayments_PaymentStream_Types_PaymentContext.PaymentContext; }; export declare const ActivePaymentStream_WithdrawFunds: damlTypes.Serializable & { } ; export declare type ActivePaymentStream_AddFunds = { actor: damlTypes.Party; lockFundsInput: CantonPayments_PaymentStream_Types_LockFundsInput.LockFundsInput; description: damlTypes.Optional; }; export declare const ActivePaymentStream_AddFunds: damlTypes.Serializable & { } ; export declare type ActivePaymentStream_Refund = { paymentContext: CantonPayments_PaymentStream_Types_PaymentContext.PaymentContext; recipientAmuletInputs: damlTypes.ContractId[]; recipientFeaturedAppRight: damlTypes.Optional>; }; export declare const ActivePaymentStream_Refund: damlTypes.Serializable & { } ; export declare type ActivePaymentStream_Cancel = { actor: damlTypes.Party; disregardAvailablePaidPeriod: boolean; description: damlTypes.Optional; openMiningRoundCid: damlTypes.Optional>; }; export declare const ActivePaymentStream_Cancel: damlTypes.Serializable & { } ; export declare type ActivePaymentStream_ProposeChanges = { actor: damlTypes.Party; paymentStreamChanges: CantonPayments_PaymentStream_Types_PaymentStreamChanges.PaymentStreamChanges; description: damlTypes.Optional; }; export declare const ActivePaymentStream_ProposeChanges: damlTypes.Serializable & { } ; export declare type ActivePaymentStream_ProcessPayment = { processingPeriod: pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime; paymentContext: CantonPayments_PaymentStream_Types_PaymentContext.PaymentContext; skipProcessorPayment: boolean; activityMarkerFeaturedAppRightCid: damlTypes.Optional>; }; export declare const ActivePaymentStream_ProcessPayment: damlTypes.Serializable & { } ; export declare type ActivePaymentStream_ProcessFreeTrial = { processingPeriod: pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946.DA.Time.Types.RelTime; featuredAppRight: damlTypes.Optional>; }; export declare const ActivePaymentStream_ProcessFreeTrial: damlTypes.Serializable & { } ; export declare type ActivePaymentStream = { paymentStream: CantonPayments_PaymentStream_Types_PaymentStream.PaymentStream; processorContext: CantonPayments_PaymentStream_Types_ProcessorContext.ProcessorContext; processedAndPaidUntil: damlTypes.Time; lockedAmuletCid: damlTypes.ContractId; stats: CantonPayments_PaymentStream_Types_PaymentStreamStats.PaymentStreamStats; }; export declare interface ActivePaymentStreamInterface { ActivePaymentStream_ProcessFreeTrial: damlTypes.Choice, undefined> & damlTypes.ChoiceFrom>; ActivePaymentStream_ProcessPayment: damlTypes.Choice, undefined> & damlTypes.ChoiceFrom>; ActivePaymentStream_ProposeChanges: damlTypes.Choice, undefined> & damlTypes.ChoiceFrom>; ActivePaymentStream_Cancel: damlTypes.Choice>, damlTypes.Optional>>, undefined> & damlTypes.ChoiceFrom>; ActivePaymentStream_Refund: damlTypes.Choice>, undefined> & damlTypes.ChoiceFrom>; ActivePaymentStream_AddFunds: damlTypes.Choice, damlTypes.Optional>>, undefined> & damlTypes.ChoiceFrom>; ActivePaymentStream_WithdrawFunds: damlTypes.Choice, damlTypes.ContractId>, undefined> & damlTypes.ChoiceFrom>; ActivePaymentStream_ArchiveInactivePaymentStream: damlTypes.Choice, undefined> & damlTypes.ChoiceFrom>; ActivePaymentStream_ChangeParty: damlTypes.Choice, undefined> & damlTypes.ChoiceFrom>; Archive: damlTypes.Choice & damlTypes.ChoiceFrom>; } export declare const ActivePaymentStream: damlTypes.Template & damlTypes.ToInterface & ActivePaymentStreamInterface; export declare namespace ActivePaymentStream { }