// 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 from '../../../../Fairmint/OpenCapTable/Types/module';

export declare type OcfConvertibleConversionTrigger = {
  conversion_right: Fairmint_OpenCapTable_Types.OcfConvertibleConversionRight;
  trigger_id: string;
  type_: Fairmint_OpenCapTable_Types.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.OcfConvertibleType;
  custom_id: string;
  date: damlTypes.Time;
  investment_amount: Fairmint_OpenCapTable_Types.OcfMonetary;
  security_id: string;
  seniority: damlTypes.Int;
  stakeholder_id: string;
  comments: string[];
  conversion_triggers: OcfConvertibleConversionTrigger[];
  security_law_exemptions: Fairmint_OpenCapTable_Types.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.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-v26:Fairmint.OpenCapTable.OCF.ConvertibleIssuance:ConvertibleIssuance'> &
  damlTypes.ToInterface<ConvertibleIssuance, never> &
  ConvertibleIssuanceInterface;

export declare namespace ConvertibleIssuance {
}


