// Generated from Fairmint/OpenCapTableReports/CompanyValuationReport.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 pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda from '../../../Splice/Api/FeaturedAppRightV1';
import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '../../../DA/Internal/Template';

export declare type SetCompanyValuation = {
  new_company_valuation: damlTypes.Optional<damlTypes.Numeric>;
};

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


export declare type AddObservers = {
  added: damlTypes.Party[];
};

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


export declare type CompanyValuationReport = {
  company_id: string;
  company_valuation: damlTypes.Optional<damlTypes.Numeric>;
  last_update_at: damlTypes.Time;
  system_operator: damlTypes.Party;
  featured_app_right: damlTypes.ContractId<pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppRight>;
  observers: damlTypes.Party[];
};

export declare interface CompanyValuationReportInterface {
  AddObservers: damlTypes.Choice<CompanyValuationReport, AddObservers, damlTypes.ContractId<CompanyValuationReport>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<CompanyValuationReport, undefined>>;
  Archive: damlTypes.Choice<CompanyValuationReport, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<CompanyValuationReport, undefined>>;
  SetCompanyValuation: damlTypes.Choice<CompanyValuationReport, SetCompanyValuation, damlTypes.ContractId<CompanyValuationReport>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<CompanyValuationReport, undefined>>;
}
export declare const CompanyValuationReport:
  damlTypes.Template<CompanyValuationReport, undefined, '#OpenCapTableReports-v01:Fairmint.OpenCapTableReports.CompanyValuationReport:CompanyValuationReport'> &
  damlTypes.ToInterface<CompanyValuationReport, never> &
  CompanyValuationReportInterface;

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


