// Generated from Fairmint/OpenCapTable/OCF/StockIssuance.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_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';
import * as Fairmint_OpenCapTable_Types_Vesting from '../../../../Fairmint/OpenCapTable/Types/Vesting/module';

export declare type OcfStockIssuanceType =
  | 'OcfStockIssuanceRSA'
  | 'OcfStockIssuanceFounders'
;

export declare const OcfStockIssuanceType:
  damlTypes.Serializable<OcfStockIssuanceType> & {
  }
& { readonly keys: OcfStockIssuanceType[] } & { readonly [e in OcfStockIssuanceType]: e }
;


export declare type StockIssuanceOcfData = {
  id: string;
  custom_id: string;
  date: damlTypes.Time;
  quantity: damlTypes.Numeric;
  security_id: string;
  share_price: Fairmint_OpenCapTable_Types_Monetary.OcfMonetary;
  stakeholder_id: string;
  stock_class_id: string;
  comments: string[];
  security_law_exemptions: Fairmint_OpenCapTable_Types_Stock.OcfSecurityExemption[];
  share_numbers_issued: Fairmint_OpenCapTable_Types_Stock.OcfShareNumberRange[];
  stock_legend_ids: string[];
  vestings: Fairmint_OpenCapTable_Types_Vesting.OcfVesting[];
  board_approval_date: damlTypes.Optional<damlTypes.Time>;
  consideration_text: damlTypes.Optional<string>;
  cost_basis: damlTypes.Optional<Fairmint_OpenCapTable_Types_Monetary.OcfMonetary>;
  issuance_type: damlTypes.Optional<OcfStockIssuanceType>;
  stock_plan_id: damlTypes.Optional<string>;
  stockholder_approval_date: damlTypes.Optional<damlTypes.Time>;
  vesting_terms_id: damlTypes.Optional<string>;
};

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


export declare type StockIssuance = {
  context: Fairmint_OpenCapTable_Types_Core.Context;
  issuance_data: StockIssuanceOcfData;
};

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

export declare namespace StockIssuance {
}


