// Generated from Fairmint/OpenCapTable/OCF/ConvertibleIssuance.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 pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '../../../../DA/Internal/Template';

import * as Fairmint_OpenCapTable_Types_Conversion from '../../../../Fairmint/OpenCapTable/Types/Conversion/module';
import * as Fairmint_OpenCapTable_Types_Core from '../../../../Fairmint/OpenCapTable/Types/Core/module';
import * as Fairmint_OpenCapTable_Types_Monetary from '../../../../Fairmint/OpenCapTable/Types/Monetary/module';
import * as Fairmint_OpenCapTable_Types_Stock from '../../../../Fairmint/OpenCapTable/Types/Stock/module';

export declare type OcfConvertibleConversionTrigger = {
  conversion_right: Fairmint_OpenCapTable_Types_Conversion.OcfConvertibleConversionRight;
  trigger_id: string;
  type_: Fairmint_OpenCapTable_Types_Conversion.OcfConversionTriggerType;
  nickname: damlTypes.Optional<string>;
  trigger_condition: damlTypes.Optional<string>;
  trigger_date: damlTypes.Optional<damlTypes.Time>;
  trigger_description: damlTypes.Optional<string>;
};

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


export declare type ConvertibleIssuanceOcfData = {
  id: string;
  convertible_type: Fairmint_OpenCapTable_Types_Conversion.OcfConvertibleType;
  custom_id: string;
  date: damlTypes.Time;
  investment_amount: Fairmint_OpenCapTable_Types_Monetary.OcfMonetary;
  security_id: string;
  seniority: damlTypes.Int;
  stakeholder_id: string;
  comments: string[];
  conversion_triggers: OcfConvertibleConversionTrigger[];
  security_law_exemptions: Fairmint_OpenCapTable_Types_Stock.OcfSecurityExemption[];
  board_approval_date: damlTypes.Optional<damlTypes.Time>;
  consideration_text: damlTypes.Optional<string>;
  pro_rata: damlTypes.Optional<damlTypes.Numeric>;
  stockholder_approval_date: damlTypes.Optional<damlTypes.Time>;
};

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


export declare type ConvertibleIssuance = {
  context: Fairmint_OpenCapTable_Types_Core.Context;
  issuance_data: ConvertibleIssuanceOcfData;
};

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

export declare namespace ConvertibleIssuance {
}


