// Generated from Fairmint/OpenCapTable/VestingEvent.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 OcfVestingEventTxData = {
  id: string;
  date: damlTypes.Time;
  security_id: string;
  vesting_condition_id: string;
  comments: string[];
};

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


export declare type ArchiveByIssuer = {
};

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


export declare type VestingEvent = {
  context: Fairmint_OpenCapTable_Types.Context;
  vesting_data: OcfVestingEventTxData;
};

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

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


