// Generated from Fairmint/OpenCapTable/OCF/ConvertibleTransfer.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';
/* eslint-disable-next-line @typescript-eslint/no-unused-vars */
import * as damlLedger from '@daml/ledger';

import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '../../../../DA/Internal/Template';

import * as Fairmint_OpenCapTable_Types from '../../../../Fairmint/OpenCapTable/Types/module';

export declare type ConvertibleTransferOcfData = {
  id: string;
  amount: Fairmint_OpenCapTable_Types.OcfMonetary;
  date: damlTypes.Time;
  security_id: string;
  comments: string[];
  resulting_security_ids: string[];
  balance_security_id: damlTypes.Optional<string>;
  consideration_text: damlTypes.Optional<string>;
};

export declare const ConvertibleTransferOcfData:
  damlTypes.Serializable<ConvertibleTransferOcfData> & {
  }
;


export declare type ConvertibleTransfer = {
  context: Fairmint_OpenCapTable_Types.Context;
  transfer_data: ConvertibleTransferOcfData;
};

export declare interface ConvertibleTransferInterface {
  Archive: damlTypes.Choice<ConvertibleTransfer, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<ConvertibleTransfer, undefined>>;
}
export declare const ConvertibleTransfer:
  damlTypes.Template<ConvertibleTransfer, undefined, '#OpenCapTable-v25:Fairmint.OpenCapTable.OCF.ConvertibleTransfer:ConvertibleTransfer'> &
  damlTypes.ToInterface<ConvertibleTransfer, never> &
  ConvertibleTransferInterface;

export declare namespace ConvertibleTransfer {
  export type CreateEvent = damlLedger.CreateEvent<ConvertibleTransfer, undefined, typeof ConvertibleTransfer.templateId>
  export type ArchiveEvent = damlLedger.ArchiveEvent<ConvertibleTransfer, typeof ConvertibleTransfer.templateId>
  export type Event = damlLedger.Event<ConvertibleTransfer, undefined, typeof ConvertibleTransfer.templateId>
  export type QueryResult = damlLedger.QueryResult<ConvertibleTransfer, undefined, typeof ConvertibleTransfer.templateId>
}


