// Generated from Fairmint/OpenCapTable/EquityCompensationCancellation.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 OcfEquityCompensationCancellationTxData = {
  id: string;
  date: damlTypes.Time;
  quantity: damlTypes.Numeric;
  reason_text: string;
  security_id: string;
  comments: string[];
  balance_security_id: damlTypes.Optional<string>;
};

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


export declare type ArchiveByIssuer = {
};

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


export declare type EquityCompensationCancellation = {
  context: Fairmint_OpenCapTable_Types.Context;
  cancellation_data: OcfEquityCompensationCancellationTxData;
};

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

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


