// Generated from ../../../../Splice/Api/Token/AllocationRequestV2/module.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 pkg051a3b0563a6fa4df4cb34448081e48b061e555aa1a265abf6ae8f3f4cafe439 from '../../../../__bundled__/splice-api-token-allocation-v2'; import * as pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f from '../../../../__bundled__/splice-api-token-metadata-v1'; import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '../../../../__bundled__/ghc-stdlib-DA-Internal-Template'; export declare type AllocationRequest = damlTypes.Interface<'#splice-api-token-allocation-request-v2:Splice.Api.Token.AllocationRequestV2:AllocationRequest'> & AllocationRequestView export declare interface AllocationRequestInterface { AllocationRequest_Accept: damlTypes.Choice & damlTypes.ChoiceFrom>; AllocationRequest_Reject: damlTypes.Choice & damlTypes.ChoiceFrom>; AllocationRequest_Withdraw: damlTypes.Choice & damlTypes.ChoiceFrom>; Archive: damlTypes.Choice & damlTypes.ChoiceFrom>; } export declare const AllocationRequest: damlTypes.InterfaceCompanion & damlTypes.FromTemplate & AllocationRequestInterface export declare type AllocationRequestAction = | { tag: 'ARA_Accept'; value: {} } | { tag: 'ARA_Reject'; value: {} } | { tag: 'ARA_Custom'; value: AllocationRequestAction.ARA_Custom } export declare const AllocationRequestAction: damlTypes.Serializable & { ARA_Custom: damlTypes.Serializable; } export namespace AllocationRequestAction { type ARA_Custom = { id: string, } } export declare type AllocationRequestView = { originalRequestCid: damlTypes.Optional>, settlement: pkg051a3b0563a6fa4df4cb34448081e48b061e555aa1a265abf6ae8f3f4cafe439.Splice.Api.Token.AllocationV2.SettlementInfo, allocations: pkg051a3b0563a6fa4df4cb34448081e48b061e555aa1a265abf6ae8f3f4cafe439.Splice.Api.Token.AllocationV2.AllocationSpecification[], requestedAt: damlTypes.Time, settleAt: damlTypes.Optional, availableActions: damlTypes.Map, meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata, } export declare const AllocationRequestView: damlTypes.Serializable export declare type AllocationRequest_Accept = { actors: damlTypes.Party[], extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs, } export declare const AllocationRequest_Accept: damlTypes.Serializable export declare type AllocationRequest_AcceptResult = { meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata, } export declare const AllocationRequest_AcceptResult: damlTypes.Serializable export declare type AllocationRequest_Reject = { actors: damlTypes.Party[], extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs, } export declare const AllocationRequest_Reject: damlTypes.Serializable export declare type AllocationRequest_RejectResult = { meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata, } export declare const AllocationRequest_RejectResult: damlTypes.Serializable export declare type AllocationRequest_Withdraw = { actors: damlTypes.Party[], extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs, } export declare const AllocationRequest_Withdraw: damlTypes.Serializable export declare type AllocationRequest_WithdrawResult = { meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata, } export declare const AllocationRequest_WithdrawResult: damlTypes.Serializable