/** * Catapult REST Endpoints * OpenAPI Specification of catapult-rest * * The version of the OpenAPI document: 1.0.5 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { TransactionInfoDTOTransaction } from './TransactionInfoDTOTransaction'; import type { TransactionInfoDTOMeta } from './TransactionInfoDTOMeta'; /** * Transaction record returned by transaction lookup and search endpoints. * * The same wrapper is used for confirmed, unconfirmed, and partial transaction groups. The exact * `meta` shape depends on whether the returned entry is a top-level transaction or an embedded * transaction inside an aggregate. When an aggregate transaction is retrieved by ID or hash, REST can * also expand its embedded transactions under `transaction.transactions`. * * @export * @interface TransactionInfoDTO */ export interface TransactionInfoDTO { /** * Unique identifier of the object in the node's database (MongoDB ObjectId). * Used as the `offset` parameter value for cursor-based pagination. * * @type {string} * @memberof TransactionInfoDTO */ id: string; /** * * @type {TransactionInfoDTOMeta} * @memberof TransactionInfoDTO */ meta: TransactionInfoDTOMeta; /** * * @type {TransactionInfoDTOTransaction} * @memberof TransactionInfoDTO */ transaction: TransactionInfoDTOTransaction; } /** * Check if a given object implements the TransactionInfoDTO interface. */ export declare function instanceOfTransactionInfoDTO(value: Record): value is TransactionInfoDTO; export declare function TransactionInfoDTOFromJSON(json: any): TransactionInfoDTO; export declare function TransactionInfoDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): TransactionInfoDTO; export declare function TransactionInfoDTOToJSON(json: any): TransactionInfoDTO; export declare function TransactionInfoDTOToJSONTyped(value?: TransactionInfoDTO | null, ignoreDiscriminator?: boolean): any;