// Generated from Fairmint/OpenCapTable/WarrantIssuance.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 OcfWarrantIssuanceData = {
  id: string;
  custom_id: string;
  date: damlTypes.Time;
  purchase_price: Fairmint_OpenCapTable_Types.OcfMonetary;
  security_id: string;
  stakeholder_id: string;
  comments: string[];
  exercise_triggers: Fairmint_OpenCapTable_Types.OcfConversionTrigger[];
  security_law_exemptions: Fairmint_OpenCapTable_Types.OcfSecurityExemption[];
  vestings: Fairmint_OpenCapTable_Types.OcfVesting[];
  board_approval_date: damlTypes.Optional<damlTypes.Time>;
  consideration_text: damlTypes.Optional<string>;
  exercise_price: damlTypes.Optional<Fairmint_OpenCapTable_Types.OcfMonetary>;
  quantity: damlTypes.Optional<damlTypes.Numeric>;
  quantity_source: damlTypes.Optional<Fairmint_OpenCapTable_Types.OcfQuantitySourceType>;
  stockholder_approval_date: damlTypes.Optional<damlTypes.Time>;
  vesting_terms_id: damlTypes.Optional<string>;
  warrant_expiration_date: damlTypes.Optional<damlTypes.Time>;
};

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


export declare type ArchiveByIssuer = {
};

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


export declare type WarrantIssuance = {
  context: Fairmint_OpenCapTable_Types.Context;
  issuance_data: OcfWarrantIssuanceData;
};

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

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


