// Generated from Fairmint/OpenCapTable/OCF/ConvertibleConversion.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 ConvertibleConversionOcfData = {
  id: string;
  date: damlTypes.Time;
  reason_text: string;
  security_id: string;
  trigger_id: string;
  comments: string[];
  resulting_security_ids: string[];
  balance_security_id: damlTypes.Optional<string>;
  capitalization_definition: damlTypes.Optional<Fairmint_OpenCapTable_Types.OcfCapitalizationDefinition>;
  quantity_converted: damlTypes.Optional<damlTypes.Numeric>;
};

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


export declare type ConvertibleConversion = {
  context: Fairmint_OpenCapTable_Types.Context;
  conversion_data: ConvertibleConversionOcfData;
};

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

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


