/** * 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 { NetworkTypeEnum } from './NetworkTypeEnum'; import type { NamespaceRegistrationTypeEnum } from './NamespaceRegistrationTypeEnum'; /** * Embedded transaction variant of `NamespaceRegistrationTransactionDTO`. * @export * @interface EmbeddedNamespaceRegistrationTransactionDTO */ export interface EmbeddedNamespaceRegistrationTransactionDTO { /** * 256-bit public key encoded as a hexadecimal string (64 hex characters). * @type {string} * @memberof EmbeddedNamespaceRegistrationTransactionDTO */ signerPublicKey: string; /** * Entity version. Indicates the schema variant for serialization and validation. * @type {number} * @memberof EmbeddedNamespaceRegistrationTransactionDTO */ version: number; /** * Network type (mainnet or testnet). Ensures the entity targets the correct network. * @type {NetworkTypeEnum} * @memberof EmbeddedNamespaceRegistrationTransactionDTO */ network: NetworkTypeEnum; /** * Entity type identifier (e.g. transaction type code, block type). Determines the entity schema. * @type {number} * @memberof EmbeddedNamespaceRegistrationTransactionDTO */ type: number; /** * Duration expressed in number of blocks. * @type {string} * @memberof EmbeddedNamespaceRegistrationTransactionDTO */ duration?: string; /** * Unique [namespace](https://docs.symbol.dev/concepts/namespaces.html) identifier. * A 64-bit unsigned integer derived from the namespace name and its parent namespace ID, * encoded as a 16-character hexadecimal string. * * @type {string} * @memberof EmbeddedNamespaceRegistrationTransactionDTO */ parentId?: string; /** * Unique [namespace](https://docs.symbol.dev/concepts/namespaces.html) identifier. * A 64-bit unsigned integer derived from the namespace name and its parent namespace ID, * encoded as a 16-character hexadecimal string. * * @type {string} * @memberof EmbeddedNamespaceRegistrationTransactionDTO */ id: string; /** * * @type {NamespaceRegistrationTypeEnum} * @memberof EmbeddedNamespaceRegistrationTransactionDTO */ registrationType: NamespaceRegistrationTypeEnum; /** * Namespace name. * @type {string} * @memberof EmbeddedNamespaceRegistrationTransactionDTO */ name: string; } /** * Check if a given object implements the EmbeddedNamespaceRegistrationTransactionDTO interface. */ export declare function instanceOfEmbeddedNamespaceRegistrationTransactionDTO(value: Record): value is EmbeddedNamespaceRegistrationTransactionDTO; export declare function EmbeddedNamespaceRegistrationTransactionDTOFromJSON(json: any): EmbeddedNamespaceRegistrationTransactionDTO; export declare function EmbeddedNamespaceRegistrationTransactionDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): EmbeddedNamespaceRegistrationTransactionDTO; export declare function EmbeddedNamespaceRegistrationTransactionDTOToJSON(json: any): EmbeddedNamespaceRegistrationTransactionDTO; export declare function EmbeddedNamespaceRegistrationTransactionDTOToJSONTyped(value?: EmbeddedNamespaceRegistrationTransactionDTO | null, ignoreDiscriminator?: boolean): any;