// Generated from Fairmint/OpenCapTable/OCF/StakeholderRelationshipChangeEvent.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 StakeholderRelationshipChangeEventOcfData = {
  id: string;
  date: damlTypes.Time;
  stakeholder_id: string;
  comments: string[];
  relationship_ended: damlTypes.Optional<Fairmint_OpenCapTable_Types.OcfStakeholderRelationshipType>;
  relationship_started: damlTypes.Optional<Fairmint_OpenCapTable_Types.OcfStakeholderRelationshipType>;
};

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


export declare type StakeholderRelationshipChangeEvent = {
  context: Fairmint_OpenCapTable_Types.Context;
  event_data: StakeholderRelationshipChangeEventOcfData;
};

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

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


